HTMLDate.JSONLD (html_date v0.6.0)
View SourceParses publication dates from HTML <script type="application/ld+json"> tag.
Summary
Functions
@spec parse(LazyHTML.t()) :: [{String.t(), String.t()}]
@spec parse_all_json_ld(LazyHTML.t()) :: [map()]
Parses publication dates from HTML <script type="application/ld+json"> tag.
@spec parse(LazyHTML.t()) :: [{String.t(), String.t()}]
@spec parse_all_json_ld(LazyHTML.t()) :: [map()]