[pLog-svn] r6997 - plog/branches/lifetype-1.2/templates/rss
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed May 5 14:46:42 EDT 2010
Author: jondaley
Date: 2010-05-05 14:46:42 -0400 (Wed, 05 May 2010)
New Revision: 6997
Modified:
plog/branches/lifetype-1.2/templates/rss/atom.template
plog/branches/lifetype-1.2/templates/rss/rss20.template
Log:
validation issues
Modified: plog/branches/lifetype-1.2/templates/rss/atom.template
===================================================================
--- plog/branches/lifetype-1.2/templates/rss/atom.template 2010-05-05 03:56:07 UTC (rev 6996)
+++ plog/branches/lifetype-1.2/templates/rss/atom.template 2010-05-05 18:46:42 UTC (rev 6997)
@@ -4,6 +4,7 @@
xml:lang="{$locale->getLanguageId()|lower}">
<title>{$blog->getBlog()|escape}</title>
<link rel="alternate" type="text/html" href="{$url->blogLink()}" />
+<link href="{$url->rssLink("atom")}" rel="self" type="application/rss+xml" />
{if $posts}
{assign var="newestDate" value=$posts[0]->getDateObject()}
<updated>{$locale->formatDate($newestDate, "%Y-%m-%dT%H:%M:%S%G", $blog)}</updated>
Modified: plog/branches/lifetype-1.2/templates/rss/rss20.template
===================================================================
--- plog/branches/lifetype-1.2/templates/rss/rss20.template 2010-05-05 03:56:07 UTC (rev 6996)
+++ plog/branches/lifetype-1.2/templates/rss/rss20.template 2010-05-05 18:46:42 UTC (rev 6997)
@@ -6,11 +6,12 @@
xmlns:atom="http://www.w3.org/2005/Atom"
>
<channel>
+ <atom:link href="{$url->rssLink("rss20")}" rel="self" type="application/rss+xml" />
<title>{$blog->getBlog()|escape}</title>
<link>{$url->blogLink()}</link>
<description>{$blog->getAbout()|strip_tags}</description>
<pubDate>{$locale->formatDateAsRFC822($now)}</pubDate>
- <generator>http://www.lifetype.net</generator>
+ <generator>http://lifetype.net</generator>
{foreach from=$posts item=post}
<item>
<title>{$post->getTopic()|escape}</title>
More information about the pLog-svn
mailing list