Sha256: 2935e7bfef3cf9cc7935b08b14610cb627e106834a451097a0877e5fa2482df7
Contents?: true
Size: 996 Bytes
Versions: 1
Compression:
Stored size: 996 Bytes
Contents
# Microformats::Helper ## Description Microformats helper that supports nesting. First commits, not tested yet. ## Installation Add this line to your application's Gemfile: gem 'microformats-helper' And then execute: $ bundle Or install it yourself as: $ gem install microformats-helper ## Usage generate_microformats(container,props,child) ### parameter examples: container = { itemprop: nil, itemtype: "Product" } props = { name: { value: "Executive Anvil"}, brand: { value: "ACME" }, category: { content: "Hardware > Tools > Anvils", value: "Anvils"}, description: { value: "Sleeker than ACME's Classic Anvil..." } } child = generate_microformats(child_container,child_props) ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
microformats-helper-0.2.6 | README.md |