Skip to content

Text child of "author" element not parsed #32

Closed
michaelrhanson opened this Issue Oct 25, 2012 · 1 comment

2 participants

@michaelrhanson

When I load a feed that contains bare text content in an author subelement of an item, the author property of the resulting article is null.

I believe this is because, at main.js#858, only name, email, and uri child elements of the author element are loaded. This is correct for Atom / RFC4287 feeds.

But in RSS 2.0, a bare text child of the author element is specified. I think the correct approach is going to be to accept the text child of author, in the case where no other subelements are found.

This construct was seen in the wild at http://www.tnr.com/rss/articles

@danmactough
Owner

Oh, sure. You're absolutely right. Thanks for the bug report.

@danmactough danmactough added a commit that referenced this issue Oct 26, 2012
@danmactough Fix issue #32 - parse RSS item:author. Enhance RSS authorish elements…
… with parsed properties via addressparser.
b825968
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.