-
Notifications
You must be signed in to change notification settings - Fork 32
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
Create workspaces from OAI-PMH links #539
Comments
Yes, definitely an important task that I needed myself in the past! |
I don't understand this issue. https://digital.slub-dresden.de/oai/?verb=GetRecord&metadataPrefix=mets&identifier=oai:de:slub-dresden:db:id-497166623 is the direct link to the METS. |
It's not the METS itself, it's a OAI-PMH GetRecord response. |
Which contains the METS ;) @wrznr and me want an easy way to create a workspace from such a OAI-PMH response, i.e. make unwrapping the METS work with |
I assume this was fixed exhaustively by #581? |
I think this can be closed, as it's working fine: % cd `mktemp -d`
% ocrd workspace clone https://oai.sbb.berlin/\?verb\=GetRecord\&metadataPrefix\=mets\&identifier\=oai%3Adigital.staatsbibliothek-berlin.de%3APPN867445300
11:36:10.592 INFO ocrd_models.utils.is_oai_content - response data root.tag: '{http://www.openarchives.org/OAI/2.0/}OAI-PMH'
11:36:10.622 INFO ocrd.workspace.save_mets - Saving mets '/tmp/tmp.wkQDaCfgbP/mets.xml'
/tmp/tmp.wkQDaCfgbP |
Many libraries deliver METS files via a machine-readable OAI-PMH interface. E.g.,
with https://digital.slub-dresden.de/oai/?verb=GetRecord&metadataPrefix=mets&identifier=oai:de:slub-dresden:db:id-497166623
Such links are not compatible with the
ocrd workspace clone
command. Since the direct link to the METS file is not provided, it is hard to create a workspace in this context. It would be fantastic if a harvesting option for OAI-PMH could be directly provided byocrd
.The text was updated successfully, but these errors were encountered: