README.md in microformats-4.0.1 vs README.md in microformats-4.0.2

- old
+ new

@@ -32,13 +32,13 @@ * [include-pattern](http://microformats.org/wiki/include-pattern) ## Current Version -4.0.1 +4.0.2 -![Version 4.0.1](https://img.shields.io/badge/VERSION-4.0.1-green.svg) +![Version 4.0.2](https://img.shields.io/badge/VERSION-4.0.2-green.svg) ## Requirements * [nokogiri](https://github.com/sparklemotion/nokogiri) @@ -120,11 +120,27 @@ ``` * `source` can be a URL, filepath, or HTML +### Console utility +This gem also provides a command like script 'microformats' that will return the JSON equivalent +``` +microformats http://example.com +``` + +You can give the microformats script a URL, filepath, or HTML + +additionally, the script will accept input piped from stdin + +``` +curl http://example.com | microformats +``` + + + ## Ruby Gem release process Check out latest code from GitHub repo. ``` @@ -210,12 +226,11 @@ This uses a copy of [microformats tests repo](https://github.com/microformats/tests). To run specs ``` rake spec -``` -###Interactive +### Interactive You can use the code interacively for testing but running ``` bundle console ```