In addition to the configuration parameters listed above, the METS file groups can also be specified. The screenshot shows five defined file groups:
Min
Max
Thumbs
Default
Presentation
The file groups Min
, Max
, Thumbs
and Default
are intended to ensure compatibility with the DFG Viewer.
The configuration dialogue box used to configure these METS file groups is shown in the following screenshot:
The configuration settings provided here mean the following::
Any of the following methods is possible for the option Validation against folder
:
In addition to the method names given above, it is also possible to specify folder names. A check will then be made for those folders within the images
folder:
Name | Typical value | Explanation |
---|---|---|
Name | Typical value | Explanation |
---|
Name | Example result |
---|
Name | Example result |
---|
DMS export images folder
/opt/digiverso/viewer/hotfolder/
This stipulates the folder to which the images are written when exporting.
DMS export success folder
/opt/digiverso/viewer/success/
This stipulates the folder in which Goobi is instructed to search for a success message indicating that the exported XML file has been correctly processed. A check against this value is only made if the parameter exportWithoutTimeLimit
has been set to false in the configuration file goobi_config.properties
. At this point, Goobi can communicate with downstream systems in order to establish, for example, whether an item has been successfully exported.
DMS export error folder
/opt/digiverso/viewer/error_mets/
This stipulates the folder in which Goobi is instructed to search for an error message indicating that an error has occurred in processing the exported XML file. A check against this value is only made if the parameter exportWithoutTimeLimit
has been set to false in the configuration file goobi_config.properties
.
Create process folder
no
If this checkbox has been activated, Goobi will create a folder with the corresponding process name in each of the folders specified as the DMS export folder for XML file
and DMS export folder for images.
The exported files will then be placed in these folders. If the checkbox is not activated, the files will be placed directly into the stipulated folders. By default, this checkbox is not activated.
Timeout (ms)
36000
This setting defines the time interval in milliseconds before Goobi removes the exported files from the hotfolder. A check is only made if the parameter exportWithoutTimeLimit
has been set to false in the configuration file goobi_config.properties
. The default value is 300000
(i.e. 5 minutes).
getProcessDataDirectory | /opt/digiverso/goobi/metadata/1165/ |
getImagesDirectory | /opt/digiverso/goobi/metadata/1165/images/ |
getImagesTifDirectory | /opt/digiverso/goobi/metadata/1165/images/kleiuniv_PPN1234_media/ |
getImagesOrigDirectory | /opt/digiverso/goobi/metadata/1165/images/master_kleiuniv_PPN1234_media/ |
getSourceDirectory | /opt/digiverso/goobi/metadata/1165/images/kleiuniv_PPN1234_source/ |
getOcrDirectory | /opt/digiverso/goobi/metadata/1165/ocr/ |
getTxtDirectory | /opt/digiverso/goobi/metadata/1165/ocr/kleiuniv_PPN1234_txt/ |
getWordDirectory | /opt/digiverso/goobi/metadata/1165/ocr/kleiuniv_PPN1234_wc/ |
getPdfDirectory | /opt/digiverso/goobi/metadata/1165/ocr/kleiuniv_PPN1234_pdf/ |
getAltoDirectory | /opt/digiverso/goobi/metadata/1165/ocr/kleiuniv_PPN1234_xml/ |
getImportDirectory | /opt/digiverso/goobi/metadata/1165/import/ |
mp3 | /opt/digiverso/goobi/metadata/1165/images/kleiuniv_PPN1234_mp3/ |
mpeg4 | /opt/digiverso/goobi/metadata/1165/images/kleiuniv_PPN1234_mpeg4/ |
jp2 | /opt/digiverso/goobi/metadata/1165/images/kleiuniv_PPN1234_jp2/ |
Goobi allows users to export processes (together with all their digitised objects) to digital libraries. As a rule, the XML file (METS) is exported last. It is generally preceded by any images, OCR results and other digital objects (e.g. audio files, video files, born digital data).
The following systems (e.g. intranda’s Solr Indexer) monitor the hotfolder and start to function when a specifically defined event occurs. Exporting the XML files last of all ensures that all the other files needed have been made available to the Solr Indexer. In this way, processing can begin as soon as the XML file is exported
The different export parameters can be configured in Goobi. They are located under project properties in the Technical data
and Mets parameters
tabs.
Name | Default | This setting defines the name of a METS file group. The name can be found in the attribute USE in the fileGrp area within fileSec in the METS file. |
Path | This parameter defines the base path in which the digital objects can be located. When exporting, the filename of the files from the _media folder is also written to this path. The file suffix required is defined in the Suffix field. |
Mime Typ | image/jpeg | This defines the Mime type of the files that are linked in this METS file group. Once the export is complete, this entry can be located in the MIMETYPE attribute for the file objects. |
Suffix | jpg | This defines the suffix for the files that are linked in this METS file group. |
Validation against folder | video | This value is optional. If the field is blank, the file group will be generated normally. However, if it contains a value, Goobi will check perform a check within the file system for a directory in the images folder that corresponds to the value or method defined in this setting. If this is the case, the file group will be created using the files from this folder. If there is no such folder, the file group will not be created. |
Use file extensions and MIME type of files | false | This value can be set to |
File extensions to ignore | This field can be used to specify mime types that should not be included in the export. For example, |
The following screenshot shows the Mets parameters
tab from Goobi’s project settings:
The configuration settings are explained below:
The information about the METS rights owner
, METS rights owner logo
, METS rights owner URL
and METS rights owner contact
can be found in the exported METS file in the section amdSec
in the namespace dv
. It is intended to ensure compatibility with the DFG viewer.
There follows an explanation of the three variables found in the column of typical values shown above:
$(meta.CatalogIDDigital)
is replaced during export by the CatalogIDDigital
of the source material from the METS file.
$(meta.topstruct.CatalogIDDigital)
is replaced during export by the CatalogIDDigital
of the multi-volume source material from the METS file.
$REGEXP(s/PPN=PPN/PPN=/)
applies the defined regular expression to the entire line. In this case, a search is performed for PPN=PPN
, which is then replaced by PPN=
.
Name | Typical value | Explanation |
---|
A further export setting can be configured in goobi_config.properties
. The corresponding parameter is shown below:
If this value is set to true
, Goobi will produce a success message for the export once the exported files have been copied to the folders DMS export folder for XML file
and DMS export folder for images
(as defined in the project settings). Goobi will produce an error message if an error occurs during the copying process.
If the value is set to false
(or if it is missing from the configuration file), Goobi will not produce a success message unless it can find a corresponding message in the folder DMS export success folder
(as defined in the project settings). Goobi will produce an error message if it finds an error message in the folder DMS export error folder
(as defined in the project settings).
If Goobi does not find a success of error message in these folders within the timeout period stipulated in the project settings, it will delete the exported items automatically.
METS rights owner | Example Library | Defines the METS rights owner. |
METS rights owner logo | Defines a URL for a logo belonging to METS rights owner. |
METS rights owner URL | Defines a URL for the METS rights owner. |
METS rights owner contact | digitisation@example.net | Defines a contact email address for the METS rights owner. |
METS Digiprov reference | METS Digiprov Referenz | Defines a link to the catalogue entry for the source material. |
METS Digiprov presentation | Defines a persistent link to the source material in the digital library. |
METS Digiprov reference (anchor) | Defines a link to the catalogue entry for the overarching source item where the material being exported is part of a multi-volume source. |
METS Digiprov presentation (anchor) | Defines a link to the overarching source item in the digital library where the material being exported is part of a multi-volume source. |
METS pointer Path | Defines a link to a METS resolver for the source material. This link can be used later to download the METS file. |
METS pointer path (anchor) | Defines a link to a METS resolver for the overarching source item where the material being exported is part of a multi-volume source. This link can be used later to download the METS file. |
METS sponsor | Deutsche Forschungsgemeinschaft | Contains the name of the digitisation sponsor, e.g. Deutsche Forschungsgemeinschaft (DFG). |
METS sponsor Logo | Contains a URL to a logo of the digitisation sponsor. The logo is integrated into the design of the DFG Viewer, where it replaces the DFG logo. |
METS sponsor URL | Contains the sponsor’s website URL. The URL is linked in the DFG Viewer to the sponsor’s logo. |
METS licence | CC-BY | Contains details of the licence under which the digitised material was published. |