Description Details Fields Methods
A HTML Document.
A HTML Document.
document
:Object of class
"jobjRef"
new(...)
: Create a new
Document
object. ... is used to define the
appropriate slots.
connect(url)
: Creates
a new Connection
to a URL. Use to fetch and
parse a HTML page. To the connection you can add data,
cookies, and headers; set the user-agent, referrer,
method; and then execute.
url:
URL to connect to. The protocol must be http or https.
parse(html, baseUri)
:Parse HTML into a Document. The parser will make a sensible, balanced document tree out of any HTML.
html:
A character string. HTML to parse
baseUri:
A boolean. The URL where the HTML was retrieved from. Used to resolve relative URLs to absolute URLs, that occur before the HTML declares a <base href> tag. If NA is specified, absolute URL detection relies on the HTML including a <base href> tag.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.