Continue improving serving and display of RSS/OPDS

This commit is contained in:
Alex Cabal 2022-06-20 11:31:58 -05:00
parent 06787c5f57
commit 37830e173f
5 changed files with 29 additions and 13 deletions

View file

@ -35,7 +35,8 @@ krsort($sortedContentFiles);
$sortedContentFiles = array_slice($sortedContentFiles, 0, $rssLength);
print("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<?xml-stylesheet href=\"/rss/style\" type=\"application/xslt+xml\"?>\n");
// XSL stylesheet mime type must be `text/xsl` otherwise Chrome doesn't read it
print("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<?xml-stylesheet href=\"/rss/style\" type=\"text/xsl\"?>\n");
?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>