You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tt-rss/templates/generated_feed.txt

38 lines
1.2 KiB
Plaintext

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="atom-to-html.xsl"?>
<!-- $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>${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>
<!-- $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
-->