DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Mofo - Parse Microformats With Ruby

03.30.2007
| 4771 views |
  • submit to reddit
        
$ sudo gem install mofo 
Successfully installed mofo-0.2.1
$ irb -rubygems
>> require 'mofo'
=> true
>> HResume.find("http://resume.jnewland.com").tags.uniq.sort
=> ["AJAX", "Apache", "CSS", "Capistrano", "DNS", "GNU/Linux", "HTML", "Javascript", "LAMP", "Mongrel", "Movable Type", "MySQL", "PHP", "Perl", "REST", "RSS", "Ruby", "Ruby on Rails", "SEO", "XHTML", "XML", "XSLT", "high availability", "lighttpd", "load-balanced"]