]> git.deb.at Git - deb/hackedgotchi.git/blob - templates/rss20.xml.dj
Add my blog.
[deb/hackedgotchi.git] / templates / rss20.xml.dj
1 <?xml version="1.0"?>
2 <rss version="2.0">
3
4 <channel>
5         <title>{{ name }}</title>
6         <link>{{ link }}</link>
7         <language>en</language>
8         <description>{{ name }} - {{ link }}</description>
9
10 {% for item in Items %}
11 <item>
12         <title>{{ item.channel_name }}{% if item.title %}: {{ item.title_plain }}{% endif %}</title>
13         <guid>{{ item.id }}</guid>
14         <link>{{ item.link }}</link>
15     {% if item.content %} <description> {% if item.channel_face %} &lt;img src=&quot;http://planet.debian.org/heads/{{ item.channel_face }}&quot; width=&quot;{{ item.channel_facewidth }}&quot; height=&quot;{{ item.channel_faceheight }}&quot; alt=&quot;&quot; align=&quot;right&quot; style=&quot;float: right;&quot;&gt; {% endif %} {{ item.content }} </description> {% endif %}
16         <pubDate>{{ item.date_822 }}</pubDate>
17 {% if item.author_email %} {% if item.author_name %} <author>{{ item.author_email }} ({{ item.author_name }})</author> {% else %} <author>{{ item.author_email }}</author> {% endif %} {% endif %}
18 </item> {% endfor %}
19 </channel>
20 </rss>