How to detect feeds on the web pages

Coordinator
Sep 18, 2007 at 3:18 PM
Just call Explorer.Discover() with a web page uri as parameter:

List<ExternalFeedLink> externalFeedLinks = Explorer.Discover(new Uri("http://www.codeplex.com"));
foreach (ExternalFeedLink link in externalFeedLinks)
{
Console.WriteLine("Feed Type: " + link.FeedType.ToString());
Console.WriteLine("Feed Title: " + link.Title);
Console.WriteLine("Feed Uri: " + link.Uri);
}