Re: how to parse html content in handler

2011-03-25 Thread Nick Kew
On Thu, 24 Mar 2011 22:58:07 +0800 (CST) "Whut Jia" wrote: > Hi, > Thank you! > But I want to parse a jsp page in my handler.How can I do it?? > Please help me! In my handler, I do a request (http://www.xxx/xxx.jsp)with > libcurl,and then parse returned response ,and draw some infomation.Please

Re: how to parse html content in handler

2011-03-25 Thread Mike Meyer
On Fri, 25 Mar 2011 09:28:01 -0400 MK wrote: > On Thu, 24 Mar 2011 20:10:46 +0800 (CST) > Whut  Jia wrote: > > Hi,all > > I want to parse a html content and withdraw some element in myself > > apache handler.Please ask how to do it. Thanks, > > Jia > > I think right now the only public C librar

Re: how to parse html content in handler

2011-03-25 Thread Joshua Marantz
mod_pagespeed's event-driven HTML parser is open source, and is written in C++: http://code.google.com/p/modpagespeed/source/browse/trunk/src/net/instaweb/htmlparse/public/html_parse.h This pa

Re: how to parse html content in handler

2011-03-25 Thread MK
On Thu, 24 Mar 2011 20:10:46 +0800 (CST) Whut  Jia wrote: > Hi,all > I want to parse a html content and withdraw some element in myself > apache handler.Please ask how to do it. Thanks, > Jia I think right now the only public C library for parsing html is in the venerable and long unmaintained li

Re:Re: how to parse html content in handler

2011-03-24 Thread Whut Jia
Hi, Thank you! But I want to parse a jsp page in my handler.How can I do it?? Please help me! In my handler, I do a request (http://www.xxx/xxx.jsp)with libcurl,and then parse returned response ,and draw some infomation.Please ask how to parse this jsp response??? Thanks, Jia At 2011-03-24

Re: how to parse html content in handler

2011-03-24 Thread Ben Noordhuis
On Thu, Mar 24, 2011 at 13:10, Whut  Jia wrote: > Hi,all > I want to parse a html content and withdraw some element in myself apache > handler.Please ask how to do it. > Thanks, > Jia Hey, have a look at how mod_proxy_html[1] does it. [1] http://apache.webthing.com/mod_proxy_html/