This step plugin allows you to export the metadata and content of a Goobi process to a configurable path
This plugin allows a flexible export of data of a process into a defined target directory. This plugin can be configured very granularly to include selected data in the export. In addition, a transformation of the internal and the export METS file via XSLT is also possible here and thus allows a wide range of usage scenarios.
GPL 2.0 or newer
To install the plugin, the following file must be installed:
To configure how the plugin should behave, various values can be adjusted in the configuration file. The configuration file is usually located here:
The configuration of the plugin is structured as follows:
order of configuration is:
1.) project name and step name matches
2.) step name matches and project is *
3.) project name matches and step name is *
4.) project name and step name are *
<!-- which projects to use for (can be more then one, otherwise use *) -->
<!-- export path -->
<!-- use subfolder for each process -->
<!-- a zip file with the subfolder-name will be created -->
<!-- which image folders to use (master|media|jpeg|source|...) -->
<!-- use the attribute filegroup, if you want to add checksums to the files within the filegroup. The checksums are taken from the configured folder -->
<!-- which additional folders to use -->
<!-- generate UUIDs for each mets:fileGrp and mets:file -->
<!-- add checksums to mets:files -->
<!-- command to use to validate the exported images -->
<!-- if the internal METS file shall get transformed into another file define the path of the xsl file here -->
<!-- if the METS file shall get transformed into another file define the path of the xsl file here -->
<config>can occur repeatedly for different projects or workflow steps in order to be able to carry out different actions within different workflows. The other parameters within this configuration file have the following meanings:
This parameter determines the project for which the current block
This parameter controls for which workflow steps the block
This parameter defines the main path where the export of the process as a subfolder with the process name should be exported to.
This parameter determines whether a subfolder is to be created for each process.
This parameter can be used to determine whether a zip file is to be created for each process.
Several directories can be specified for the images or digital copies. This can include, for example, the master images and the derivatives. If the METS file is to contain checksums for the individual images, the attribute
This parameter specifies whether the OCR results are to be exported as well.
If the contents of the
If the contents of the
If the contents of the
If the contents of the TaskManager directory
With this parameter you can specify that the contents of the
If UUIDs (v4) are to be used for linking between
When this option is enabled, the exported data is compared with previously generated checksums to verify successful export. If file groups were also configured when configuring the
Contains the command line tool used to perform the verification.
This parameter defines whether the Goobi workflow internal METS file should be copied to the target directory.
This parameter can be used to specify whether the internal METS file should be processed using the XSLT transformation file defined here.
If the internal METS file is to be transformed using XSLT, you can specify here what the name of the file to be generated should be.
This parameter defines whether the export METS file from Goobi workflow should be copied to the target directory.
This parameter can be used to specify whether the export METS file should be processed using the XSLT transformation file defined here.
If the export METS file is to be transformed using XSLT, you can specify here what the name of the file to be generated should be.
To use the plugin, it must be activated for one or more desired tasks in the workflow. This is done as shown in the following screenshot by selecting the plugin 'intranda_step_exportPackage' from the list of installed plugins.
Assigning the plugin to a specific task
Since this plugin is usually to be executed automatically, the step in the workflow should be configured as automatic.
Once the plugin is fully installed and set up, it is usually executed automatically within the workflow, so there is no manual interaction with the user. Instead, the workflow calls the plugin in the background and performs the configured export to the target directory. The specified contents are all copied into a subdirectory of the defined export path.
Depending on the configuration, an XSLT transformation of the internal or the export METS file can be carried out in addition to the export of the data in order to bring it into a desired format. Depending on this transformation as well as the name of the transformation file, it is finally also saved in the folder of the exported processes.