Skip to content

May 12, 2011

Easy RSS For ASP.NET

There’s two sides to this coin.

A) I fill the page with crap and please the search engines.

B) I give you the links and code.

We’ll go with B.

Check out Scott Gu’s blog for his post on an easy RSS reader for ASP.NET.

The blog points to a guy on the ASP.NET team that wrote an easy RSS Toolkit.

I know it’s old… but it helped me. I have an evil SEO plan and this is part of it.

Directions for use of this library:

1) It comes with the following directory structure:
RSS Feed Folder Structure

2) Open Command Prompt.

3) Go to the RssToolkit-1-0-0-1\bin directory and execute the following command:
Rssdl.exe “feed address here” myFeed.cs

4) Reference RssToolkit.dll in your project.

5) Add the myFeed.cs class to your project.

6) Read the RSS feed into the object like this:

myFeedChannel mf = myFeedChannel.LoadChannel();

7) Bind to a grid or just read the thing:

Response.Write(mf.Items[0].ContentEncoded);

Read more from ASP.NET

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments