Add XSLT stylesheet for RSS feed

This commit is contained in:
Alex Cabal 2022-06-19 21:11:43 -05:00
parent 30a3dd053f
commit a3d823dd5a
5 changed files with 60 additions and 6 deletions

View file

@ -35,7 +35,7 @@ krsort($sortedContentFiles);
$sortedContentFiles = array_slice($sortedContentFiles, 0, $rssLength);
print("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
print("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<?xml-stylesheet href=\"/rss/style\" type=\"application/xslt+xml\"?>\n");
?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>