uformats

ABOUT

A library for parsing various microformats under Ruby:

  • hReview (0.3)

  • hCard

  • hCalendar (vevent only; limited support)

  • rel-tag

  • rel-license

  • include-pattern

PREREQUISITES

htmlentities >= 3.0.1 (htmlentities.rubyforge.org/)

If you want to try the sample code, you will also need:

tidy (rubyforge.org/projects/tidy)

You’ll also need to install the tidy library for your operating system. For OS X, it’s available via Darwin Ports (port install tidy). For Windows, get it from dev.int64.org/tidy.html and rename ‘tidy.dll’ to ‘libtidy.dll’. For Linux etc. it should be available via the repositories.

INSTALLATION

To install (requires root/admin privileges):

# ruby setup.rb

To test:

$ ruby setup.rb test