Gavin Kistner
10/6/2006 5:37:00 PM
> > puts (doc/"p.tent/i").map{|i|i.inner_html}
> Actually...I can't get Hpricot to install to test your code
> (gem server
> seems to be down) but doesn't that grab way more information than you
> wanted from the table? The table headers and all columns, too?
Oh, nevermind. I'm not familiar with Hpricot's syntax. I read that line
as a case-insensitive regexp match with some poorly-placed quotes, not
an xpath-like expression that looks for the italic tag inside p.tent
elements.
Sorry for impugning your Hpricot skillz. :)