]> git.wh0rd.org Git - tt-rss.git/blob - templates/generated_feed.txt
fix zoomed version
[tt-rss.git] / templates / generated_feed.txt
1 <?xml version="1.0" encoding="utf-8"?>
2 <?xml-stylesheet type="text/xsl" href="atom-to-html.xsl"?>
3 <!-- $BeginBlock feed -->
4 <feed xmlns="http://www.w3.org/2005/Atom">
5 <title>${FEED_TITLE}</title>
6 <generator uri="http://tt-rss.org/">Tiny Tiny RSS/${VERSION}</generator>
7 <updated>${ARTICLE_UPDATED_ATOM}</updated>
8 <id>${FEED_URL}</id>
9 <link href="${FEED_URL}" rel="self"/>
10 <!-- $BeginBlock feed_hub -->
11 <link href="${HUB_URL}" rel="hub"/>
12 <!-- $EndBlock feed_hub -->
13 <link href="${SELF_URL}" rel="alternate"/>
14 <!-- $BeginBlock entry -->
15 <entry>
16         <id>${ARTICLE_ID}</id>
17         <link href="${ARTICLE_LINK}" rel="alternate" type="text/html"/>
18         <title type="html">${ARTICLE_TITLE}</title>
19         <summary type="html"><![CDATA[${ARTICLE_EXCERPT}]]></summary>
20         <content type="html"><![CDATA[${ARTICLE_CONTENT}]]></content>
21         <updated>${ARTICLE_UPDATED_ATOM}</updated>
22         <author><name>${ARTICLE_AUTHOR}</name></author>
23         <source>
24                 <id>${ARTICLE_SOURCE_LINK}</id>
25                 <link rel="self" href="${ARTICLE_SOURCE_LINK}"/>
26                 <updated>${ARTICLE_UPDATED_ATOM}</updated>
27                 <title>${ARTICLE_SOURCE_TITLE}</title></source>
28 <!-- $BeginBlock category -->
29         <category term="${ARTICLE_CATEGORY}"/>
30 <!-- $EndBlock category -->
31 <!-- $BeginBlock enclosure -->
32         <link rel="enclosure" 
33                 type="${ARTICLE_ENCLOSURE_TYPE}" 
34                 length="${ARTICLE_ENCLOSURE_LENGTH}"
35                 href="${ARTICLE_ENCLOSURE_URL}"/>
36 <!-- $EndBlock enclosure -->
37 </entry>
38 <!-- $EndBlock entry -->
39 <!-- $EndBlock feed -->
40 </feed>
41 <!-- vim:ft=xml
42           -->