1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00
ttrss_ynh/source/templates/generated_feed.txt
2013-11-24 11:03:28 +01:00

40 lines
1.3 KiB
XML

<?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>
<source>
<link rel="self" href="${ARTICLE_SOURCE_LINK}"/>
<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
-->