[fpc-pascal] Fast HTML Parser
md at delfire.net
Thu Aug 7 04:18:48 CEST 2014
On Wed, Aug 6, 2014 at 9:58 PM, Andrew Haines <andrewd207 at aol.com> wrote:
> On 08/06/14 13:50, Marcos Douglas wrote:
>> Someone knows a fast html parser to use in Pascal code?
>> I need something like this:
>> <select name="sel_x">
>> I need a function/object to give me only the values:
>> Something like:
>> S := GetHTMLValues('sel_x');
> There is the unit fasthtmlparser included with fpc in the packages/chm
> It is pretty basic and just has callbacks for tags and text. I don't
> think it's smart enough to tell you of the
> name="sel_x" part of your tag.
You're right, but I change my code to use fasthtmlparser and worked
(at least for now). Thank you.
> Maybe it can be improved.
I agree. If I change something, I'll send a patch.
More information about the fpc-pascal