From: Kevin Weller <"http://www.itcrucible.com/contact"@...> Date: 2006-07-12T09:50:11+09:00 Subject: Re: Decent HTML Parser? Thanks for the reply. I've basically reviewed every potential match generated by: http://raa.ruby-lang.org/search.rhtml?search=html+parser I've since tried out a couple, and the option that seems to work best so far is Ned Konz' ruby-htmltools. Unfortunately, it does not seem to parse partial HTML documents well, so I've had to resort to parsing the whole thing, extracting a REXML document object, then using XPath to get to the content I care about. Seems like a waste of processing power when I can get the necessary markup in text with a simple file.grep operation and (theoretically) parse only the text that I want, but at least I have something that works until/unless something better comes along. Any recommendations? Kenosis wrote: > To help us narrow things down, can you tell us which Ruby HTML mods > you've tried out? > > Ken > > 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.