jsumners / jsumners/feedparser
RDF channel image not parsed and returned
Open
Nobody has claimed this yet.
auto-migrated
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
What steps will reproduce the problem?
1. Attempt to parse slashdot's feed: http://rss.slashdot.org/Slashdot/slashdot
What is the expected output? What do you see instead?
This feed has two image elements. The second of these elements contains a <url>
element - however feedparser seems to give only the contents of the first - so
the parsed output has no feed.image.url value. Is it possible to return the
<url> value from the second <image> element?
Original issue reported on code.google.com by seane...@gmail.com on 17 Sep 2012 at 1:43
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the Slashdot feed at http://rss.slashdot.org/Slashdot/slashdot and inspect how RDF channel image elements are parsed. Compare the two image elements and trace why feed.image.url contains only the first result. Done means the parsed output returns the expected URL from the second image element.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100