hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

And Now, Hpricot 0.5 is Yours #

by why in inspect

Ach. Prih. Kott! With much, much, much.

Now with these little pulps and these more splatters. And, more recently:

  • Search text node with predicates like a[text()="Click Me!"] and h3[text()*="space"] and the like.
  • Colons in tag searches are OK.
  • XPath indices. (BEEP BEEP: they start with 1, not 0!!)
  • Vexed? HpricotChallenge is for the stumped.

The gem is undergoing a brief mirroring dungeon quest on Rubyforge, but can meanwhilst be slurped from the still:

 gem install hpricot --source http://code.whytheluckystiff.net/

And, tarball too: hpricot-0.5.tgz.

I have a sneaking suspicion that a 0.5.1 will be needed. But I’m at peace with that!! Thankyou for letting this sticky stuff drip down your chin, fine people.

said on 31 Jan 2007 at 22:41

yes!!!

said on 31 Jan 2007 at 23:37

might as well just publish 0.5.1 now to get the Rails curse out of your system :)

said on 31 Jan 2007 at 23:45

Hpricot for teh win!

said on 01 Feb 2007 at 00:48

Fabuloso! Now I can parse huge .NET viewstates with the greatest of ease!

said on 01 Feb 2007 at 03:46

thanks again, where do you find the time? i co-author a web scraping library Scrapes that relies heavily on Hpricot. my hat is off to you oh great _why (notice that i have also taken on the underscore, it’s so empowering)

said on 01 Feb 2007 at 03:54

My favourite ruby lib!

said on 01 Feb 2007 at 09:09

I dunno, the underscore just doesn’t seem to do it for me.

(Great work, _why!)

said on 02 Feb 2007 at 13:45
   \ /\ / |   |  \_ _/
___ \/\/  |---|    |

Thanks. Maybe I’ll consider using it now! o`o_______

said on 12 Feb 2007 at 05:53

test!

11 Jul 2010 at 20:51

* do fancy stuff in your comment.

PREVIEW PANE