Universal Feed Parser issue

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Apr 10 21:45:13 EDT 2007


En Tue, 10 Apr 2007 14:58:42 -0300, i3dmaster <i3dmaster at gmail.com>  
escribió:

> I have a sample Atom feed like this:
>
> <?xml version='1.0' encoding='utf-8'?>
> <feed xmlns='http://www.w3.org/2005/Atom' xmlns:foo='http://
> app.example.com/app/2007'> ...
>   <foo:timezone value='America/Mountain'></foo:timezone>
>   <foo:status value='confirmed'></foo:status>
> </feed>
>
> After parsed by feedparser, the timezone element does not get the
> attribute "America/Mountain". Same thing on status element. This does
> not sound an expected result.  I am wondering if it should be
> considered a bug...

Usually it's a good idea to read the documentation...  
http://www.feedparser.org/docs/namespace-handling.html

-- 
Gabriel Genellina




More information about the Python-list mailing list