If it was well-formed HTML, you could use an XML parser. The MS XML DOM
also has an easy-to-use component to do HTTP gets and posts.
Better yet would be if the web-site you are trawling the data from made the
data available as XML.
-----Original Message-----
From: Nello Sestini [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 25, 2000 12:46 PM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: HTML client
> Build an ISAPI filter (look it up in Delphi docs).
> 'Tis precisely what they're designed for ...
Thanks - I have looked at this actually - and you're right
it is the "hook" in the right place.
But - what I was hoping to find was something with the
machinery for parsing the "raw" HTML responses that the
filter intercepts from the server. I can tweak them
however I like - but I have to take the raw HTML apart
myself.
It is not rocket science to parse tags - but it is
a pain and a wheel I'd rather not reinvent if there is
an accepted way of doing it (other than rolling your own.)
I would have thought that with all the web robots around
that this sort of trick would have found it's way into
a component somewhere.
(the other problem with ISAPI-anything is marriage to
an IIS server but could live with that if necessary)
thanks again
ns
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"