[pLog-svn] r2023 - plog/branches/plog-1.0.1/templates/rss

Oscar Renalias phunkphorce at gmail.com
Fri May 20 06:54:54 GMT 2005


sorry, my bad... I had been playing with native RSS 2.0 enclosures and
I forgot something in there (removed for now, but enclosures are still
coming)

Oscar

On 5/20/05, Paul Westbrook <paul at westbrooks.org> wrote:
> Hello,
>     In my tree, the Article class doesn't have a getPostResources method.
> 
> --Paul
> 
> 
> On May 19, 2005, at 3:25 PM, oscar at devel.plogworld.net wrote:
> 
> > 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>
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.plogworld.net
> > http://devel.plogworld.net/mailman/listinfo/plog-svn
> >
> >
> --
> Paul Westbrook
> paul at westbrooks.org
> <http://www.westbrooks.org>
> 
>



More information about the pLog-svn mailing list