summaryrefslogtreecommitdiff
path: root/templates/generated_feed.txt
blob: dff67cf7e0e20d19bcab6c0eccefea670c9736b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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}</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}</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
	  -->