
Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
this is the RSS feed for BBC. can you tell me how can i do what you have
mentioned..
http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
> Jassim,
>
[quoted text clipped - 6 lines]
>>display in my windows forms applications? similary I want to get the news
>>from other news websites, cnn, aljazeera, etc..
Nicholas Paldino [.NET/C# MVP] - 10 Aug 2007 20:27 GMT
Jassim,
Well, RSS has a schema defined for it which the feed conforms to. All
the other feeds will conform (or should, at least) conform to that schema.
Because of that, you will know where and when elements occur. Given that,
you can easily load the XML document and then find the elements with the
information you want to use.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> this is the RSS feed for BBC. can you tell me how can i do what you have
> mentioned..
[quoted text clipped - 11 lines]
>>>display in my windows forms applications? similary I want to get the news
>>>from other news websites, cnn, aljazeera, etc..
Jassim Rahma - 10 Aug 2007 20:35 GMT
how will i know if the file was updated with latest news?
> Jassim,
>
[quoted text clipped - 19 lines]
>>>>display in my windows forms applications? similary I want to get the
>>>>news from other news websites, cnn, aljazeera, etc..
Nicholas Paldino [.NET/C# MVP] - 11 Aug 2007 03:19 GMT
Jassim,
Have you taken a look at the RSS specification? There are elements in
the feed which tell when the item is published, as well as when the last
time the content of a channel changed, etc, etc. Take a look, I think you
will find out all you need from the specification:
http://cyber.law.harvard.edu/rss/rss.html

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> how will i know if the file was updated with latest news?
>
[quoted text clipped - 21 lines]
>>>>>display in my windows forms applications? similary I want to get the
>>>>>news from other news websites, cnn, aljazeera, etc..
Peter Bromberg [C# MVP] - 10 Aug 2007 21:20 GMT
Jassim,
An easy way to handle the display of an RSS feed is to load it into a
DataSet with the ReadXml method:
DataSet ds = new DataSet();
ds.ReadXml("urlofRssFed");
there will be several DataTables in your DataSet, you can inspect to find
out which is the relevant one (usually it is ds.Tables[3], but not always).
Then, you can databind this table to your favorite control such as a
DataGridView.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
> this is the RSS feed for BBC. can you tell me how can i do what you have
> mentioned..
[quoted text clipped - 11 lines]
> >>display in my windows forms applications? similary I want to get the news
> >>from other news websites, cnn, aljazeera, etc..