Answer by Jan Remunda for Deserializing an RSS feed in .NET
using System.ServiceModel.Syndication;public static SyndicationFeed GetFeed(string uri) { if (!string.IsNullOrEmpty(uri)) { var ff = new Rss20FeedFormatter(); // for Atom you can use...
View ArticleAnswer by P.K for Deserializing an RSS feed in .NET
Get rss schema fromhttp://www.thearchitect.co.uk/schemas/rss-2_0.xsdGenerate C# class using xsd.exe. xsd rssschema.xsd /cDuring runtime, deserialize the rssxml using the xsd and class generated above.
View ArticleAnswer by Brad Bruce for Deserializing an RSS feed in .NET
Check out this link for a pretty thorough download routine. RSS is basically a derivative of XML. I like this link for defining the RSS format. This one has a really basic sample.
View ArticleAnswer by Dave Ward for Deserializing an RSS feed in .NET
If you can use LINQ, LINQ to XML is an easy way to get at the basics of an RSS feed document.This is from something I wrote to select out a collection of anonymous types from my blog's RSS feed, for...
View ArticleAnswer by jrista for Deserializing an RSS feed in .NET
The .NET 3.5 framework added syndication support. The System.ServiceModel.Syndication namespace provides a bunch of types to manage feeds, feed content and categories, feed formatting (RSS 2.0, Atom...
View ArticleAnswer by Justin Niessner for Deserializing an RSS feed in .NET
If you're using .NET 3.0 or 3.5...then I would suggest using an XMLReader to read the document into an XDocument. You can then use LINQ to XML to query against and render the RSS feed into something...
View ArticleDeserializing an RSS feed in .NET
Is it practical / possible to use serialization to read data from an RSS feed? I basically want to pull information from my Netflix queue (provided from an RSS feed), and I'm trying to decide if...
View Article