[pLog-svn] r6818 - plog/branches/lifetype-1.2/templates/rss

endless enigma endless_enigma at mail.ru
Sat Feb 21 12:45:14 EST 2009


nice that one was also on my todo.
Where do you validate the feeds?

On Sat, 21 Feb 2009 17:43:25 +0100, <jondaley at devel.lifetype.net> wrote:

> Author: jondaley
> Date: 2009-02-21 11:43:25 -0500 (Sat, 21 Feb 2009)
> New Revision: 6818
>
> Modified:
>    plog/branches/lifetype-1.2/templates/rss/rss20.template
> Log:
> we can't have a valid self link, since the RSS feed might contain a  
> category parameter, and we can't get that link from within the template
>
> Modified: plog/branches/lifetype-1.2/templates/rss/rss20.template
> ===================================================================
> --- plog/branches/lifetype-1.2/templates/rss/rss20.template	2009-02-21  
> 16:43:03 UTC (rev 6817)
> +++ plog/branches/lifetype-1.2/templates/rss/rss20.template	2009-02-21  
> 16:43:25 UTC (rev 6818)
> @@ -11,7 +11,6 @@
>    <description>{$blog->getAbout()|strip_tags}</description>
>    <pubDate>{$locale->formatDateAsRFC822($now)}</pubDate>
>    <generator>http://www.lifetype.net</generator>
> -  <atom:link href="{$url->rssLink("rss20")}" rel="self"  
> type="application/rss+xml" />
>    {foreach from=$posts item=post}
>    <item>
>     <title>{$post->getTopic()|escape}</title>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/




More information about the pLog-svn mailing list