Provides a framework for migrating content out of CONTENTdm and into Islandora given XML data mapped from an export from CONTENTdm.
This module extends the Islandora Batch framework and works in much the same way. The ingest is a two-step process:
- Preprocessing: The data is scanned and a number of entries are created in the Drupal database. There is minimal processing done at this point, so preprocessing can be completed outside of a batch process.
- Ingest: The data is actually processed and ingested. This happens inside of a Drupal batch.
This module requires the following modules/libraries:
Install as usual, see this for further information.
The base XML preprocessor can be called as a drush script (see drush help xml_based_contentdm_migration_preprocess for additional parameters):
drush -v -u 1 --uri=http://localhost xml_based_contentdm_migration_preprocess --xml_source=/path/to/the/xml/file --parent=parent:pid --namespace=namespace
This will populate the queue (stored in the Drupal database) with base entries.
NOTE: Preprocessing uses identifiers within the XML to map PIDs. If an object exists it will not be added to the database to be ingested again and will be skipped.
NOTE: Parent collections need to exist before preprocessing occurs and they
should be passed as the --parent
parameter so namespaces are accurate across
their children as the default will be islandora
otherwise.
The queue of preprocessed items can then be processed:
drush -v -u 1 --uri=http://localhost islandora_batch_ingest --set_id=thesetid
Having problems or solved a problem? Contact discoverygarden.
Current maintainers:
If you would like to contribute to this module, please check out our helpful Documentation for Developers info, Developers section on Islandora.ca and contact discoverygarden.