mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-05 21:57:24 +02:00
The last article's 'updated' value was not a good indicator of when the feed updated for various reasons, so we'll just use the current timestamp to represent the dynamic nature of the content.
42 lines
1.4 KiB
XML
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>${FEED_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 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
|
|
-->
|