All Downloads are FREE. Search and download functionalities are using the official Maven repository.

doc.transformers.us_rfbd_nimasCreator.html Maven / Gradle / Ivy

The newest version!





Transformer documentation:  us_rfbd_nimasCreator



Transformer documentation: us_rfbd_nimasCreator

Transformer Purpose

The purpose of this transformer is to create a NIMAS fileset from a valid DTBook document, referenced images, and associated PDF.

Input Requirements

A valid DTBook document; all referenced images in appropriate folder structure; PDF of cover. The DTBook document and the root of the image hierarchy should be in the same directory. Also, all required metadata, which may be either given as parameters or in the DTBook file itself.

Output

On success

A copy of all input files plus a valid package file delivered to a given output directory.

On error

On error, this transformer will throw an exception and abort execution.

Configuration/Customization

Parameters (tdf)

xml
The input DTBook document
pdf
The input PDF document
output
The directory into which to place the output NIMAS fileset
dc:title
Dublin Core title
dc:identifier
Dublin Core Identifier
dc:language
Dublin Core Language
dc:publisher
Dublin Core Publisher
dc:date
Dublin Core Date (date of publication)
dc:rights
Dublin Core Rights
dc:source
Dublin Core Source (ISBN)
nimas-SourceEdition
NIMAS source edition
nimas-SourceDate
NIMAS source date

Extended configurability

[None]

Further development

  • Need to implement autodetect of metadata from dtbook
  • Add optional metadata items per NIMAC spec
  • Rename metadata parameters to something more helpful
  • Create script to use this transformer in conjunction with dtbook repairs

Dependencies

org.daisy.util.dtb.builder.OpfBuilder

Author

James Pritchett

Licensing

LGPL




© 2015 - 2025 Weber Informatics LLC | Privacy Policy