package oepub

  1. Overview
  2. Docs

Module Oepub.MetadataSource

Module representing the matadata tag in content.opf. Currently, the tag namespace are deleted.

For instance, the entriy <dc:author> should be looked for with author.

Sourcetype entry = {
  1. attributes : (string * string) list;
  2. value : string option;
}

the type of the metadata value

Sourcetype entries = (string * entry) list

the type of the metadata

Sourceval author : entries -> string option

author metadata returs the value associated with the field author

Sourceval title : entries -> string option

title metadata returs the value associated with the field title

Sourceval language : entries -> string option

language metadata returs the value associated with the field language