Rogan
Rogan

Reputation: 225

SyndicationFeed Class doesn't handle RSS version 0.91

The SyndicationFeed Class in .NET only seems to support RSS version 2.0. How do I go about supporting RSS version 0.91?

Upvotes: 7

Views: 1071

Answers (2)

emilast
emilast

Reputation: 569

I would suggest using the CodeHollow.FeedReader package which supports multiple RSS versions (including 0.91): https://github.com/codehollow/FeedReader

Upvotes: 0

Scott Mitchell
Scott Mitchell

Reputation: 8759

In short, you need to create a class that handles the serialization and deserialization of the RSS 0.91 standard. Such a class should derive from the SyndicationFeedFormatter class.

I've created such a class and provide its source code and a description of how to use it here: Syndicating and Consuming RSS 1.0 (RDF) Feeds in ASP.NET 3.5.

Happy programming!

Upvotes: 3

Related Questions