Sha256: d0f8e1fcdc84e7ccad2d204ef50040bfc12df0a5c69f3322c28a42e2ba4075b6

Contents?: true

Size: 1006 Bytes

Versions: 3

Compression:

Stored size: 1006 Bytes

Contents

# Microformats::Helper


## Description

Microformats helper that supports nesting.

First usable iteration is VERSION 0.2.6


## 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

3 entries across 3 versions & 1 rubygems

Version Path
microformats-helper-0.4.0 README.md
microformats-helper-0.3.1 README.md
microformats-helper-0.3.0 README.md