Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocrd workspace bag: use attribute CONTENTIDS if present for image resouces #1154

Open
M3ssman opened this issue Dec 13, 2023 · 0 comments
Open

Comments

@M3ssman
Copy link
Contributor

M3ssman commented Dec 13, 2023

Description

In extension of #1137 please look first for attribute CONTENTIDS instead of falling for ID when trying to download image resources (or provide parameter to switch to CONTENTIDS).

In case of ULB's CONTENTIDS (or to any other value which is urn-like) additional processing is required: please exchange any : with a plus-sign (+), so urn:nbn:de:gbv:3:1-113129-p0007-8 becomes urn+nbn+de+gbv+3+1-113129-p0007-8.

One might find many samples in the GT-Testexports using GT-Repo-Template

Note:

Besides ULB Sachsen-Anhalt, digital objects from SBB provide this information, too, when issuing OAI-Records, c.f. OAI-REcord Theoretischer Anarchismus, although it's looks more like a URL than an URN, for example:

<mets:div CONTENTIDS="http://resolver.staatsbibliothek-berlin.de/SBB000202D300000095" ID="PHYS_0095" ORDER="95" ORDERLABEL="91" TYPE="page" >

which resolves straight to the expected page https://digital.staatsbibliothek-berlin.de/werkansicht/?PPN=PPN891267093&PHYSID=PHYS_0095.

kba added a commit that referenced this issue Dec 14, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…s and f.ID for filenames, fix #1154
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant