Re: RSS-Feed processing

Felix Delattre <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Message-ID <[email protected]>
Hi,

never mind. The rss source was not correctly formatted. Weird error
messages anyway :-)
Another quick question: Is there a way to format [% item.pubDate %] to
another date format?

Thanks.
Felix

On 03/04/2012 01:59 PM, Felix Delattre wrote:
> Hello,
>
> we are using template::tools on the http://debconf12.debconf.org website. I'm trying to get the feed from blog.debconf.org parsed and processed to show the entries on the front page of the conference website. I'm not very familiar with the template::tools and I'd appreciate your help a lot.
>
> After installing "libtemplate-plugin-xml-perl" I get the following errors when parsing as described in an email of this list http://mail.template-toolkit.org/pipermail/templates/2004-May/006150.html
>
> $ tpage --define rssfile=index.rss11 rss.tt
> Use of uninitialized value in string eq at /usr/share/perl5/XML/RSS.pm line 1033.
> Use of uninitialized value in string eq at /usr/share/perl5/XML/RSS.pm line 1154.
> Template::Plugin::fail() is deprecated at /usr/share/perl5/Template/Plugin/XML/RSS.pm line 40.  Please use error()
> plugin error - XML.RSS plugin failed: failed to parse index.rss11: Modification of non-creatable array value attempted, subscript -1 at /usr/share/perl5/XML/RSS.pm line 914.
>
> Thank you!
> Felix
>
>
> _______________________________________________
> templates mailing list
> [email protected]
> http://mail.template-toolkit.org/mailman/listinfo/templates
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.