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.

output

1. Create a console application:

create-project

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

add-refererence

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:

http://stevenhollidge.com/blog-source-code/RssFootballFeeds.zip

No comments:

Post a Comment