All items in feeds marked as hidden

David Pashley david at davidpashley.com
Wed Jul 5 21:11:35 EST 2006


On Jul 05, 2006 at 12:01, Jeff Waugh praised the llamas by saying:
> <quote who="Frédéric Crozat">
> 
> > one of the major newspaper in France (Libération) just changed their
> > website and their RSS feeds no longer works with Planet (but still works
> > with other RSS readers, such as Netvibes).
> > 
> > If I use one of the following streams, the initial load will mark all feed
> > items as (hidden) and with 2006-07-01T01:00:00+00:00 as date instead of
> > the pubDate for each item. Running planet several times doesn't fix the
> > issue :(
> 
> Planet doesn't handle astoundingly bad pubDates very well (feedparser could
> do it, but I imagine it would require another module or a heap of new code
> to do "forgiving" date parsing). You should contact them about their broken
> feeds:
> 
>   http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.liberation.fr%2Finteractif%2Frss%2Factualites%2F
> 
Recent versions of Feedparser have pluggable date detection support, so
you could add some code to support their date. It looks like it should
be fairly easy to parse.

http://www.feedparser.org/docs/date-parsing.html

-- 
David Pashley
david at davidpashley.com
Nihil curo de ista tua stulta superstitione.


More information about the devel mailing list