x


web page html parsing

hi i need to parse a content of a html page from the internet and display it to the console. So it needs to look for tags. Can any1 point me to the right direction? i have looked in to WWW class it is not powerful enough to do what i want

more ▼

asked Mar 27 '11 at 04:35 AM

james 6 gravatar image

james 6
132 32 34 41

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

What is it exactly that you want? You can use the WWW class to download the HTML as a string, and then build a stack based parser to parse your HTML.

The other solution is just to use C# its XML Parser, altough you have to make the HTML parsable by a XML parser. You can use the following library for this: http://htmlagilitypack.codeplex.com/

more ▼

answered Mar 29 '11 at 04:00 PM

Maarten gravatar image

Maarten
607 2 4 12

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x527
x256
x72
x16

asked: Mar 27 '11 at 04:35 AM

Seen: 1806 times

Last Updated: Mar 27 '11 at 04:35 AM