]> git.deb.at Git - deb/hackedgotchi.git/blob - templates/rss10.xml.dj
Add my blog.
[deb/hackedgotchi.git] / templates / rss10.xml.dj
1 <?xml version="1.0"?>
2 <rdf:RDF
3         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
4         xmlns:dc="http://purl.org/dc/elements/1.1/"
5         xmlns:foaf="http://xmlns.com/foaf/0.1/"
6         xmlns:content="http://purl.org/rss/1.0/modules/content/"
7         xmlns="http://purl.org/rss/1.0/"
8 >
9 <channel rdf:about="{{ link }}">
10         <title>{{ name }}</title>
11         <link>{{ link }}</link>
12         <description>{{ name }} - {{ link }}</description>
13
14         <items>
15                 <rdf:Seq> {% for item in Items %}
16                   <rdf:li rdf:resource="{{ item.id }}"/>{% endfor %}
17                 </rdf:Seq>
18         </items>
19 </channel>
20
21 {% for item in Items %}
22 <item rdf:about="{{ item.id }}">
23         <title>{{ item.channel_name }}{% if item.title %}: {{ item.title_plain }}{% endif %}</title>
24         <link>{{ item.link }}</link>
25     {% if item.content %} <content:encoded>{{ item.content }}</content:encoded> {% endif %}
26         <dc:date>{{ item.date_iso }}</dc:date>
27         <dc:creator>{% firstof item.author_name item.channel_author_name item.channel_name %}</dc:creator>
28 </item> {% endfor %}
29
30 </rdf:RDF>