.Net Framework 4.0 Required.
Download Link
XmlTextReader
reader = new XmlTextReader( "feedurl");
SyndicationFeed
feed = SyndicationFeed.Load(reader);
|
Console.WriteLine(feed.Title.Text);
Use below link to find about class details
Using below code you can read each feed
item.
foreach (SyndicationItem item in feed.Items)
{
Console.ForegroundColor
= ConsoleColor.White;
Console.WriteLine(item.Title.Text);
Console.ForegroundColor
= ConsoleColor.Gray;
Console.WriteLine(item.Summary.Text);
Console.ForegroundColor
= ConsoleColor.Green;
Console.WriteLine(item.Links.First().Uri);
Console.WriteLine();
}
|
Copyright @ 2013 Telan Niranga