Module Nokogiri::HTML5
In: lib/nokogumbo.rb

Methods

fragment   get   parse  

Public Class methods

while fragment is on the Gumbo TODO list, simulate it by doing a full document parse and ignoring the parent <html>, <head>, and <body> tags, and collecting up the children of each.

Fetch and parse a HTML document from the web, following redirects, handling https, and determining the character encoding using HTML5 rules. uri may be a String or a URI. options contains http headers and special options. Everything which is not a special option is considered a header. Special options include:

 * :follow_limit => number of redirects which are followed
 * :basic_auth => [username, password]

Parse an HTML document. string contains the document. string may also be an IO-like object. Returns a +Nokogiri::HTML::Document+.

[Validate]