|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||

This article will explain how to consume an RSS Feed from another website using ASP.NET 2.0. I have tried to keep this article very simple so that even beginners can easily understand this. This article will explain to you how to use RSS Feeds in eight easy steps using ASP.NET 2.0!
Before you start reading/implementing the steps using this article, hope you are aware of RSS Feeds. RSS means Really Simple Syndication. Nowadays, every dynamic web site, has this feature named RSS. Using RSS Feeds, you can be in sync with the changes/additions made to your favourite shopping website or your favourite techie blog website.
OK. Let's start. Please follow the following seven easy steps and your RSS Feed webpage will be ready to consume RSS from a given website:




rss/channel/item now. DataList control from Toolbox -> Data -> DataList to the WebForm.

DataList and select XMLDataSource1.

<ASP:DataList...>
<ItemTemplate>
</ItemTemplate>
</ASP:DataList>

And then, press F5 in your project to Run the project. Please refer the example source file for any further details.
Q-1. How should I obtain the RSS feed path?
Ans. You will require a path to the RSS Feed from any given website to actually consume the RSS Feed of that website. In my example, I have used http://spaces.msn.com/members/mauliksoni/feed.rss, but you can use any RSS path. To get the RSS feed path from any website, try to locate the word RSS or look for its image in the website. Then click on RSS or XML, your browser will be redirected to the XML formatted page. Now copy the link form IE.
N/A
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 9 Jan 2006 Editor: Smitha Vijayan |
Copyright 2006 by mssoni Everything else Copyright © CodeProject, 1999-2009 Web09 | Advertise on the Code Project |