libo26 / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

support musicbrainz namespace #287

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
<code>
import feedparser
bookmarks = 
feedparser.parse("http://feeds.pandora.com/feeds/people/sethreeder/favorites.xml
")
bookmarks.entries[0].mm_track
</code>

What is the expected output? What do you see instead?
I expect the dictionary {'dc_title' : u'Eric Whitacre', 'mm_tracknum' : u'14'}

What version of the product are you using? On what operating system?
feedparser 5.0.1 on Cygwin 2.738 on Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by sethree...@gmail.com on 18 Jun 2011 at 2:16

GoogleCodeExporter commented 9 years ago
I think this will require musicbrainz-specific code, and I'm not going to add 
that to feedparser. All is not lost, however: when I have time it's my 
intention to make it easier for developers to add their own custom namespace 
support.

Original comment by kurtmckee on 18 Jun 2011 at 10:09

GoogleCodeExporter commented 9 years ago
I don't think it's musicbrainz specific, it's just parsing elements with one 
namespace within elements of another namespace.

Original comment by sethree...@gmail.com on 18 Jun 2011 at 1:55