Codice PHP:
<?php
$_SERVER['REQUEST_URI'] = '/';
ob_start();
include('./wp-rss2.php');
$xml = ob_get_clean();
header('Content-Type: text/html; charset=' . get_option('blog_charset'), true);
echo($xml);
?>
Codice PHP:
<?php
$_SERVER['REQUEST_URI'] = '/';
ob_start();
include('./wp-rss2.php');
$xml = ob_get_clean();
header('Content-Type: text/html; charset=' . get_option('blog_charset'), true);
echo($xml);
?>