I'm coding a small test app in C# and I thought it would be real nice to be able to parse the "description" meta tag and also download the favorite icon. I'm not asking for a complete solution but does anyone have any ideas where I should start? Thanks.

As example here is what I would pull from a webpage like www.digg.com

<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<meta name="description" content="The best news, videos and pictures on the web as voted on by the Digg community. Breaking news on Technology, Politics, Entertainment, and more!" />

Thanks!

Some realms of the internet would recommend using the HTML Agility Pack, which is a open source library that parses HTML files. I've never used it, so I can't give you any pointers.

http://htmlagilitypack.codeplex.com/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.