Import of newspaper issues as single pages
This workflow plugin allows a mass import of newspaper issues in the form of individual pages, in which the date, issue numbers and page numbers are transferred.
Last updated
This workflow plugin allows a mass import of newspaper issues in the form of individual pages, in which the date, issue numbers and page numbers are transferred.
Last updated
Name | Wert |
---|---|
This workflow plugin allows the mass import of newspaper issues that are available as individual pages. For each file in a folder, the issue date and issue number are determined based on the file name. Goobi processes are then created at year level and the issues are generated together with metadata and page associations.
To install the plugin, the following two files 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:
To use this plugin, the user must have the correct role authorisation.
Therefore, please assign the role Plugin_workflow_newspaper_pages_importer
to the group.
If the plugin has been installed and configured correctly, it can be found under the 'Workflow' menu item.
After entering the plugin, the actual import process can be started. This involves searching for existing files within the configured source directory and checking their names. The naming scheme within the file name must look like this:
The characters are in favour of the following:
An example of a directory listing for such a folder content:
During the import process, a process is created in Goobi for each year, in which a structural element is created for each newspaper issue with the associated data, which is generated from the file names and the values of the configuration.
The plugin is configured in the file plugin_intranda_workflow_newspaper_pages_importer.xml
as shown here:
Character | Explanation |
---|---|
Parameter | Explanation |
---|---|
yyyy
Specification of the four-digit year
MM
Specification of the two-digit month, with leading zero if necessary
dd
Specification of the two-digit day, with leading zero if necessary
AAA
Numerical issue number in three digits, with leading zeros if necessary
bbb
File extension, e.g. pdf
, jpeg
or tif
importFolder
This parameter is used to specify the directory from which the data is to be imported.
workflow
This parameter defines the name of the Goobi process template on the basis of which the processes are to be generated.
processtitle
Specify here what the title of the processes to be created should be. The year is added when the processes are created (e.g. New_York_Times_123456789
).
pageNumberPrefix
If the pages in the Arabic pagination are to be preceded by a prefix, this can be defined here (e.g. "Page").
languageForDateFormat
Specify the language to be used for generating the output titles (e.g. en
or de
).
issueTitlePrefix
If a prefix is to be placed before the detailed date as the title of the newspaper issue, this can be entered here (e.g. "Issue from").
deleteFromSource
If the files to be imported are to be deleted from the import directory after the import, this can be specified here.
metadata
These elements can be used to specify which metadata should be used at newspaper and volume level for the processes to be created. An independent metadata is created from each element specified here. It accepts six attributes, whereby value
and type
are mandatory, while var
, anchor
, volume
and person
are optional. Further details can be found in the comments within the sample configuration.
Identifier
intranda_workflow_newspaper_pages_importer
Repository
Licence
GPL 2.0 or newer
Last change
13.07.2024 09:56:26