mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 23:30:35 -04:00
Continue improving serving and display of RSS/OPDS
This commit is contained in:
parent
06787c5f57
commit
37830e173f
5 changed files with 29 additions and 13 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue