summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-10 06:22:04 +0100
committerAndrew Dolgov <[email protected]>2007-08-10 06:22:04 +0100
commita5472764c9bcd3eda58540e2cc97c5a42bb1bc1c (patch)
tree74c6ae7c9e33585f69c34854664d7631bbdbd945 /functions.php
parentf56e308090f460d97dbe834ad88754231c3459e9 (diff)
add XSL stylesheet to generated feeds
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
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>