# Ruby HTML Tools - ruby-htmltools Examples

**URL:** <https://rubytalk.org/t/ruby-html-tools-ruby-htmltools-examples/25993>\
**Category:** ruby-talk\
**Created:** [22 March 2006 10:13 UTC](https://rubytalk.org/t/ruby-html-tools-ruby-htmltools-examples/25993 "2006-03-22T10:13:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joes](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@joes](https://rubytalk.org/u/joes)\
**Post date:** [22 March 2006 10:13 UTC](https://rubytalk.org/t/ruby-html-tools-ruby-htmltools-examples/25993/1 "2006-03-22T10:13:52Z")

</div>

Hi,  
I have searched a lot of sites and newsgroups on the best approach to  
build a simple screen scraper/HTML parser with Ruby. I've gone down  
the road of using ruby-htmltools ([http://bike-nomad.com/ruby/](http://bike-nomad.com/ruby/)).  
However there is a big scarcity of any documentation on this and I was  
looking for any examples which anyone may have that I could learn from.  
Thanks.  
Joe

---

<div class="post-metadata">

**Author:** ![Pistos\_Christou1](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@Pistos\_Christou1](https://rubytalk.org/u/Pistos_Christou1)\
**Post date:** [23 March 2006 14:35 UTC](https://rubytalk.org/t/ruby-html-tools-ruby-htmltools-examples/25993/2 "2006-03-23T14:35:36Z")

</div>

joes wrote:

> Hi,  
> I have searched a lot of sites and newsgroups on the best approach to  
> build a simple screen scraper/HTML parser with Ruby. I've gone down  
> the road of using ruby-htmltools ([http://bike-nomad.com/ruby/\](http://bike-nomad.com/ruby/%5C)).  
> However there is a big scarcity of any documentation on this and I was  
> looking for any examples which anyone may have that I could learn from.  
> Thanks.  
> Joe

You may also consider Rubyful Soup:

> **[Rubyful Soup: "The brush has got entangled in it!"](https://www.crummy.com/software/RubyfulSoup/)**
>
> Rubyful Soup: an HTML parser for Ruby, optimized for screen-scraping.

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![James\_Britt4](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@James\_Britt4](https://rubytalk.org/u/James_Britt4)\
**Post date:** [24 March 2006 16:54 UTC](https://rubytalk.org/t/ruby-html-tools-ruby-htmltools-examples/25993/3 "2006-03-24T16:54:06Z")

</div>

joes wrote:

> Hi,  
> I have searched a lot of sites and newsgroups on the best approach to  
> build a simple screen scraper/HTML parser with Ruby. I've gone down  
> the road of using ruby-htmltools ([http://bike-nomad.com/ruby/\](http://bike-nomad.com/ruby/%5C)).  
> However there is a big scarcity of any documentation on this and I was  
> looking for any examples which anyone may have that I could learn from.

I use Mechanize to grab content from several Cafe Press sites and reassemble them into rubystuff.com

> **[How I Did It: Building RubyStuff.com](https://neurogami.com/cafe-fetcher/)**
>
> A microformat that eases the transition from page to print with CSS and HTML

> **···**
>
> --  
> James Britt
> 
> [http://web2.0validator.com](http://web2.0validator.com) - We're the Dot in Web 2.0  
> [http://refreshingcities.org](http://refreshingcities.org) - Design, technology, usability  
> [http://yourelevatorpitch.com](http://yourelevatorpitch.com) - Finding Business Focus  
> [http://www.jamesbritt.com](http://www.jamesbritt.com) - Playing with Better Toys
