UB-Mannheim / kitodo-presentation-docker

Docker configuration for Kitodo.Presentation
GNU General Public License v3.0
4 stars 3 forks source link

[presentation] Make URN detection more reliable #32

Closed csidirop closed 1 year ago

csidirop commented 1 year ago

Search for URNs in mods:identifier/identifier and mods:recordIdentifier.

Some examples:

csidirop commented 1 year ago

Temporally closed, as no other non-working examples known.

csidirop commented 1 year ago

Added recognition for identifier tag without mods: prefix.

This is necessary for METS sources from BVB, which do not have "mods:identifier" tag.

Example: http://digipool.bib-bvb.de/bvb/DFGViewer/dfgmets.pl?partitiona=DE-824&pid=13400522 <identifier type="urn">urn:nbn:de:bvb:824-cod-sm-1194-1</identifier>

csidirop commented 1 year ago

Added recognition for mets:div key with CONTENTIDS attribute containing a URN string.

This is necessary for some METS sources, which do not have there URNs stored elsewhere.

Example 1: https://gei-digital.gei.de/viewer/metsresolver?id=PPN816659915 <mets:div ADMID="amd4871324" CONTENTIDS="urn:nbn:de:gbv:3:1-322827" DMDID="DMDLOG_0000" ID="LOG_0000" LABEL="Anleitung zur Kenntniß der Preußischen Staatsverfassung" TYPE="Monograph">

Example 2: https://daten.digitale-sammlungen.de/~db/mets/bsb00107766_mets.xml <mets:div ID="logbsb00107766" DMDID="mdbsb00107766" ADMID="amdbsb00107766" TYPE="monograph" LABEL="Sanskrit-Wörterbuch der buddhistischen Texte aus den Turfan-Funden und der kanonischen Literatur der Sarvāstivāda-Schule " ORDER="1" CONTENTIDS="urn:nbn:de:bvb:12-bsb00107766-4">