how to read meta tags in c#

J

Jeff

hi
asp.net 3.5

I'm wondering how to read Meta tags of a html page. I want to create a code
snippet in c# which can read the Meta tags of websites. This code snippet
gets the URL of the website as an parameter.

I'm wondering how to access the meta tags from within c#.

any ideas?
 
H

Holger K.

hi
asp.net 3.5

I'm wondering how to read Meta tags of a html page. I want to create a
code snippet in c# which can read the Meta tags of websites. This code
snippet gets the URL of the website as an parameter.

I'm wondering how to access the meta tags from within c#.

well you dont want to access your own page. So you need to download that url
into a string to parse it.
There are several ways to do that. The simplest way would be a regular
expression or some simple string operations...
 
H

HillBilly

Fasten your seat belts ladies and gentlemen, its Wednesday morning all right
and we're now approaching the crest of the hump which may result in further
turbulence.

Please be advised the Captain has asked that we now use and recommend
http://bing.com/ which really is a damn sight as good as and in some regards
already better than Google for finding and learning C# from examples.

Thank you, enjoy your flight.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,828
Latest member
LauraCastr

Latest Threads

Top