Read the title thanks
Or how To Parse the source
Printable View
Read the title thanks
Or how To Parse the source
Html is plain text already. ;)
The simplest would be to replace all "<BR>" with vbCrLf.
Tables would be a bit more work.
Best is to first determine how the table looks (find which opening and closing tags belong to eachother) and then write it as text.
Plain text doesn't contain pictures so you can just leave the tags as they are or strip them to just the image's url.
It really depends to what extent you wish to convert the page and which data you want to keep.
ok How would I do that?
Do what?
http://www.vbforums.com/showpost.php...2&postcount=18
with the HTML Object Library you use .innerText to just get the Text (without all the HTML tags) or .innerHTML to get everything ..
Also see this for ideas on parsing the HTML ..
http://www.vbforums.com/showthread.p...85#post2525685
Rory