extract_html_content
The extract_html_content
function extracts the meaningful textual content from an HTML file, and writes the text into the DRECONTENT
field of the document.
Syntax
extract_html_content( doc [, Filename])
Arguments
Argument | Description |
---|---|
doc
|
(LuaDocument) The document into which the extracted content is written. |
Filename
|
(string) The filename of the HTML document from which to extract content. If you do not specify a value for this argument, the function uses the file associated with the document. |
Returns
Boolean. Returns true
if the operation is successful.