# Re: Decent HTML Parser?

**URL:** <https://www.ruby-forum.com/t/re-decent-html-parser/98028>\
**Category:** Ruby\
**Created:** [July 12, 2006, 3:12am UTC](https://www.ruby-forum.com/t/re-decent-html-parser/98028 "2006-07-12T03:12:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daveh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@daveh](https://www.ruby-forum.com/u/daveh)\
**Post date:** [July 12, 2006, 3:12am UTC](https://www.ruby-forum.com/t/re-decent-html-parser/98028/1 "2006-07-12T03:12:25Z")

</div>

On Jul 11, 2006, at 17:55, Kevin Weller wrote:

Ooooh, thanks, that might be just what the doctor ordered…especially  
if it handles a single text line of an HTML document. Right now I have  
a temporary solution that involves using ruby-htmltools to parse the  
entire document, then finding the part that I want with an XPath query.  
However, Rubyful Soup might turn out to be a better performer if it  
does what I want. Thanks so much!

Yup, sounds like what you want.

I would have preferred to just parse the whole page in my app, but Soup  
is so slow that I had to regex a bunch of the noise out of the way. I  
throw the remnants to Soup; after which everything’s really easy.
