[pLog-svn] r2023 - plog/branches/plog-1.0.1/templates/rss
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Thu May 19 22:25:50 GMT 2005
Author: oscar
Date: 2005-05-19 22:25:49 +0000 (Thu, 19 May 2005)
New Revision: 2023
Modified:
plog/branches/plog-1.0.1/templates/rss/rss090.template
plog/branches/plog-1.0.1/templates/rss/rss20.template
Log:
fixed issue 510 (http://bugs.plogworld.net/view.php?id=510) -- dates in (some of) the rss feeds should be in english, and not localized (the rss client will take care of the localization)
Modified: plog/branches/plog-1.0.1/templates/rss/rss090.template
===================================================================
--- plog/branches/plog-1.0.1/templates/rss/rss090.template 2005-05-19 18:14:03 UTC (rev 2022)
+++ plog/branches/plog-1.0.1/templates/rss/rss090.template 2005-05-19 22:25:49 UTC (rev 2023)
@@ -4,6 +4,7 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/"
>
+{$locale->setLocale("en_UK")}
<channel>
<title>{$blog->getBlog()|escape}</title>
<link>{$url->blogLink()}</link>
Modified: plog/branches/plog-1.0.1/templates/rss/rss20.template
===================================================================
--- plog/branches/plog-1.0.1/templates/rss/rss20.template 2005-05-19 18:14:03 UTC (rev 2022)
+++ plog/branches/plog-1.0.1/templates/rss/rss20.template 2005-05-19 22:25:49 UTC (rev 2023)
@@ -3,7 +3,8 @@
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
->
+>
+{$locale->setLocale("en_UK")}
<channel>
<title>{$blog->getBlog()|escape}</title>
<link>{$url->blogLink()}</link>
@@ -26,7 +27,8 @@
{/foreach}
{assign var="postDate" value=$post->getDateObject()}
<pubDate>{$locale->formatDate($postDate, "%a, %d %b %Y %H:%M:%S")}</pubDate>
- <source url="{$url->rssLink("rss20")}">{$blog->getBlog()|escape}</source>
+ <source url="{$url->rssLink("rss20")}">{$blog->getBlog()|escape}</source>
+ {$post->getPostResources()}
</item>
{/foreach}
</channel>
More information about the pLog-svn
mailing list