The epub-metadata package

[Tags: bsd3, library]

Library for parsing and manipulating epub document metadata. Supports epub versions 2 and 3. This library was constructed by studying the IDPF specifications for epub documents found here http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm and here http://www.idpf.org/epub/30/spec/epub30-publications.html


[Skip to ReadMe]

Properties

Versions1.0.2, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.2.0.0, 2.2.0.1, 2.3.0, 2.3.1, 2.3.2, 3.0, 4.0, 4.1, 4.2, 4.3
Change logchangelog.md
Dependenciesbase (>=3 && <5), bytestring, containers, directory, filepath, hxt (>=9), mtl, regex-compat, zip-archive [details]
LicenseBSD3
Copyright2010-2015 Dino Morelli
AuthorDino Morelli
MaintainerDino Morelli <dino@ui3.info>
Stabilityexperimental
CategoryCodec, Text
Home pagehttp://hub.darcs.net/dino/epub-metadata
Source repositoryhead: darcs get http://hub.darcs.net/dino/epub-metadata
UploadedTue May 26 00:54:48 UTC 2015 by DinoMorelli
DistributionsNixOS:4.3
Downloads2288 total (113 in last 30 days)
Votes
0 []
StatusDocs available [build log]
Last success reported on 2015-05-26 [all 1 reports]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for epub-metadata-4.3

epub-metadata

Synopsis

Library for parsing epub document metadata (Haskell)

Description

Library for parsing and manipulating epub document metadata. Supports epub versions 2 and 3.

This library was constructed by studying the IDPF specifications for epub documents found here for version 2.x and here for version 3.x

Why was this done?

The motivation for this project grew out of my desire to take charge of missing or incorrect epub metadata in books I have purchased. I started out using the Calibre open source tools for examining this info. Limitations and incomplete implementation of those tools led me here to build a more complete implementation in the programming language that I love beyond all others.

Why didn't I just use existing solutions?

Calibre ebook-meta utility

I experienced various problems using this software, such as:

epub on Hackage, epub E-Book construction support library

Using this library

Please see the Haddock documentation or source code for Codec.Epub

This file has a working example of using this library.

Getting source

And once you have it, building the usual way:

$ cabal configure --enable-tests
$ cabal build
$ cabal test
$ cabal haddock
$ cabal install

Installing

Build and install with cabal-install: $ cabal update ; cabal install epub-metadata

Contact

Dino Morelli [dino@ui3.info](mailto:dino@ui3.info)