readability2 v0.4.0 Readability.TitleFinder

The TitleFinder engine traverses HTML tree searching for finding title.

Link to this section Summary

Functions

Find title from og:title property of meta tag

Find title from title tag

Find proper title

Link to this section Types

Specs

html_tree() :: tuple() | list()

Link to this section Functions

Link to this function

h_tag_title(html_tree, selector \\ "h1, h2, h3")

Specs

h_tag_title(html_tree(), String.t()) :: binary()

Find title from h tag

Link to this function

og_title(html_tree)

Specs

og_title(html_tree()) :: binary()

Find title from og:title property of meta tag

Link to this function

tag_title(html_tree)

Specs

tag_title(html_tree()) :: binary()

Find title from title tag

Link to this function

title(html_tree)

Specs

title(html_tree()) :: binary()

Find proper title