Documentation ¶
Index ¶
- func ExtractTextFromHTMLFile(name string, charsets ...string) (string, error)
- func ExtractTextFromHTMLNode(node *html.Node) string
- func ExtractTextFromHTMLString(html string) (string, error)
- func FindElementNode(n *html.Node, tag atom.Atom) *html.Node
- func FindElementNodes(n *html.Node, tag atom.Atom) (ns []*html.Node)
- func GetMetas(n *html.Node) map[string]string
- func GetTitle(n *html.Node) string
- func HTMLFileTextify(w io.Writer, name string, charsets ...string) error
- func HTMLReaderTextify(w io.Writer, r io.Reader) error
- func HTMLStringTextify(w io.Writer, html string) error
- func ParseHTMLFile(name string, charsets ...string) (*html.Node, error)
- func Stringify(n *html.Node) string
- func Textify(n *html.Node, w io.Writer) error
- type Textifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractTextFromHTMLFile ¶
func ExtractTextFromHTMLNode ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.