Connector Framework Server 26.3
Connector Framework Server Help

# 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 2026 Open Text
Version 26.3 | Last updated July 2026

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Connector Framework Server 26.3

Topic Title: extract_html_content