Skip to content

Aktualisierungshinweise auf Kitodo.Production 2.3.0

Matthias Ronge edited this page Jun 22, 2020 · 1 revision

Änderungen an der goobi_projects.xml Datei

Bei einem Project kann nun konfiguriert werden, ob ein Dateiupload erlaubt ist. alter Eintrag:

<goobiProjects>
  <project name="default">
   <createNewProcess>
    ...
   </createNewProcess>
   <tifheader>
    ...
   </tifheader>
   <dmsImport/>
  </project>
</goobiProjects>

neuer Eintrag mit erlaubten DateiUpload:

<goobiProjects>
  <project name="default">
   <createNewProcess>
    ...
   </createNewProcess>
   <tifheader>
    ...
   </tifheader>
   <dmsImport/>
   <fileUploadActive>true</fileUploadActive>
  </project>
</goobiProjects>

Ein beispielhafter adis Katalog-Eintrag in kitodo_mods_opac.xml:

 <catalogue title="adis">
        <mappingFile>adis2kitodo.xsl</mappingFile>
        <!-- aDis SRU interface not yet available! -->
        <config scheme="https" port="443" path="/path" address="aDis.info" description="adis Katalog"/>

        <identifierParameter value="SATZNR" />
        <parentElement xpath="//mods:mods/mods:relatedItem[@type='host']" />
        <recordElement xpath="//srw:searchRetrieveResponse/srw:record" />

        <identifierElement xpath="//goobi:metadata[@name='CatalogIDDigital']" />
        <!-- aDis SRU interface supports only single search field (for ID, here called "Satznummer") -->
        <searchFields>
            <searchField label="Satznummer" value="SATZNR" />
        </searchFields>
        <!-- aDis SRU interface does not support institution filters -->
        <additionalDetails>
            <detail name="creator" xpath="//goobi:displayName" />
            <detail name="title" xpath="//goobi:metadata[@name='TitleDocMain']" />
            <detail name="shelfmarksource" xpath="//goobi:metadata[@name='shelfmarksource']" />
            <detail name="place" xpath="//goobi:metadata[@name='PlaceOfPublication']" />
            <detail name="url" xpath="//goobi:metadata[@name='slub_link']" />
        </additionalDetails>
        <fileUpload>true</fileUpload>
        <structuretypes>
            <type rulesetType="Monograph">
                <mandatoryElement>//mods:mods/mods:originInfo[@eventType='publication']/mods:issuance[text() = 'monographic']</mandatoryElement>
            </type>
            <type rulesetType="Volume">
                <mandatoryElement>//mods:mods/mods:originInfo[@eventType='publication']/mods:issuance[text() = 'multipart monograph']</mandatoryElement>
                <mandatoryElement>//mods:mods/mods:relatedItem[@type='host']</mandatoryElement>
            </type>
            <type rulesetType="MultiVolumeWork">
                <forbiddenElement>//mods:mods/mods:originInfo[@eventType='publication']/mods:issuance[text() = 'monographic']</forbiddenElement>
                <forbiddenElement>//mods:mods/mods:originInfo[@eventType='publication']/mods:issuance[text() = 'multipart monograph']</forbiddenElement>
                <forbiddenElement>//mods:mods/mods:relatedItem[@type='host']</forbiddenElement>
            </type>
        </structuretypes>
    </catalogue>
Clone this wiki locally