REHTML
Pure Ruby html parser.
This library parse html and build rexml document.
Nokogiri is very convenient, but the installation is complex because it do I need to build a native library, it is not suitable for chef.
Installation
Add this line to your application's Gemfile:
gem 'rehtml'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rehtml
Usage
doc = REHTML.to_rexml(open('https://github.com/nazoking/rehtml').read)
Contributing
- Fork it ( http://github.com/nazoking/rehtml/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request