PDF export to the NLI directory structure
Export plugin for exporting PDF files with special folder and file naming for the National Library of Israel.
Overview
Introduction
This documentation explains the plugin for exporting PDF files with special folder and file naming for the National Library of Israel. The plugin creates any required subfolders in a defined directory and saves an existing PDF file from the master folder with the desired name within the created folder structure.
Installation
In order 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. A workflow could look like the following example:
To use the plugin, it must be selected in a workflow step:
Overview and functionality
The plugin is executed automatically during the workflow and reads the parameters from the configuration file. On this basis, the plugin then determines metadata from the respective process. The information thus determined is then used to generate a directory path for the export and to create the directory if it does not already exist. The plugin then generates a file name that ends with a counter. The file name generated in this way is checked to see whether it is already in use, so that the counter is adjusted if necessary to obtain a file name that is not yet in use. The first PDF document is then determined from the master directory of the Goobi process and saved under the previously generated file name within the directory path.
Configuration
The plugin is configured in the file plugin_intranda_export_nli_pdf_to_folder_structure.xml
as shown here:
The parameters used are described here:
Last updated