Hpricot Examples for Kentucky Ruby Group

December 6, 2006

I wrote two small examples of the Hpricot Ruby HTML parser for the Kentucky Ruby Users Group. Both have the URL hardcoded to my machine - you’ll want to replace them with the real KyRUG URL.

The first extracts all the external links from the home page.

The second reorders the sidebar boxes by their titles.