ttrss/templates/generated_feed.txt

42 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $BeginBlock feed -->
<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_ATOM}</updated>
<id>${FEED_URL}</id>
<link href="${FEED_URL}" rel="self"/>
<!-- $BeginBlock feed_hub -->
<link href="${HUB_URL}" rel="hub"/>
<!-- $EndBlock feed_hub -->
<link href="${SELF_URL}" rel="alternate"/>
<!-- $BeginBlock entry -->
<entry>
<id>${ARTICLE_ID}</id>
<link href="${ARTICLE_LINK}" rel="alternate" type="text/html"/>
<title type="html">${ARTICLE_TITLE}</title>
<summary type="html"><![CDATA[${ARTICLE_EXCERPT}]]></summary>
<content type="html"><![CDATA[${ARTICLE_CONTENT}]]></content>
<updated>${ARTICLE_UPDATED_ATOM}</updated>
<author><name>${ARTICLE_AUTHOR}</name></author>
<source>
<id>${ARTICLE_SOURCE_LINK}</id>
<link rel="self" href="${ARTICLE_SOURCE_LINK}"/>
<updated>${ARTICLE_UPDATED_ATOM}</updated>
<title>${ARTICLE_SOURCE_TITLE}</title></source>
<!-- $BeginBlock category -->
<category term="${ARTICLE_CATEGORY}"/>
<!-- $EndBlock category -->
<!-- $BeginBlock enclosure -->
<link rel="enclosure"
type="${ARTICLE_ENCLOSURE_TYPE}"
length="${ARTICLE_ENCLOSURE_LENGTH}"
href="${ARTICLE_ENCLOSURE_URL}"/>
<!-- $EndBlock enclosure -->
</entry>
<!-- $EndBlock entry -->
<!-- $EndBlock feed -->
</feed>
<!-- vim:ft=xml
-->