1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 16:15:55 +00:00

make generated_feed parameters optional, add specific date type for RSS feeds

This commit is contained in:
Andrew Dolgov
2012-02-27 14:39:15 +04:00
parent 2ab20c313c
commit 9c97041d55
2 changed files with 22 additions and 18 deletions

View File

@@ -4,7 +4,7 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<title>${FEED_TITLE}</title>
<generator uri="http://tt-rss.org/">Tiny Tiny RSS/${VERSION}</generator>
<updated>${ARTICLE_UPDATED}</updated>
<updated>${ARTICLE_UPDATED_ATOM}</updated>
<id>${FEED_URL}</id>
<link href="${FEED_URL}" rel="self"/>
<!-- $BeginBlock feed_hub -->
@@ -18,7 +18,7 @@
<title>${ARTICLE_TITLE}</title>
<summary type="html"><![CDATA[${ARTICLE_EXCERPT}]]></summary>
<content type="html"><![CDATA[${ARTICLE_CONTENT}]]></content>
<updated>${ARTICLE_UPDATED}</updated>
<updated>${ARTICLE_UPDATED_ATOM}</updated>
<author><name>${ARTICLE_AUTHOR}</name></author>
<!-- $BeginBlock category -->
<category term="${ARTICLE_CATEGORY}"/>