From: Seth Thomas Rasmussen Date: 2006-07-12T22:10:10+09:00 Subject: Re: Decent HTML Parser? It was just released recently, but Hpricot might be worth a look: http://redhanded.hobix.com/inspect/okayGiveHpricot02AGo.html Kevin Weller wrote: > Anybody have experience with a decent HTML parser for a Ruby > application? I've looked around, and so far everything I've found is > either unfinished, unstable, [relatively] undocumented, or just plain > ugly in terms of API. > > I'd like a parser that can take a partial HTML file and return an > easily-traversable data structure, in the same order that the elements > appear in the file. I don't want or need a callback mechanism, only > something I can iterate and tree-search. Though I don't hold much hope > it will work, I will try using REXML on my text and see what it > produces...results to be posted here. Thanks in advance! > > -- > Kevin Weller > Information Technology Crucible > http://www.itcrucible.com