[pLog-svn] r1039 - plog/trunk/templates/summary/rss
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Fri Feb 11 08:58:11 GMT 2005
Author: oscar
Date: 2005-02-11 08:58:11 +0000 (Fri, 11 Feb 2005)
New Revision: 1039
Added:
plog/trunk/templates/summary/rss/xml.template
Log:
this file was missing (issue 236 solved -- http://bugs.plogworld.net/view.php?id=236 thanks pest! :))
Added: plog/trunk/templates/summary/rss/xml.template
===================================================================
--- plog/trunk/templates/summary/rss/xml.template 2005-02-11 08:51:52 UTC (rev 1038)
+++ plog/trunk/templates/summary/rss/xml.template 2005-02-11 08:58:11 UTC (rev 1039)
@@ -0,0 +1,22 @@
+{assign var=blog value=$posts[0]->getBlogInfo()}
+{assign var=url value=$blog->getBlogRequestGenerator()}
+<?xml version="1.0" encoding="{$locale->getCharset()}"?>
+<xmlsrc>
+ <title>Your site title</title>
+ <link>http://link.to.your.site</link>
+ <description>Put here your own description</description>
+ {foreach from=$posts item=post}
+ {assign var=blog value=$post->getBlogInfo()}
+ {assign var=url value=$blog->getBlogRequestGenerator()}
+ <article>
+ <blog>
+ <title>{$blog->getBlog()|escape}</title>
+ <link>{$url->blogLink()}</link>
+ <description>Put here your own description</description>
+ </blog>
+ <topic>{$post->getTopic()|escape}</topic>
+ <text>{$post->getText()|escape}</text>
+ <url>{$url->postPermalink($post)}</url>
+ </article>
+ {/foreach}
+</xmlsrc>
\ No newline at end of file
More information about the pLog-svn
mailing list