Phlip
10/29/2007 6:53:00 PM
SpringFlowers AutumnMoon wrote:
> Would a good HTML parser be Hpricot?
>
It's extremely good; try it and see!
> I wonder if anyone knows an easy
> way for it to get all text of an HTML file? (removing all formatting
> tags).
>
each_element( './/text()' ){}.join() might do it.
--
Phlip