Open topic with navigation

# Extract Content from HTML

HTML pages often contain irrelevant content such as invalid HTML, headers, sidebars, advertisements, and scripts. HPE CFS can extract the useful information from the page and discard the irrelevant content.

To extract the useful information from an HTML page, use the `HtmlExtraction` import task. This task works only on HTML files and ignores other file types.

HPE CFS reads the HTML document, and discards data such as invalid HTML, headers, sidebars, advertisements, and scripts. In the remaining content, HPE CFS then extracts blocks of text that contain a large number of stopwords and a low proportion of links. This text is likely to be the most important content. Because HPE CFS automatically determines which content is relevant, there are no configuration parameters for customizing this task.

HPE recommends that you configure the `HtmlExtraction` task as a Pre import task. For example:

    [ImportTasks]
    Pre0=HtmlExtraction

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm