[Lazarus] [TIP] LazSolutions - How to get HTML content?

silvioprog silvioprog at gmail.com
Sun Aug 28 17:42:53 CEST 2011


2011/8/28 ik <idokan at gmail.com>:
> On Sat, Aug 27, 2011 at 23:43, silvioprog <silvioprog at gmail.com> wrote:
>>
>> It's easy, it can be done in a single line, see:
>>
>> http://code.google.com/p/lazsolutions/wiki/Tip?wl=en
>
> How can I get exact element from the HTML and/or XML content (like with
> nokogiri) ?
> That can be very helpful imho :)

You can use LSHTTPGetPart, LSHTTPGetHTMLDocument or
LSHTTPGetXMLDocument. See demo in
">lazsolutions>trunk>Demos>LSHTTPSend".

Download the all sources of LazSolutions via SVN.

>>
>> Enjoy! ^^

-- 
Silvio Clécio
===============================================
Blog - <silvioprog.com.br>
Twitter - <twitter.com/silvioprog>
LazSolutions - <code.google.com/p/lazsolutions>
LazWebSolutions - <code.google.com/p/lazwebsolutions>
Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR>
===============================================
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===============================================




More information about the Lazarus mailing list