Islandora Batch Derivative Trigger provides a way to trigger the bulk generation or regeneration of derivatives and DC metadata on objects.
It allows for per-DSID generation or regeneration of derivatives on objects, as they are defined by the objects' content model, as well as per-metadata-mapping regeneration of objects' DC metadata, as it is defined by either DC XSLTs associated with the content model, or by Default DC XSLTs defined in the XML Forms management page.
This can be done either on a collection's management page (fieldsets are added to the collection management form to facilitate this), or via Drush (check drush help deriv-regen
and drush help dcmd-regen
for details).
The list of datastreams to run the tool against is generated from hook_islandora_derivative()
, so installing other modules that implement that hook allows one to retroactively generate derivatives on objects in the collection. A checkbox (and Drush option) is provided to toggle the derivative regeneration "force" option so that only missing datastreams are generated.
DC metadata regeneration is available using any XSLT and source DSID combination defined for that particular content model via xml_form_builder. When using Drush, these mapping strategies are required. Check drush help md-mappings
for information on how to get valid metadata mappings for objects.
Islandora Batch Derivative Trigger is dependent on the following modules:
- Islandora
- Islandora XML Form Builder
- Islandora Basic Collection
The module can be installed using standard Drupal module installation methods.
- The pager currently adds an extra &content_model entry to the URL query parameters after the first page. This doesn't really hurt anything, but it would be nice to fix.
Having problems or solved a problem? Check out the Islandora google groups for a solution.
Current maintainers:
If you would like to contribute to this module, please check out our helpful Documentation for Developers info, as well as our Developers section on the Islandora.ca site.