Developments and innovations to Goobi workflow in November 2022
Together with a partner we developed a process chain that allows to import records exported from an easydb fully automatically into Goobi workflow, to process them and to export them into a Goobi viewer. For this process chain three plugins were used and extended to meet the requirements of the project.
The generic XML OPAC plugin can now not only query a remote API, but also read XML files from the file system.
The DataPoller (formerly CataloguePoller) has been extended as part of the project to not only work over a filter set of tasks, but also iterate over the files in a folder. Also new is the functionality for individual work orders to be processed through the internal ticket queue.
The Fetch-Images-From-Metadata step plugin has undergone minor adjustments to, for example, find files without file extensions, deal with duplicate file names, or skip error messages for missing images.
The process chain also works periodically, creating new operations or updating existing ones. Once imported, records proceed through the workflow steps as usual.
The core of Goobi workflow has been extended to offer plugins within the metadata editor. These plugins are integrated in the blue header at the top and provide their functionality.
The decisive factor for the development was the requirement to be able to change the publication type within the metadata editor. For this, template processes should be created and certain, marked metadata should be taken over during the change.
Plugins in the metadata editor at the top of the blue bar
Metadata editor plugin to change publication type
It happens again and again that certain metadata are to be formed automatically from other values. An example could be the main title of a letter, which should always be generated as follows: "
Letter from [sender] to [recipient] at [place], [date]".
To provide this functionality in the metadata editor the configuration file
goobi_metadataDisplayRules.xmlwas extended by the possibility to generate values from other metadata values for certain metadata under configurable conditions.
A configuration for the above example could look like this:
<value>Letter from [ACTOR_FROM] to [ACTOR_TO] at [PLACE], [DATE]</value>
<field>goobi:metadata[@type='group'][@name='name'][goobi:metadata[@name='name_role_roleTerm'][text()='is created by (intellectual)']]/goobi:metadata[@name='name_displayForm']</field>
<field>goobi:metadata[@type='group'][@name='name'][goobi:metadata[@name='name_role_roleTerm'][text()='is intended for']]/goobi:metadata[@name='name_displayForm']</field>
<field>goobi:metadata[@type='group'][@name='location_related_place'][goobi:metadata[@name='location_holdingExternal_relation_type'][text()='is bound from']]/goobi:metadata[@name='location_physicalLocation_related_place']</field>
Within the metadata editor there is now the possibility to generate a PDF of all images at any time. For this purpose there is a new PDF button in the left column with the structure tree
PDF download in metadata editor
There is a new step plugin to rename a task within a workflow. For this purpose, the variables available in Goobi workflow can be used. Additionally underscores and minus are allowed as characters. Empty variables are skipped and spaces are removed.
The plugin for exporting to the DDB newspaper portal has been adapted for better display of data in the DFG Viewer.
The documentation of goobi_config.properties has been extensively revised, documented and is now available in chapter 7.2 of the documentation:
The current version number of Goobi workflow with this release is: 22.11. Within plugin developments, the following dependency must be entered accordingly for Maven projects within the