Board index » delphi » How to do?

How to do?

Hi All,

I have an assignment where I need to download an HTML page from a website
and then parse it and retrieve some meaningful information. Are there any
components in Delphi 6 that can
1.) Connect to a website thru an URL and Download an HTML page as viewed
into a buffer.
2.) Allow me to specify rules to parse and interpret the downloaded buffer.

PS :- I was not sure where to post this question, finally thought this is
the best place.

Any help will be greatly appreciated.

Thanks,
Vikram

 

Re:How to do?


Quote
In article <3b8e9037_1@dnews>, Vikram Kulkarni wrote:
> I have an assignment where I need to download an HTML page from a website
> and then parse it and retrieve some meaningful information. Are there any
> components in Delphi 6 that can
> 1.) Connect to a website thru an URL and Download an HTML page as viewed
> into a buffer.

Look at the IdHTTP component on the IndyClients tab of the component palette.

Quote
> 2.) Allow me to specify rules to parse and interpret the downloaded buffer.

The parser is something you will have to build yourself, if think.

Quote
> PS :- I was not sure where to post this question, finally thought this is
> the best place.

It isn't. Look at delphi.internet.winsock

Peter Below (TeamB)  100113.1...@compuserve.com)
No e-mail responses, please, unless explicitly requested!
Note: I'm unable to visit the newsgroups every day at the moment,
so be patient if you don't get a reply immediately.

Other Threads