epub-metadata-4.5: Library for parsing epub document metadata

Safe HaskellNone
LanguageHaskell2010

Codec.Epub.Parse

Description

The main parsing interface, these get* functions are intended to be used by consumers of this library

This module is called Parse because it invokes the XML parsing machinery of this library, but consumers of the library do not have to interact with HXT, Arrows or XML directly.

Synopsis

Documentation

getGuide :: (MonadIO m, MonadError String m) => String -> m [GuideRef] Source #

Parse epub guide items from a String representing the epub XML Package Document

getManifest :: (MonadIO m, MonadError String m) => String -> m Manifest Source #

Parse epub manifest data from a String representing the epub XML Package Document

getMetadata :: (MonadIO m, MonadError String m) => String -> m Metadata Source #

Parse epub metadata from a String representing the epub XML Package Document

getPackage :: (MonadIO m, MonadError String m) => String -> m Package Source #

Parse epub package info from a String representing the epub XML Package Document

getSpine :: (MonadIO m, MonadError String m) => String -> m Spine Source #

Parse epub spine info from a String representing the epub XML Package Document