Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Sep : Re: Convert HTML Table to Tdataset

www.cryer.info
Managed Newsgroup Archive

Re: Convert HTML Table to Tdataset

Subject:Re: Convert HTML Table to Tdataset
Posted by:"Craig" (firebirdwebg..@hotmail.com)
Date:Wed, 5 Sep 2007 08:42:41

Thanks, that looks like a good product.
I ended up writing it from scratch yesterday using Hyperstring.
Yours looks like it would have been easier.;


"Ralf Junker - http://www.yunqa.de/delphi/" <delphi@yunqa.dot.de> wrote in
message news:6netd35egctpffiqkmv3veaftl0kot6jng@4ax.com...
> "Craig" <firebirdwebguy@hotmail.com> wrote:
>
> >Im wanting to get some info from an HTML table from a web site and
convert
> >it to a flat file, Tdataset etc.
> >
> >I can write it from scratch, but wondering if anyone has ever seen any
kind
> >of scalper component etc?
>
> I am not aware of any specific component just for this task. This is maybe
> because HTML tables come in all sorts of formatting: row span and column
span
> cells, headings, etc. Cells can contain text, which is fine, but you will
also
> see images and even nested tables. I can not imagine a general approach to
cover
> all this.
>
> >That would grab a  web site, look for the tables, and convert them to a
> >flatfile etc. Parse routine etc?
>
> My DIHtmlParser component comes with a plugin to track the parsing
position
> within tables and nested tables, including cell spanning. A demo project
is
> available for demonstration.
>
> DIHtmlParser cooperates nicely with all Delphi Internet components. It is
well
> tested and saves you the task of writing the parsing engine. Unicode is
> supported in case you need it.
>
> To tackle your problem, take the demo and add the database part to it.
Should be
> done in a few hours for simple tables.
>
> Download DIHtmlParser from http://www.yunqa.de/delphi/.
>
> Ralf
>
> ---
> The Delphi Inspiration
> http://www.yunqa.de/delphi/

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive