# Microformats2 [](https://travis-ci.org/G5/microformats2) [](https://codeclimate.com/github/G5/microformats2) A Ruby gem to parse HTML containing one or more [microformats2](http://microformats.org/wiki/microformats-2) and return a collection of dynamically defined Ruby objects. A work in progress. Implemented: * [parsing depth first, doc order](parse_a_document_for_microformats) * [parsing a p- property](http://microformats.org/wiki/microformats2-parsing#parsing_a_p-_property) * [parsing a u- property](http://microformats.org/wiki/microformats2-parsing#parsing_a_u-_property) * [parsing a dt- property](http://microformats.org/wiki/microformats2-parsing#parsing_a_dt-_property) * [parsing a e- property](http://microformats.org/wiki/microformats2-parsing#parsing_a_e-_property) * [parsing implied properties](http://microformats.org/wiki/microformats-2-parsing#parsing_for_implied_properties) * nested properties * nested microformat with associated property Not Implemented: * [normalize u-* property values](http://microformats.org/wiki/microformats2-parsing-faq#normalizing_u-.2A_property_values) * nested microformat without associated property * [rel](http://microformats.org/wiki/rel) * [value-class-pattern](http://microformats.org/wiki/value-class-pattern) * [include-pattern](http://microformats.org/wiki/include-pattern) * recognition of [vendor extensions](http://microformats.org/wiki/microformats2#VENDOR_EXTENSIONS) * backwards compatable support for microformats v1 ## Current Version 2.0.0.pre1 ## Requirements * "nokogiri", "~> 1.5.6" * "json", "~> 1.7.6" * "activesupport", "~> 3.2.12" ## Installation Add this line to your application's Gemfile: gem 'microformats2' And then execute: $ bundle Or install it yourself as: $ gem install microformats2 ## Usage ```ruby require "microformats2" source = '
Jessica Lynn Suttles