# 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 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm