You can check rubyful soup library at http://www.crummy.com/software/RubyfulSoup/ On 7/11/06, Kevin Weller <"http://www.itcrucible.com/contact"@ruby-lang.org> 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 > >