readability v0.4.0 Readability.TitleFinder

The TitleFinder engine traverses HTML tree searching for finding title.

Summary

Functions

Find title from og:title property of meta tag

Find title from title tag

Find proper title

Types

html_tree :: tuple | list

Functions

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

Specs

h_tag_title(html_tree, String.t) :: binary

Find title from h tag

og_title(html_tree)

Specs

og_title(html_tree) :: binary

Find title from og:title property of meta tag

tag_title(html_tree)

Specs

tag_title(html_tree) :: binary

Find title from title tag

title(html_tree)

Specs

title(html_tree) :: binary

Find proper title