google-code-export / feedparser

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

Only 1 rdf_value and content_item is returned with multiple available in feed #381

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. The feed: 

http://www.politie.nl/rss/ab/gemeenten/drenthe/aa-en-hunze.xml

2. The lines of code:

import feedparser
d = 
feedparser.parse('http://www.politie.nl/rss/ab/gemeenten/drenthe/aa-en-hunze.xml
')
for entry in d['entries']: print entry

3.

What is the expected output? 

 'content_item': {'rdf:about': u'Alinea'},
 'content_item': {'rdf:about': u'Categorie'},

And also the value of both items

'rdf_value': u'Verkeer',
'rdf_value': u'<text of the content item: Alinea>',

What do you see instead?

Only 1:
'rdf_value': u'Verkeer',
 'content_item': {'rdf:about': u'Categorie'},

What version of the product are you using?
5.1.2

On what operating system?
Tested it on mac os x snow leopard and Ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by dhe...@gmail.com on 10 Nov 2012 at 2:01