You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Raj Wagle <rw...@iditarodsys.com> on 2003/10/13 15:20:44 UTC

RE: Does HttpClient have support for some sort of Document objectmodel?

That's fine.  I did think it may not be within the scope of what HttpClient can accomplish.

Then the next question was, are there any libraries which can take the response from HttpClient and parse the returned HTML?

Thanks
Raj

-----Original Message-----
From: Ortwin Glück [mailto:ortwin.glueck@nose.ch]
Sent: Monday, October 13, 2003 8:08 AM
To: Commons HttpClient Project
Subject: Re: Does HttpClient have support for some sort of Document
objectmodel?


Raj,

Please do not confuse HTTP with HTML. HttpClient is totaly unaware of 
the content you transmit.

Odi

Raj Wagle wrote:

> What I'm looking for is some way to access, say a particular field in a form, or a particular entry in a table, once the server sends the response to the HttpClient. 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Re: Does HttpClient have support for some sort of Document objectmodel?

Posted by Ortwin Glück <or...@nose.ch>.
The first result in Google when searching for "java html parser":

http://sourceforge.net/projects/javahtmlparser


Cheers


Raj Wagle wrote:

> That's fine.  I did think it may not be within the scope of what HttpClient can accomplish.
> 
> Then the next question was, are there any libraries which can take the response from HttpClient and parse the returned HTML?
> 
> Thanks
> Raj


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


RE: Does HttpClient have support for some sort of Document objectmodel?

Posted by Jorrit Kronjee <jo...@infopact.nl>.
I would say that's a bit beyond the scope of this mailing list. Although I
have no experience with this, I suggest you should use
http://lempinen.net/sami/jtidy/ or anything else Google spits out.

Good luck,


Jorrit Kronjee
Infopact Netwerkdiensten

On Mon, 13 Oct 2003, Raj Wagle wrote:

> That's fine.  I did think it may not be within the scope of what HttpClient can accomplish.
>
> Then the next question was, are there any libraries which can take the response from HttpClient and parse the returned HTML?
>
> Thanks
> Raj
>
> -----Original Message-----
> From: Ortwin Glück [mailto:ortwin.glueck@nose.ch]
> Sent: Monday, October 13, 2003 8:08 AM
> To: Commons HttpClient Project
> Subject: Re: Does HttpClient have support for some sort of Document
> objectmodel?
>
>
> Raj,
>
> Please do not confuse HTTP with HTML. HttpClient is totaly unaware of
> the content you transmit.
>
> Odi
>
> Raj Wagle wrote:
>
> > What I'm looking for is some way to access, say a particular field in a form, or a particular entry in a table, once the server sends the response to the HttpClient.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Re: Does HttpClient have support for some sort of Document objectmodel?

Posted by Michael Becke <be...@u.washington.edu>.
I haven't tried it, but I would suggest taking a look at HTMLUnit 
<http://htmlunit.sourceforge.net/>.

Mike

Raj Wagle wrote:
> That's fine.  I did think it may not be within the scope of what HttpClient can accomplish.
> 
> Then the next question was, are there any libraries which can take the response from HttpClient and parse the returned HTML?
> 
> Thanks
> Raj
> 
> -----Original Message-----
> From: Ortwin Glück [mailto:ortwin.glueck@nose.ch]
> Sent: Monday, October 13, 2003 8:08 AM
> To: Commons HttpClient Project
> Subject: Re: Does HttpClient have support for some sort of Document
> objectmodel?
> 
> 
> Raj,
> 
> Please do not confuse HTTP with HTML. HttpClient is totaly unaware of 
> the content you transmit.
> 
> Odi
> 
> Raj Wagle wrote:
> 
> 
>>What I'm looking for is some way to access, say a particular field in a form, or a particular entry in a table, once the server sends the response to the HttpClient. 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org