ASP.NET: REGEX Parse the RSS / ATOM Feed Url from a Page

Posted by: Peter Brombergs UnBlog, on 18 Aug 2007 | View original | Bookmarked: 0 time(s)

I've been scraping again, I confess. Just can't resist it. One of the things I've run into when grabbing a bunch of web pages in a threadpool callback is how to determine if the page sports the autodiscovery tags (e.g. there is a feed for the site).   Here is one way to do this with a little bit of REGEX:   using System.Text.RegularExpressions; namespace WebLogsSearcher{    public static class Matcher    {        public static...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Regex | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 2253 | Hits: 266

Similar Posts

  • Getting and Setting Query String Values in JavaScript more
  • Url.Action() and RouteValue Encoding more
  • One Function to Rule All URLs more
  • Put Your Pages and Views on Lockdown more
  • Displaying XPS Documents in Silverlight more
  • Syndicating and Consuming RSS 1.0 (RDF) Feeds in ASP.NET 3.5 more
  • How to upgrade Atom 0.3 feeds on the fly with a custom XmlReader for use with WCF Syndication APIs more
  • FeedBurner move to Google, MyBrand and 404 errors hooray! more
  • ASP.NET MVC Plan 9 Sample more
  • Images hosted on Webhost4Life are not displayed inside RSS feeds more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD