Enrich METS file
Step Plugin for the automatic enrichment of METS files with the associated media files
Last updated
Step Plugin for the automatic enrichment of METS files with the associated media files
Last updated
Identifier
intranda_step_mets_enhancer
Licence
GPL 2.0 or newer
Last change
16.02.2025 19:52:46
This documentation explains the Step plugin for Goobi workflow for the automatic enrichment of METS files with the associated media files. Depending on the configuration, pagination can also be generated automatically and additional metadata added.
To use the plugin, the following files must be installed:
Once the plugin has been installed, it can be selected within the workflow for the respective workflow steps and thus executed automatically.
To use the plugin, it must be selected in a workflow step as follows:
The plugin is usually used if it is not intended to work manually on the METS file within the workflow and to publish it automatically. In this case, a workflow could look like this, for example:
In this case, the METS file is automatically opened by the plugin and enriched as configured. Firstly, all media files from the file system of the process are reassigned to the topmost structural element. Depending on the configuration, different types of pagination can also be created if required. The configuration can also be used to automatically add further metadata for the top-level structure element.
The plugin is configured in the file plugin_intranda_step_mets_enhancer.xml
as shown here:
The <config>
block can occur repeatedly for different projects or work steps in order to be able to perform different actions within different workflows. The other parameters within this configuration file have the following meanings:
project
This parameter defines which project the current block <config>
should apply to. The name of the project is used here. This parameter can occur several times per <config>
block.
step
This parameter controls which work steps the <config>
block should apply to. The name of the work step is used here. This parameter can occur several times per <config>
block.
In addition to these general parameters, the following parameters are available for further configuration:
<createPagination>
The value ‘true’ can be used here to specify whether pagination should be created automatically. This can also be defined using the ‘type’ attribute. The following types are available for pagination: uncounted
, roman
, ROMAN
or arabic
<addMetadata>
Further metadata to be added to the top-level structural element can be defined in the configuration here. The type
attribute defines the desired metadata type as it is available in the rule set, and the value
attribute is used to specify the value to be used. This element is repeatable.