rss generation
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
|
||||
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>{{title}}</title>
|
||||
<atom:link href="{{feedurl}}" rel="self" type="application/rss+xml" />
|
||||
<link>{{padurl}}</link>
|
||||
<description>{{description}}</description>
|
||||
<lastBuildDate>{{utcnow}}</lastBuildDate>
|
||||
<language>{{language}}</language>
|
||||
<sy:updatePeriod>{{updatePeriod}}</sy:updatePeriod>
|
||||
<sy:updateFrequency>{{updateFrequency}}</sy:updateFrequency>
|
||||
<generator>{{generator}}</generator>
|
||||
|
||||
{% for p in pads %}
|
||||
<item>
|
||||
<title>{{p.pad}}</title>
|
||||
<link>{{p.versions[0].url}}</link>
|
||||
<pubDate>{{p.lastedited_822}}</pubDate>
|
||||
<dc:creator><![CDATA[-]]></dc:creator>
|
||||
<category><![CDATA[-]]></category>
|
||||
<guid isPermaLink="false">{{p.versions[0].url}}</guid>
|
||||
<description><![CDATA[{{p.description}}]]></description>
|
||||
<content:encoded><![CDATA[{{p.content}}]]></content:encoded>
|
||||
</item>
|
||||
{% endfor %}
|
||||
|
||||
</channel>
|
||||
Reference in New Issue
Block a user