Correction of tables of contents after an OLR

Step plug-in for the correction of recognised tables of contents and the generation of PICA data records

Overview

Introduction

This documentation describes the installation, configuration and use of the plugin.

Installation

The program consists of these files:

plugin_intranda_step_olr-correction.jar
plugin_intranda_step_olr-correction.xml

The file plugin_intranda_step_olr-correction.jar contains the program logic, and should be copied to this path: /opt/digiverso/goobi/plugins/step.

The file plugin_intranda_step_olr-correction.xml is the config file, and should be copied to the folder /opt/digiverso/goobi/config/.

fter the installation of the plugin, it can be selected in a work step.

Configuration

The configuration is done via the configuration file plugin_intranda_step_olr-correction.xml and can be adapted during operation. It is structured as follows:

<config_plugin>
    <config>
        <!-- which projects to use for (can be more then one, otherwise use *) -->
        <project>*</project>
        <step>*</step>
        <!-- which images to use -->
        <useOrigFolder>true</useOrigFolder>
        
         <!-- Are the files originally digital rather than scanned? -->
        <bornDigital>true</bornDigital>      
        
        <!-- which image sizes to use for the big image -->
        <imagesize>800</imagesize>
        <imagesize>3000</imagesize>
        <!-- which image format to generate -->
        <imageFormat>jpg</imageFormat>
        
        <!-- colors for different groups -->
        <class>
            <type>pagenum</type>
            <color>#00FFFA</color>
        </class>
        <class>
            <type>title</type>
            <color>#FF5D15</color>
        </class>
        <class>
            <type>author</type>
            <color>blue</color>
        </class>
        <class>
            <type>institution</type>
            <color>#2F8C3C</color>
        </class>
        <class>
            <type>entry</type>
            <color>grey</color>
        </class>        
    </config>
</config_plugin>

General parameters

The <config> block can occur repeatedly for different projects or work steps in order to be able to perform different actions within different workflows. The other parameters within this configuration file have the following meanings:

Further parameters

In addition to these general parameters, the following parameters are available for further configuration:

Last updated