Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHeadElementValue ¶
GetHeadElementValue get the value of element from the <head> of the reader r. Useful for getting the title of an HTML page, for example.
func GetHeadProperty ¶
GetHeadProperty gets the valAttr attribute's value from the element that has keyAttrVal for keyAttrName.
func GetHeadPropertyNoScripting ¶ added in v0.7.7
func GetHeadPropertyNoScripting(r io.Reader, element, keyAttrName, keyAttrVal, valAttr string) (string, error)
GetHeadPropertyNoScripting gets the valAttr attribute's value from the element that has keyAttrVal for keyAttrName but disables scripting during the parsing of the html.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.