From: kendear Date: 2007-10-31T16:18:53+09:00 Subject: Re: HTML parser Hpricot? and how to get all text ------=_Part_5392_25492844.1193815136013 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/30/07, mortee wrote: > > > C:\>gem list hpricot > > *** LOCAL GEMS *** > > hpricot (0.6, 0.5, 0.4) > a swift, liberal HTML parser with a fantastic library > > C:\>irb > irb(main):001:0> require 'hpricot' > => true > irb(main):002:0> d = Hpricot("hello world") > => # "hello " {elem "world" } }> > irb(main):003:0> d.inner_text > => "hello world" > > mortee > > > yup, mine is C:\>gem list hpricot *** LOCAL GEMS *** hpricot (0.4) a swift, liberal HTML parser with a fantastic library and d.inner_text or d.text both won't work. ------=_Part_5392_25492844.1193815136013--