Sha256: aa5d46d08fcfe4c9f559e81ac0813b9e656a32f70985efc01347ea76f3c8c478
Contents?: true
Size: 823 Bytes
Versions: 1
Compression:
Stored size: 823 Bytes
Contents
# ruby-gumbo ## Description `ruby-gumbo` is a ruby binding for the Gumbo HTML5 parser. ## Installation `ruby-gumbo` can be directly installed from http://rubygems.org: gem install ruby-gumbo Or you can create the gem with `rake package`, then install it with `gem install` (the gem file is in the `pkg` directory). ## Example ```ruby require 'net/http' html = Net::HTTP.get URI.parse('http://example.org') Gumbo::parse(html) {|doc| doc.dump_tree} ``` Result: ``` <HTML> <HEAD> <TITLE> <META charset> <META http-equiv content> <META name content> <STYLE type> <BODY> <DIV> <H1> <P> <P> <A href> ``` You can find more examples in the `examples` directory. ## Contact If you have found a bug, have an idea or a question, email me at <khaelin@gmail.com>.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-gumbo-1.0.2 | README.mkd |