Code Monkey home page Code Monkey logo

islandora_book_batch's Introduction

BUILD STATUS

Current build status: Build Status

CI Server: http://jenkins.discoverygarden.ca

ISLANDORA BOOK BATCH

CONTENTS OF THIS FILE

  • summary
  • requirements
  • installation
  • configuration
  • usage
  • customization
  • troubleshooting
  • faq
  • contact
  • sponsors

SUMMARY

This module plugs into the islandora_batch batch framework, to allow full books to be ingested.

The ingest is a two-step process:

  • Preprocessing: The data is scanned, and a number of entries created in the Drupal database. There is minimal processing done at this point, so it can complete outside of a batch process.
  • Ingest: The data is actually processed and ingested. This happens inside of a Drupal batch.

REQUIREMENTS

Both the islandora_batch and the islandora_book modules must be installed.

INSTALLATION

Install in the same way as any other Drupal module.

CONFIGURATION

USAGE

We extend the base ZIP/directory preprocessor, so we can be called something like (see "drush help islandora_book_batch_preprocess" for additional parameters): "drush -v --user=admin --uri=http://localhost islandora_book_batch_preprocess --type=zip --target=/path/to/archive.zip" should serve to populate the queue (stored in the Drupal database) with base entries.

Books must be broken up into separate directories, such that each directory at the "top" level (in the target directory or Zip file) represents a book. Book pages are their own directories inside of each book directory. Files are assigned to object datastreams based on their basename, so a folder structure like:

  • my_cool_book/
    • MODS.xml
    • 1/
      • OBJ.tiff
    • 2/
      • OBJ.tiff

would result in a two-page book.

A file named --METADATA--.xml can contain either MODS, DC or MARCXML which we will use to fill in the MODS or DC streams (if not provided explicitly). Similarly, --METADATA--.mrc (containing binary MARC) will be transformed to MODS and then possibly to DC, if neither are provided explicitly.

If no MODS is provided at the book-level--either directly as MODS.xml, or transformed from either a DC.xml or the "--METADATA--" file discussed above--the directory name will be used as the title.

The ingest of preprocessed items remains the same--something like: "drush -v --user=admin --uri=http://localhost islandora_batch_ingest"

CUSTOMIZATION

TROUBLESHOOTING

F.A.Q.

CONTACT

SPONSORS

islandora_book_batch's People

Contributors

adam-vessey avatar dltj avatar jordandukart avatar morgandawe avatar nigelgbanks avatar philsogadgi avatar willtp87 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.