epub-metadata-3.0: Library for parsing and manipulating EPUB files and OPF package data

Safe HaskellSafe-Inferred

Codec.Epub2.Opf.Package.Spine

Description

Data types for working with the metadata of ePub documents

These data types were constructed by studying the IDPF OPF specification for ePub documents found here:

http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm

Synopsis

Documentation

data Spine Source

package/spine tag

Constructors

Spine 

Fields

spineToc :: MFItemId

toc attr. Must reference the NCX in the manifest

spineItemrefs :: [SpineItemref]
 

Instances

data SpineItemref Source

package/spine/itemref tag

Constructors

SpineItemref 

Fields

siIdRef :: MFItemId

idref attr. Must reference item in manifest

siLinear :: Maybe Bool

linear attr