View Source HTMLDate.JSONLD (html_date v0.4.0)

Parses publication dates from HTML <script type="application/ld+json"> tag.

Link to this section Summary

Link to this section Functions

Link to this function

articles_from_graph(arg1)

View Source

Specs

parse(Floki.HTMLTree.t()) :: [{String.t(), String.t()}]
Link to this function

parse_all_json_ld(html_tree)

View Source

Specs

parse_all_json_ld(Floki.HTMLTree.t()) :: [map()]
Link to this function

parse_attributes(map, acc \\ [], options \\ [])

View Source