readability2 v0.4.0 Readability.Helper
Helpers for parsing, updating, removing html tree
Link to this section Summary
Functions
Check html_tree can be candidate or not.
Change existing tags by selector
Normalize and Parse to html tree(tuple or list)) from binary html
Remove html attributes
Remove tags
Count only text length
Link to this section Types
Link to this type
html_tree()
Specs
Link to this section Functions
Link to this function
candidate_tag?(html_tree)
Specs
Check html_tree can be candidate or not.
Link to this function
change_tag(content, selector, tag)
Specs
Change existing tags by selector
Link to this function
normalize(raw_html, opts \\ [])
Specs
Normalize and Parse to html tree(tuple or list)) from binary html
Link to this function
remove_attrs(content, t_attrs)
Specs
Remove html attributes
Link to this function
remove_tag(content, fun)
Specs
Remove tags
Link to this function
text_length(html_tree)
Specs
Count only text length