kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
62 stars 63 forks source link

Process title for newspapers/ephemera needs to be adjusted #3479

Closed andre-hohmann closed 4 years ago

andre-hohmann commented 4 years ago

Problem

The current process title of newspaper/ephemera follows the rule:

TSL/ATS_PPNnewspaper_volumeInformation-Issue

Example: WochfReS_1067801324_1851120101-F

However, for the SLUB, if should follow the rule:

TSL/ATS_PPNnewspaper-volumeInformation_Issue

Example: WochfReS_1067801324-1851120101_F

Otherwise, the record identifier for Kitodo.Presentation will not be extracted correctly.

Solution

Adjustment on the creation of the process title for newspapers/ephemera. I'd be glad if i can do it independently with the ruleset, ...

matthias-ronge commented 4 years ago

Yes, this is configurable via the rule set. I'm not 100% sure of what the ten digits of the "volumeInformation" stand for (1851-12-01-01, year, month, day, day?), but it should look something like this:

<division id="Newspaper" processTitle="TSL_ATS+'_'+CatalogIDDigital">
    <label>newspaper</label>
    <label lang="de">Zeitung</label>
    <subdivisionByDate>
        <division dates="ORDERLABEL" id="NewspaperYear" scheme="yyyy"
                  processTitle="+'_'+#YEAR"/>
        <division dates="ORDERLABEL" id="NewspaperMonth" scheme="yyyy-MM"/>
        <division dates="ORDERLABEL" id="NewspaperDay" scheme="yyyy-MM-dd"/>
    </subdivisionByDate>
</division>
<!-- ... -->
<division id="PeriodicalIssue" processTitle="+#MONTH+#DAY+#DAY+'-'+#I">
    <label>Issue</label>
    <label lang="de">Heft/Ausgabe</label>
</division>
andre-hohmann commented 4 years ago

Kitodo.Production 2.x

The last two digits are the numbers of the issue, in case there are several ones a day. In 2.x, the following configuration is used in goobi_projects.xml: TSL+'_'+PPN digital b-Satz+'-'+#YEAR+#MONTH+#DAY+#is+'_'+#issu

Beispiele: Ausgabe = "01-Frühausgabe"

Ausgabe = "02-Abendausgabe"

Kitodo.Production 3.x

Here begins the documentation of the configuration in 3.x:

year

For the year, the configuration works, like for example: <division dates="ORDERLABEL" id="NewspaperYear" scheme="yyyy" processTitle="+'-'+#YEAR"/>

Beispiel:

issue

For the issue, the configuration does not work, like for example: <key id="PeriodicalIssue" processTitle="+#MONTH+#DAY+#is+'_'+#issu">

Beispiel:

andre-hohmann commented 4 years ago

I found the mistake in the configuration - sorry! Now, it is possible to generate process titles as for example: