htmltext

package
v0.0.0-...-883d24b Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearText

func ClearText(html string) (text string)

ClearText clear HTML, get the clear text

func FetchExcerpt

func FetchExcerpt(html, trimMarker string, limit int) (text string)

FetchExcerpt return the excerpt from the HTML string

func GetPicByUrl

func GetPicByUrl(Url string) string

func UrlTitle

func UrlTitle(title string) (text string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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