metafacture / metafacture-core

Core package of the Metafacture tool suite for metadata processing.
https://metafacture.org
Apache License 2.0
72 stars 34 forks source link

OAI-PMH Opener plain metadata? #424

Closed TobiasNx closed 1 year ago

TobiasNx commented 2 years ago

The OAI-PMH Opener provides the OAI-record, header and container. Is there a way how to receive only the metadata without the OAI specific elements?

Similar to: https://github.com/metafacture/metafacture-core/issues/382

TobiasNx commented 1 year ago

This can be closed. The handle-marcxml should set the recordtagname-option to metadata, then it works: https://metafacture.org/playground/?flux=%22https%3A//duepublico2.uni-due.de/oer/oai%22%0A%7C+open-oaipmh%28metadataPrefix%3D%22mods%22%29%0A%7C+decode-xml%0A%7C+handle-generic-xml%28recordtagname%3D%22metadata%22%29%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%3B%0A