Scrape that screen with LINQ
- Posted: Apr 29, 2008 at 12:27 PM
- 373 Views
- 2 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Beth Massi has done something I know some of you C4F readers have been asking for. Beth developed a quick and easy way to query a web site with LINQ to XML. One of the commenter pointed out also you can do a HTML to XHTML conversion with this tool.
The trick to doing this is loading the HTML into an XElement, from there you strip out the unsupported XML entities, THEN LINQ the HTML to get the data you wanted.
Beth, the 15 minutes this took you just saved the Internet days of work on what I'd be would be a far more complex solution.