Debian Codegraph @

sites/www/_templates/rss.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3 <channel>
4 <atom:link href="{{ atom }}" rel="self" type="application/rss+xml" />
5 <title>{{ title }}</title>
6 <link>{{ link }}</link>
7 <description>{{ description }}</description>
8 <pubDate>{{ date }}</pubDate>
9 {% for link, title, desc, date in posts %}
10 <item>
11 <link>{{ link }}</link>
12 <guid>{{ link }}</guid>
13 <title><![CDATA[{{ title }}]]></title>
14 <description><![CDATA[{{ desc }}]]></description>
15 <pubDate>{{ date }}</pubDate>
16 </item>
17 {% endfor %}
18 </channel>
19 </rss>