I'm using the following code to parse an RSS Feed. Which works fine for Rss 2.0 but falls down on Rss 0.92. Is there an easy way to do 0.92 in .NET?
I'm using .NET 3.5 for this.
using (var reader = XmlReader.Create(feedUrl))
{
var rss = SyndicationFeed.Load(reader);
items = rss.Items.Take(maxItems);
}
SyndicationFeed only supports RSS 2.0 and Atom 1.0.
Your best bet would likely be to find an external library to accomplish this. http://aspnetrsstoolkit.codeplex.com/ is one option.