Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pull off HTML code and parse
Message
De
12/05/2006 16:28:21
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
Information générale
Forum:
Internet
Catégorie:
HTML
Divers
Thread ID:
01121467
Message ID:
01121489
Vues:
15
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform