-
Notifications
You must be signed in to change notification settings - Fork 6
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
What is the MongoDB schema? #63
Comments
I think it is necessary to import your XML Files there. It would be nice if Europeana would give a better Documentation for that. I am searching for using an easy import mechanism in their metis-framework/metis-common repository. Or have you found a solution? |
hello afshar-mohammad and mborko thank you for your interest in the code we develop. I wouldnt recommend using the MongoDB structure we have in place because 1) it is far from being the most optimal, 2) we are changing it as part of the work on the new version of the Record API. The code btw for the current MongoDB is on the api2 project but also has dependencies with corelib. If you are interested on using this package, I would suggest forking and replacing the parts of the code that interface with the backend with your own... you would then be free to plug it to any kind of backend. In fact, after seeing both your comments makes me realise that it would be beneficial for us to make this package as a framework that can be extended.. this is also beneficial for us since we are going to plug into a different Mongo structure soon. I will discuss this with my team. Hope this helps. Kind regards, |
So you suggest using the RecordAPI, but how can I import my generated XML files there? Haven't found a doc for that. Please help! |
I wasnt suggesting using the Record API. My suggestion would be to fork the code and replace with your backend part. If you already have XML files read for serving, you can work with a file directory and simply serve them from there. |
Sorry for misunderstanding. I only have the RDF Documents with the ProvidedCHO (e.g. https://sammlung.azw.at/werke/edm/0d256c4d-0e30-4a96-ab15-e49c00694203) Information. I have already set up a mongoDB instance, serving those documents as they are. The static html-files were all pointing to the https://api.europeana.eu/oai/record Link, which I changed already. So my question is, what are the steps I need to change to get the Records Information shown properly, as described in the OAI Standard? |
Hi,
I want to use this with my own MongoDB, but I can't figure out the database structure needed for this to work. Is there a sample schema I can use?
Well, I fill my MongoDB credentials in the properties file, but that's just an empty database. What tables do I need there?
Thanks
The text was updated successfully, but these errors were encountered: