Definitely Nokogiri, maybe with Mechanize...
http://joemcglynn.wordpress.com/2009/12/10/five-minute-introduction-to-nokog
iri/


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Hassan Schroeder
Sent: Wednesday, December 23, 2009 8:16 AM
To: [email protected]
Subject: Re: [Rails] html parser / assertions in a model

On Wed, Dec 23, 2009 at 1:23 AM, Jan Roslind <[email protected]> wrote:
> I am using http.get in a model to parse html code returned from a Oracle
> server.
>
> My first try was to use assertions (assert and assert_select) to test
> and parse the html code.

That's, er, interesting :-)

> I am considering replace assertions with a html parser. I

I would think so -- take a look at http://github.com/tenderlove/nokogiri

HTH,
-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

--

You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.



--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to