slub / slub_digitalcollections

Templates, Styles and Configuration for Kitodo.Presentation based Digital Collections by SLUB Dresden
GNU General Public License v3.0
7 stars 16 forks source link

Wrong catalogue reference for SLUB processed digital items #73

Closed chrode closed 7 months ago

chrode commented 7 months ago

In the past, SLUB used an extension data structure (slub:id type="digital") within the Mets file to link from a digital item to the SLUB catalogue. This led to incorrect links, as the link assumed that these were PPN identifiers, which they are not always. This had to be done because prior to Kitodo Production 3 we were producing incorrect links within the dv:reference structure used by the Mets specification for this purpose.

The production side has been fixed with the introduction of Kitodo Production 3. What we need to do now is remove the special handling for links based on slub:id. This will lead to working links again.

That code can be found in the file KitodoPageView.html from line 178

https://github.com/slub/slub_digitalcollections/blob/f42f5756a1037bf14c8fb9c3fd53f236d06a5574/Resources/Private/Partials/KitodoPageView.html#L178