rss feed from files
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<channel>
|
||||
<title>{{title}}</title>
|
||||
<atom:link href="{{feedurl}}" rel="self" type="application/rss+xml" />
|
||||
<link>{{padurl}}</link>
|
||||
<link>{{siteurl}}</link>
|
||||
<description>{{description}}</description>
|
||||
<lastBuildDate>{{utcnow}}</lastBuildDate>
|
||||
<language>{{language}}</language>
|
||||
@@ -21,14 +21,13 @@
|
||||
{% for p in pads %}
|
||||
<item>
|
||||
<title>{{p.pad}}</title>
|
||||
<link>{{p.versions[0].url}}</link>
|
||||
<link>{{p.link}}</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>
|
||||
<guid isPermaLink="false">{{p.link}}</guid>
|
||||
<description><![CDATA[{{p.text|excerpt(100)}}]]></description>
|
||||
{% if content %}<content:encoded><![CDATA[{{p.text}}]]></content:encoded>{% endif %}
|
||||
</item>
|
||||
{% endfor %}
|
||||
|
||||
</channel>
|
||||
</channel>
|
||||
</rss>
|
||||
|
||||
Reference in New Issue
Block a user