Skip to content

nevir/ruby-gumbo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-gumbo

Ruby bindings for Google's Gumbo HTML5 parser.

Getting Started

Stick it in your Gemfile!

gem 'ruby-gumbo', '~> 1.1'

And then parse away:

require 'gumbo'
doc = Gumbo::parse(html)

You'll probably want to peruse the documentation to see how to navigate a document and its nodes.

Developing

Grab the repository, and make sure to include submodules:

git checkout https://github.com/nevir/ruby-gumbo --recursive

And from there you should be able to rake build and gem install pkg/*.gem.

License

ruby-gumbo is licensed under the ISC license, and packages the gumbo-parser library (APACHE v2.0).

This is not a Google product and is not supported by Google in any way.

About

A ruby binding for the gumbo html5 parser

Resources

License

Stars

Watchers

Forks

Packages

No packages published