1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 00:35:58 +00:00

add XSL stylesheet to generated feeds

This commit is contained in:
Andrew Dolgov
2007-08-10 06:22:04 +01:00
parent f56e308090
commit a5472764c9
8 changed files with 336 additions and 2 deletions

View File

@@ -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>