Connector Framework Server 12.11

# 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.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Connector Framework Server 12.11

Topic Title: extract_html_content