Microdata v0.2.2 API Reference

Modules

Microdata is an Elixir library for parsing microdata from a provided document

Microdata.Document is the base struct returned after parsing a microdata document

Microdata.Helpers is a module for generic parsing helpers (ie those not coupled to the parsing mechanism)

Microdata.Item structs are read from a Microdata.Document’s source

Microdata.Property structs are key/value mappings for data parsed from Microdata.Items’ source

Defines the required interface for a strategy to extract microdata from a Meeseeks.Document

Microdata.Strategy.HTMLMicrodata defines a strategy to extract HTML microdata from a Meeseeks.Document, based on the W3C HTML Microdata format

Microdata.Strategy.JSONLD defines a strategy to extract linked data from a Meeseeks.Document, based on the W3C JSON-LD standard

Exceptions

Microdata.Error provides a generic error struct implementing the Exception behaviour and containing three keys: type, reason, and metadata