# Microby
A Ruby gem to parse HTML containing a Microformat 2 h-feed element, returning an a collection of
serialized h-entry objects. The returned Object structure looks something like this:
- HFeed
- HEntry
- name
- summary
- email
- content
- author
- HCard
- categories
- {}
- HEntry
- ...
[Microformats H-Entry](http://microformats.org/wiki/microformats-2#h-entry)
## Current Version
0.0.2
## Requirements
* [Nokogiri](http://nokogiri.org)
## Installation
### Gemfile
Add this line to your application's Gemfile.
```ruby
gem 'microby'
```
### Manual
Or install it yourself.
```bash
gem install microby
```
## Usage
```ruby
Microby.parse(File|URL)
```
[Example Gist](https://raw.github.com/gist/84b2c0b0ea991cc12dfb/84c735583bb90d345a8ede203a3df3d6cb486e10/g5-hub-feed.html)
## Authors
* Bookis Smuin / [@bookis](https://github.com/bookis)
## Contributions
1. Fork it
2. Get it running (see Installation above)
3. Create your feature branch (`git checkout -b my-new-feature`)
4. Write your code and **specs**
5. Commit your changes (`git commit -am 'Add some feature'`)
6. Push to the branch (`git push origin my-new-feature`)
7. Create new Pull Request
If you find bugs, have feature requests or questions, please
[file an issue](https://github.com/G5/picture_tag-rails/issues).
### Specs
```bash
rake spec
```
### Releases
```bash
TODO how do you do a release?
```
## License
Copyright (c) 2012 G5
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.