Saturday, 21 May 2011

C# RSS Feed Burner

This simple article demonstrates how to take RSS feeds from the internet and bring the data into your application.


1. Create a console application:


2. To access the RSS Syndication goodness within .NET you’ll need to add a reference to the System.ServiceModel assembly:


3. Paste the following code into your Program.cs file:

This code stores the RSS feeds in a dictionary, iterating through to output the feed items to the console window.

You can download this source code:

No comments:

Post a Comment