Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to parse element with mixed content - YaleFeed #38

Closed
mmcdole opened this issue Apr 18, 2016 · 3 comments
Closed

Failed to parse element with mixed content - YaleFeed #38

mmcdole opened this issue Apr 18, 2016 · 3 comments
Labels

Comments

@mmcdole
Copy link
Owner

mmcdole commented Apr 18, 2016

Failed to parse the following feed:
http://feeds.feedburner.com/YalePressPodcastITunes

@mmcdole mmcdole added the bug label Apr 18, 2016
@mmcdole
Copy link
Owner Author

mmcdole commented Apr 19, 2016

This is the offending item:

<item>
<title>Yale Press Podcast: Episode 12</title>
<itunes:author>Yale University Press</itunes:author>
<itunes:duration>31:04</itunes:duration>
<itunes:keywords>Yale University Press, Author Interviews, Chris Gondek </itunes:keywords>
<itunes:explicit>No</itunes:explicit>
<itunes:subtitle>Host Chris Gondek interviews the authors of Yale University Press.</itunes:subtitle>
<link>http://feedproxy.google.com/~r/YalePressPodcastITunes/~3/0hlCFUHm-eo/Yup_episode_12.m4b</link>
<description>Chris Gondek interviews 1) Victoria Clark, author of Allies for Armageddon: The Rise of Christian Zionism and 2) Daniel Solove, the author of The Future of Reputation: Gossip, Rumor and Privacy on the Internet.&lt;img src="http://feeds.feedburner.com/~r/YalePressPodcastITunes/~4/0hlCFUHm-eo" height="1" width="1" alt=""/&gt;</description>
<a href="http://odeo.com/claim/feed/4333e0e397746fe3">My Odeo Channel</a> (odeo/4333e0e397746fe3)
<itunes:pubDate>Mon, 21 Jan 2008 06:00:00 PDT</itunes:pubDate>
<pubDate> Mon, 21 Jan 2008 06:00:00 PDT</pubDate>

<media:content url="http://feedproxy.google.com/~r/YalePressPodcastITunes/~5/JWB6W-hWEPs/yup_episode_12.m4b" fileSize="27615994" type="audio/x-m4a" /><feedburner:origLink>http://yalepress.yale.edu/yupbooks/podcast/Yup_episode_12.m4b</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/YalePressPodcastITunes/~5/JWB6W-hWEPs/yup_episode_12.m4b" length="27615994" type="audio/x-m4a" /><feedburner:origEnclosureLink>http://yalepress.yale.edu/yupbooks/podcast/yup_episode_12.m4b</feedburner:origEnclosureLink></item>

Note the stray:

<a href="http://odeo.com/claim/feed/4333e0e397746fe3">My Odeo Channel</a> (odeo/4333e0e397746fe3)

Parser chokes on the text: (odeo/4333e0e397746fe3) when it is expecting the end tag for item. Need to think on this.

@mmcdole
Copy link
Owner Author

mmcdole commented Apr 19, 2016

This should be addressed with PR #44. I now skip any tokens that aren't Start/EndTag or EndDocument in my NextTag method.

@mmcdole mmcdole changed the title Failed to parse Yale feed Failed to parse element with mixed content - YaleFeed Apr 20, 2016
@mmcdole
Copy link
Owner Author

mmcdole commented Dec 18, 2016

This has been taken care of and I've added "Mixed Content" tests

@mmcdole mmcdole closed this as completed Dec 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant