Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Failure to parse RSS feeds that use unencoded <body> #32

@daveaglick

Description

@daveaglick

Some feeds that use <body> instead of encoded <content> elements are failing. It appears that the parser gets confused about open/close using the XmlReader in the <body> element since it attempts to construct SyndicationContent for all the nested XHTML. This results in exceptions like:

'Element' is an invalid XmlNodeType

For example, see http://feeds.feedburner.com/RockfordLhotka. I'm going to try and fix this by skipping <body> elements and using their inner XML as the value for the outer SyndicationContent. Will submit a PR if that works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions