New RSS feed in Squishdot site
This is the DTML (Zope markup language) we use at our place to exend
the RSS feed;
<rss version="2.0" dc="http://purl.org/dc/elements/1.1/">
<channel>
<title><dtml-var></title>
<link><dtml-var></link>
<description><dtml-var></description>
<language>en-us</language>
<dtml-if>
<image>
<title><dtml-var></title>
<url><dtml-var>/<dtml-var></url>
<link><dtml-var></link>
</image>
</dtml-if>
<dtml-in sort="date" size="100">
<dtml-with>
<item>
<title>
<dtml-var>
</title>
<link>
<dtml-var><dtml-var>/<dtml-var>
</link>
<description>
<dtml-if meta_type ="="">
(New Reply)
<dtml-else>
(New Topic)<br>
</dtml-if meta_type>
<dtml-if meta_type ="="">
<dtml-var><br>
<dtml-else>
<dtml-var><br>
</dtml-if meta_type>
</description>
<dc:creator><dtml-var></dc:creator>
<dc:date><dtml-var></dc:date>
</item>
</dtml-with>
</dtml-in>
</channel>
</rss>
0 Comments:
Post a Comment
<< Home