dapal
[deb/hackedgotchi.git] / templates / foafroll.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:rdfs="http://www.w3.org/2000/01/rdf-schema#"
5         xmlns:foaf="http://xmlns.com/foaf/0.1/"
6         xmlns:rss="http://purl.org/rss/1.0/"
7         xmlns:dc="http://purl.org/dc/elements/1.1/"
8 >
9 <foaf:Group>
10         <foaf:name>{{ name }}</foaf:name>
11         <foaf:homepage>{{ link }}</foaf:homepage>
12         <rdfs:seeAlso rdf:resource="{{ url }}" />
13
14 {% for channel in Channels %}
15         <foaf:member>
16                 <foaf:Agent>
17                         <foaf:name>{{ channel.name }}</foaf:name>
18                         <foaf:weblog>
19                                 <foaf:Document rdf:about="{{ channel.link }}">
20                                         <dc:title>{{ channel.title_plain }}</dc:title>
21                                         <rdfs:seeAlso>
22                                                 <rss:channel rdf:about="{{ channel.url }}" />
23                                         </rdfs:seeAlso>
24                                 </foaf:Document>
25                         </foaf:weblog>
26                 </foaf:Agent>
27         </foaf:member>
28 {% endfor %}
29
30 </foaf:Group>
31 </rdf:RDF>