root/trunk/plagger/assets/plugins/Publish-FOAFRoll/foafroll.tt

Revision 1173 (checked in by miyagawa, 2 years ago)

Merge from refactoring-planet. YAY!

Line 
1 <?xml version="1.0" encoding="utf-8"?>
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 <foaf:Group>
9   <foaf:name>[% (conf.title || 'Plagger foafroll') | html %]</foaf:name>
10 [% IF conf.link -%]
11   <foaf:homepage>[% conf.link | html %]</foaf:homepage>
12 [% END -%]
13 [% IF conf.url -%]
14   <rdfs:seeAlso rdf:resource="[% conf.url | html %]" />
15 [% END -%]
16 [% FOREACH feed = feeds -%]
17     <foaf:member>
18       <foaf:Person>
19         <foaf:name>[% feed.primary_author | html %]</foaf:name>
20         <foaf:weblog>
21           <foaf:Document rdf:about="[% feed.link | html %]">
22           <dc:title>[% feed.title | html %]</dc:title>
23           <rdfs:seeAlso>
24             <rss:channel rdf:about="[% feed.url | html %]" />
25             </rdfs:seeAlso>
26           </foaf:Document>
27         </foaf:weblog>
28       </foaf:Person>
29     </foaf:member>
30 [% END %]
31   </foaf:Group>
32 </rdf:RDF>
33
34
35
Note: See TracBrowser for help on using the browser.