Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct {
Title string
Byline string
ContentHTML string
Text string
Excerpt string
TopImageURL string
}
Article represents the extracted main content of an HTML document.
ContentHTML contains a sanitized HTML fragment of the main article. Text contains plain text derived from ContentHTML. Excerpt is a short summary derived from the beginning of the Text.
Click to show internal directories.
Click to hide internal directories.