NEWS READER in C#


Before I continue with my explanation I want you to be familiar with XML[basic] and RSS[Really Simple Syndication].
This application is console based and shows latest news from THE HINDU newspaper. What this application does is that it retrieves the RSS feed[XML file] from THE HINDU's site VISIT HERE and extracts the data from it.

RSS are the feeds[Seller] to which you subscribe[Customer].CHROME,IE,FIREFOX shows up to date news by subscribing to these feeds.RSS feeds are in XML format. So we use XmlReader class to read the contents in it.

Here is the XML format from the newspapers RSS feed.

<item>
<title>I HATE CONGRESS</title>
<author>ME</author>
<category>Politics</category>
<link>null</link>
<description>Congress sucks.</description>
<pubDate>02-03-2011</pubDate>
</item>


So, the only thing we have to do is to extract the data from the RSS feed file and show it to the user with a rich GUI.

Similar funda can be used to extract latest news provided by newspapers such as THE TIMES OF INDIA or MAHARASHTA TIMES from there RSS feeds which are freely available on there sites or you can use it for various other purpose.

Check out the project uploaded with this article.