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

Import OAI/LIDO into Datahub doesn't work #49

Open
netsensei opened this issue Sep 28, 2017 · 1 comment
Open

Import OAI/LIDO into Datahub doesn't work #49

netsensei opened this issue Sep 28, 2017 · 1 comment

Comments

@netsensei
Copy link
Contributor

The Yale British Center for Arts provides an OAI-PMH endpoint with collection data.

https://britishart.yale.edu/collections/using-collections/technology/harvest-xml-data

This dataset is already transformed into LIDO XML and transforming is not necessary. Just passing it along from the OAI to the Datahub suffices.

Catmandu however, will transform the data into an intermediate, internal JSON structure to appropriate potential transformations. However, the transformation XML > JSON > XML doesn't guarantee that the output will be exactly the same as the input.

Moreover, the intermediate JSON structure isn't suited to be transformed back to LIDO with a simple XML exporter. The resulting XML doesn't resemble LIDO.

So, make it possible to fetch XML data from a source and pass it along to a destination without obligatory transformation.

See: https://github.com/thedatahub/Datahub-Factory-Pipelines/blob/master/OAItoDatahub.ini

@pieterdp
Copy link
Contributor

This can be solved with two minor modifications:

No conversion is done.

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

2 participants