[Comoblog-commit] modules/mod_rss2/templates/c1.0 rss2.tpl.xml,NONE,1.1
Status: Inactive
Brought to you by:
markwallis
|
From: iamdecal <iam...@us...> - 2005-11-28 11:05:50
|
Update of /cvsroot/comoblog/modules/mod_rss2/templates/c1.0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18402/mod_rss2/templates/c1.0 Added Files: rss2.tpl.xml Log Message: initial add NOT FOR RELEASE - WORK IN PROGRESS mod_rss2, this is an improved RSS feed mod that also provides a feed for comments as they are posted, it also adds a list of the latest comments to the side bar, to do the latest comments list should be seperate, however if we do that as another module there will be code replicated... i think the lastest comments code should be moved to the core code base, so that it van be used to generate a list for both the lastest comments module and the rss2 module. RSS templates need valdiating - is it worth adding support for ATOM etc? also links to blog lines, newgator my yahoo and the rest. --- NEW FILE: rss2.tpl.xml --- <!-- BEGIN: main --><?xml version="1.0" encoding="iso-8859-1"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/"> <channel rdf:about="http://www.xml.com/xml/news.rss"> <title>{BLOG.title}</title> <link>{BLOG.link}</link> <description>{BLOG.description}</description> <image rdf:resource="{BLOG.logo}" /> <items> <rdf:Seq> <!-- BEGIN: item --> <rdf:li resource="{POST.post_permalink}" /> <!-- END: item --> </rdf:Seq> </items> </channel> <image rdf:about="{BLOG.logo}"> <title>{BLOG.description}</title> <link>{BLOG.link}</link> <url>{BLOG.logo}</url> </image> <!-- BEGIN: post --> <item rdf:about="{POST.post_permalink}"> <title>{POST.post_mail_subject}</title> <link>{POST.post_permalink}</link> <description>{POST.post_mail_body} </description> </item> <!-- END: post --> </rdf:RDF> <!-- END: main --> |