Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pull off HTML code and parse
Message
 
To
12/05/2006 16:28:21
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Internet
Category:
HTML
Miscellaneous
Thread ID:
01121467
Message ID:
01121496
Views:
8
I can get to it. Using IE 6.0.2800.....


>What's up with the West-Wind site? It keeps locking up my IE. Can anyone else get to it?
>
>>Jay... i'm doing something like this with a desktop app that polls a website to grab an html file. In the meta tags region of the html doc, i have a "last updated" date. The desktop app parses out the html to determine if a new update is available. I'm using a West-Wind class to do it. You pass it a URL (not sure if it works if you were to pass it a path/filename) and it returns the contents as a string. Definately not an elegent solution, but the site isnt on a webserver that i control, so i cant really hit a URL that launches a data-driven query.
>>
>>This is an example from Rick's helpfile:
>>
>>
>>oHTTP=CREATEOBJECT("wwHTTP")
>>
>>lcHTML = oHTTP.HTTPGet("http://www.west-wind.com/")
>>
>>*** Do something with the HTML
>>ShowHTML( lcHTML )  && in wwUtils.prg
>>
>>
>>>If I'm viewing an HTML page, is there a way to convert parts of this content into Excel or a text file? I'm thinking of something like putting an identifier start and end tag in my code, somehow pulling out everything inbetween after it's rendered, then parse it out to a text format. Anyone familiar with something like this?
Previous
Reply
Map
View

Click here to load this message in the networking platform