Skip to content

Cookbook: Generating OBJ datastreams for book and newspaper pages if you have no master files

Mark Jordan edited this page Nov 14, 2016 · 1 revision

By default, the CdmNewspapers and CdmBooks toolchains create an OBJ datastream for each page from a master TIFF, JP2, or JPEG file. However, in come cases, you may not have the master TIFFs for a newspaper or collection of books in CONTENTdm. This poses a problem, since the OBJ datastream is required by both the Islandora Book and Newspaper Solution Packs.

In cases where you do not have a master file to use as your book and newspaper page OBJ datastream, you can configure MIK to create an OBJ datastream file from a copy of the JP2 or JPEG datastream file. To do this, include in your .ini file a list of datastreams that does not include OBJ. e.g.,

datastreams[] = MODS
datastreams[] = JP2
datastreams[] = TN
datastreams[] = JPEG
datastreams[] = OCR
; datastreams[] = OBJ

In this case, MIK will create an OBJ datastream file from the JP2 it gets from CONTENTdm, and in the absence of a JP2 file, from the JPEG file.

In addition, if you want to skip the creation of an OBJ datastream completely (for example, during initial testing of the toolchain configuration), include the skip_obj = true option in your CdmBooks [WRITER] section. If this option is present and set to true, no OBJ datastream will be generated.

Cookbook table of contents

Clone this wiki locally