diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/functions.php b/functions.php index 7a9591535..eb14f52e5 100644 --- a/functions.php +++ b/functions.php @@ -2722,9 +2722,11 @@ $feed_site_url = $qfh_ret[2]; $last_error = $qfh_ret[3]; -# if (!$feed_site_url) $feed_site_url = "http://localhost/"; +// if (!$feed_site_url) $feed_site_url = "http://localhost/"; - print "<rss version=\"2.0\"> + print "<?xml version=\"1.0\" encoding=\"utf-8\"?> + <?xml-stylesheet type=\"text/xsl\" href=\"rss.xsl\"?> + <rss version=\"2.0\"> <channel> <title>$feed_title</title> <link>$feed_site_url</link> |