views:

132

answers:

2

I am trying to do pretty much the same thing as here, but in ruby:

http://stackoverflow.com/questions/1201778/parsing-custom-tags-with-php

A: 

Try using hpricot. It's an easy to use HTML parser.

jamesaharvey
+2  A: 

I'd recommend using Nokogiri, as it is faster than hpricot and still has an active maintainer.

bkirz