contents

package
v0.0.0-...-60192f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package contents provide extraction processes for content processing (readability) and plain text conversion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableReadability

func EnableReadability(e *extract.Extractor, v bool)

EnableReadability enables or disable readability in the extractor context.

func IsReadabilityEnabled

func IsReadabilityEnabled(e *extract.Extractor) (enabled bool, forced bool)

IsReadabilityEnabled returns true when readability is enabled in the extractor context.

func Readability

func Readability(options ...func(*readability.Parser)) extract.Processor

Readability is a processor that executes readability on the drop content.

func Text

Text is a processor that sets the pure text content of the final HTML.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL