Readability.TitleFinder (readability2 v0.7.0)

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

@type html_tree() :: tuple() | list()

Link to this section Functions

Link to this function

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

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

Find title from h tag

Link to this function

og_title(html_tree)

@spec og_title(html_tree()) :: binary()

Find title from og:title property of meta tag

Link to this function

tag_title(html_tree)

@spec tag_title(html_tree()) :: binary()

Find title from title tag

Link to this function

title(html_tree)

@spec title(html_tree()) :: binary()

Find proper title