readability v0.7.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()
html_tree() :: tuple | list

Functions

h_tag_title(html_tree, selector \\ "h1, h2, h3")
h_tag_title(html_tree, String.t) :: binary

Find title from h tag

og_title(html_tree)
og_title(html_tree) :: binary

Find title from og:title property of meta tag

tag_title(html_tree)
tag_title(html_tree) :: binary

Find title from title tag

title(html_tree)
title(html_tree) :: binary

Find proper title