# Ruby HTML Tools - ruby-htmltools Examples

**URL:** <https://www.ruby-forum.com/t/ruby-html-tools-ruby-htmltools-examples/55601>\
**Category:** Ruby\
**Created:** [March 22, 2006, 11:14am UTC](https://www.ruby-forum.com/t/ruby-html-tools-ruby-htmltools-examples/55601 "2006-03-22T11:14:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7ba0ec/32.png) [@joes](https://www.ruby-forum.com/u/joes)\
**Post date:** [March 22, 2006, 11:14am UTC](https://www.ruby-forum.com/t/ruby-html-tools-ruby-htmltools-examples/55601/1 "2006-03-22T11:14:04Z")

</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:** ![joes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7ba0ec/32.png) [@joes](https://www.ruby-forum.com/u/joes)\
**Post date:** [March 23, 2006, 3:35pm UTC](https://www.ruby-forum.com/t/ruby-html-tools-ruby-htmltools-examples/55601/2 "2006-03-23T15:35:19Z")

</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/)).  
> 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.

---

<div class="post-metadata">

**Author:** ![joes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7ba0ec/32.png) [@joes](https://www.ruby-forum.com/u/joes)\
**Post date:** [March 24, 2006, 5:54pm UTC](https://www.ruby-forum.com/t/ruby-html-tools-ruby-htmltools-examples/55601/3 "2006-03-24T17:54:10Z")

</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/)).  
> 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](http://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 B.

[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
