package oepub

  1. Overview
  2. Docs

Module Oepub.OpfSource

Module representing the content.opf file in the epub archive.

See EpubArchive to generate a Opf.t from the epub archive.

Sourcetype t

type representing the content.opf file

Sourceval create : ?author:string -> title:string -> Metadata.entries -> Manifest.ref Manifest.t -> Spine.t -> t

create ?author ~title metadata manifest spine creates a representation of the content.opf.

Sourceval title : t -> string

title opf returns the title of book.

Sourceval author : t -> string option

author opf returns the author of the book

Sourceval metadata : t -> Metadata.entries

metadata opf returns the metadata associated.

Sourceval manifest : t -> Manifest.ref Manifest.t

manifest opf returns the manifest.

Sourceval spine : t -> Spine.t

spine opf returns the spine associated.

OCaml

Innovation. Community. Security.