changed .shtml to .html
[nyc.indymedia.org.git] / etc / producer / RSS.template
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <rdf:RDF
4   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
5   xmlns="http://purl.org/rss/1.0/"
6   xmlns:dc="http://purl.org/dc/elements/1.1/"
7   xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
8 >
9
10   <channel rdf:about="${utility.encodeXML(channelidentifier)}">
11     <title>${utility.encodeXML(channeltitle)}</title>
12     <link>${utility.encodeXML(channelidentifier)}</link>
13     <description>${utility.encodeXML(channeldescription)}</description>
14     <dc:publisher>${utility.encodeXML(channelpublisher)}</dc:publisher>
15     <dc:rights>Open Content License, http://www.opencontent.org</dc:rights>
16     <dc:date>${config.now.formatted.dc}</dc:date>
17     <items>
18       <rdf:Seq>
19         <list articles as i>    
20           <rdf:li rdf:resource="${articleprefix}/${i.date.formatted["yyyy"]}/${i.date.formatted["MM"]}/${i.id}.html" />
21         </list>
22       </rdf:Seq>
23     </items>
24   </channel>
25
26   <list articles as i>          
27     <item rdf:about="${articleprefix}/${i.date.formatted["yyyy"]}/${i.date.formatted["MM"]}/${i.id}.html">
28         <title>${i.title}</title>
29         <link>${articleprefix}/${i.date.formatted["yyyy"]}/${i.date.formatted["MM"]}/${i.id}.html</link>    
30       <dc:date>${i.creationdate.formatted["yyyy-MM-dd'T'HH:mm'-07:00'"]}</dc:date>
31     </item>
32   </list>
33   
34 </rdf:RDF>
35
36