Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
NEWS READER in C#
WhatsApp
Anirudha Gohokar
13y
9.4
k
0
0
25
Blog
News Reader.zip
Before I continue with my explanation I want you to be familiar with
XML[basic]
and
RSS[Really Simple Syndication]
.
XML in C#
RSS
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.
Up Next
Convert Code From C# To VB.NET And From VB.NET To C#
Ebook Download
View all
The SOLID Principles
Read by 18.3k people
Download Now!
Learn
View all
Membership not found