Re: [fpc-pascal] Fast HTML Parser

2014-08-08 Thread Daniel Gaspary
On Fri, Aug 8, 2014 at 9:40 AM, Marco van de Voort wrote: > There is xpath support in fcl-xml? Yes. But HTML files used to be very irregular XML. Some files can raise an error when trying to open. Things like "" without closing element were easy to find.

Re: [fpc-pascal] Fast HTML Parser

2014-08-08 Thread Marcos Douglas
On Thu, Aug 7, 2014 at 8:53 PM, luiz americo pereira camara wrote: > > You can try http://www.benibela.de/sources_en.html#internettools I will see, thanks. Regards, Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists

Re: [fpc-pascal] Fast HTML Parser

2014-08-08 Thread Marco van de Voort
In our previous episode, luiz americo pereira camara said: > > > > It's not a simple parser. It has the ability to extract part of html > through templates. See http://videlibri.sourceforge.net/cgi-bin/xidelcgi There is xpath support in fcl-xml? ___ fpc

Re: [fpc-pascal] Fast HTML Parser

2014-08-08 Thread luiz americo pereira camara
2014-08-08 8:28 GMT-03:00 Marco van de Voort : > In our previous episode, luiz americo pereira camara said: > > You can try http://www.benibela.de/sources_en.html#internettools > > That seems more something like sax_html fromt the fcl-xml package. > It's not a simple parser. It has the ability to

Re: [fpc-pascal] Fast HTML Parser

2014-08-08 Thread Marco van de Voort
In our previous episode, luiz americo pereira camara said: > You can try http://www.benibela.de/sources_en.html#internettools That seems more something like sax_html fromt the fcl-xml package. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org h

Re: [fpc-pascal] Fast HTML Parser

2014-08-07 Thread luiz americo pereira camara
You can try http://www.benibela.de/sources_en.html#internettools Luiz 2014-08-07 10:20 GMT-03:00 Marco van de Voort : > In our previous episode, Marcos Douglas said: > > > It has (or at least had) a very simple to use HTML parser that was very > > > fast. If you don't come write with the above

Re: [fpc-pascal] Fast HTML Parser

2014-08-07 Thread Marco van de Voort
In our previous episode, Marcos Douglas said: > > It has (or at least had) a very simple to use HTML parser that was very > > fast. If you don't come write with the above URL, I have some release > > archives I know contains the code. Just let me know and I can make it > > available. > > But the f

Re: [fpc-pascal] Fast HTML Parser

2014-08-07 Thread Marcos Douglas
On Wed, Aug 6, 2014 at 6:51 PM, Graeme Geldenhuys wrote: > On 2014-08-06 21:54, Marcos Douglas wrote: >> I know the tokens to search, but the HTML could be very different each other. >> I can't use a external tool. Need to be a application (that already exists). > > Take a look at POWtils (aka PWU

Re: [fpc-pascal] Fast HTML Parser

2014-08-07 Thread Michael Schnell
On 08/06/2014 07:54 PM, Rainer Stratmann wrote: It's not that difficult to write yourself. In fact, my son once did write (using Delphi) a parser that creates a list of hierarchically linked objects from HTML code and also can write a HTML file from this structure. So you can read a file, us

Re: [fpc-pascal] Fast HTML Parser

2014-08-07 Thread Graeme Geldenhuys
On 2014-08-06 21:54, Marcos Douglas wrote: > I know the tokens to search, but the HTML could be very different each other. > I can't use a external tool. Need to be a application (that already exists). It seems a copy of the Fast HTML Parser unit I spoke of has made its way into the FPC source cod

Re: [fpc-pascal] Fast HTML Parser

2014-08-07 Thread Graeme Geldenhuys
On 2014-08-06 21:54, Marcos Douglas wrote: > I know the tokens to search, but the HTML could be very different each other. > I can't use a external tool. Need to be a application (that already exists). Take a look at POWtils (aka PWU or PSP or Pascal Server Pages) created by somebody known as Z505

Re: [fpc-pascal] Fast HTML Parser

2014-08-06 Thread Marcos Douglas
On Wed, Aug 6, 2014 at 9:58 PM, Andrew Haines wrote: > On 08/06/14 13:50, Marcos Douglas wrote: >> Hi, >> >> Someone knows a fast html parser to use in Pascal code? >> >> I need something like this: >> >> HTML: >> >> 1 >> 2 >> >> >> I need a function/object to give me only the values: >> 1 >> 2

Re: [fpc-pascal] Fast HTML Parser

2014-08-06 Thread Andrew Haines
On 08/06/14 13:50, Marcos Douglas wrote: > Hi, > > Someone knows a fast html parser to use in Pascal code? > > I need something like this: > > HTML: > > 1 > 2 > > > I need a function/object to give me only the values: > 1 > 2 > > Something like: > S := GetHTMLValues('sel_x'); > > R There is the

Re: [fpc-pascal] Fast HTML Parser

2014-08-06 Thread Marcos Douglas
On Wed, Aug 6, 2014 at 5:46 PM, Mark Morgan Lloyd wrote: > Marcos Douglas wrote: >> >> On Wed, Aug 6, 2014 at 2:54 PM, Rainer Stratmann >> wrote: >>> >>> On Wednesday 06 August 2014 19:50:44 you wrote: Hi, Someone knows a fast html parser to use in Pascal code? I ne

Re: [fpc-pascal] Fast HTML Parser

2014-08-06 Thread Mark Morgan Lloyd
Marcos Douglas wrote: On Wed, Aug 6, 2014 at 2:54 PM, Rainer Stratmann wrote: On Wednesday 06 August 2014 19:50:44 you wrote: Hi, Someone knows a fast html parser to use in Pascal code? I need something like this: HTML: 1 2 I need a function/object to give me only the values: 1 2 Somet

Re: [fpc-pascal] Fast HTML Parser

2014-08-06 Thread Marcos Douglas
On Wed, Aug 6, 2014 at 2:54 PM, Rainer Stratmann wrote: > On Wednesday 06 August 2014 19:50:44 you wrote: >> Hi, >> >> Someone knows a fast html parser to use in Pascal code? >> >> I need something like this: >> >> HTML: >> >> 1 >> 2 >> >> >> I need a function/object to give me only the values:

Re: [fpc-pascal] Fast HTML Parser

2014-08-06 Thread Rainer Stratmann
It's not that difficult to write yourself. On Wednesday 06 August 2014 19:50:44 you wrote: > Hi, > > Someone knows a fast html parser to use in Pascal code? > > I need something like this: > > HTML: > > 1 > 2 > > > I need a function/object to give me only the values: > 1 > 2 > > Something