Closed GoogleCodeExporter closed 9 years ago
That original example wasn't the greatest. Here is a slightly better example:
Feed: http://feeds.feedburner.com/37signals_podcast
Raw data:
<itunes:keywords>37signals,podcast,Jason Fried,David Heinemeier Hansson,Matt
Linderman,web,internet,entrepreneurship,business,design,experience,Rework,Gettin
g Real,Basecamp,Highrise,Backpack,Ruby on Rails</itunes:keywords>
Feed parser:
'tags': [ { 'label': None,
'scheme': u'http://www.itunes.com/',
'term': u'37signals,podcast,Jason'},
{ 'label': None,
'scheme': u'http://www.itunes.com/',
'term': u'Fried,David'},
{ 'label': None,
'scheme': u'http://www.itunes.com/',
'term': u'Heinemeier'},
{ 'label': None,
'scheme': u'http://www.itunes.com/',
'term': u'Hansson,Matt'},
{ 'label': None,
'scheme': u'http://www.itunes.com/',
'term': u'Linderman,web,internet,entrepreneurship,business,design,experience,Rework,Getting'},
{ 'label': None,
'scheme': u'http://www.itunes.com/',
'term': u'Real,Basecamp,Highrise,Backpack,Ruby'},
{ 'label': None,
'scheme': u'http://www.itunes.com/',
'term': u'on'},
{ 'label': None,
'scheme': u'http://www.itunes.com/',
'term': u'Rails'}]
Original comment by josh.ric...@gmail.com
on 2 Dec 2011 at 7:39
Fixed in r657.
The unit tests actually indicate that splitting on whitespace was a purposeful
decision, but the whether it was a developer mistake or a change in the
specification after the code was written, feedparser is now following the spec
as it's currently written. Thanks for reporting this!
Original comment by kurtmckee
on 3 Dec 2011 at 11:11
Original issue reported on code.google.com by
josh.ric...@gmail.com
on 2 Dec 2011 at 11:39