Gregory Brown
11/21/2006 7:00:00 PM
On 11/21/06, Giles Bowkett <gilesb@gmail.com> wrote:
> Going on the million-dollar question, which I actually only just
> noticed, I think the HTML we were working against with Mechanize --
> this was a consulting thing, so I don't have the code in front of me,
> it's on somebody else's laptop -- but I think the HTML was pretty bad.
> totally noncompliant, non-validating. we used Hpricot a lot, which is
> pretty great, we might have actually given up on Mechanize for the
> HTML-parsing and just used it for setting and getting cookies, things
> like that. I don't quite recall, but definitely have a look at
> Hpricot, it's pretty great and I think it was written by why the lucky
> stiff.
Mechanize now has direct support (and is implemented on top of) hpricot. [IIRC]
Aaron is likely to have more info on this, of course.