mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 23:30:35 -04:00
Add XSLT stylesheet for RSS feed
This commit is contained in:
parent
30a3dd053f
commit
a3d823dd5a
5 changed files with 60 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue