Brian Sullivan wrote:
Is there a move afoot or is there an existing mod to COREBlog to support RSS V2?

If you want to have a RSS 2 feed in your blog, you can create a DTML Method inside your COREBlog with this content:


<dtml-call "RESPONSE.setHeader('content-type', 'text/xml; charset=ISO-8859-1')"><?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/";>
<channel>
<title><dtml-var title></title>
<link><dtml-var blogurl></link>
<description><dtml-var blog_description></description>
<dtml-in "rev_day_entry_items(count=top_days)">
<item>
<title><dtml-var title></title>
<link><dtml-var blogurl>/<dtml-var id></link>
<description><dtml-var excerpt></description>
<dtml-in entry_category_list>
<category><dtml-var name></category>
</dtml-in>
<comments><dtml-var blogurl>/<dtml-var id>#comments</comments>
<dc:creator><dtml-var author html_quote></dc:creator>
<dc:date><dtml-var "date_created().toZone('UTC').strftime('%Y-%m-%dT%H:%M:%SZ')"></dc:date>
</item>
</dtml-in>
</channel>
</rss>


Regards,



--
Mikel Larreategi
[EMAIL PROTECTED]

CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80
_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]

Reply via email to