-
Notifications
You must be signed in to change notification settings - Fork 2
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
download .zip with image and xml #5
Comments
Almost done, there is already the endpoint |
Zip should be temporary |
@danieleguido zip could even be built in memory and served directly from the view if it should be generated and deleted on a per-request basis https://stackoverflow.com/questions/2463770/python-in-memory-zip-library If we want some sort of "caching" instead, the zip file could be generated each time a doc is saved and served statically. (but I think it's better to generate it on the fly) |
I agree @bianchimro, the best choice would be to generate the zip on the fly. Can you do a quick PR :) ? |
@danieleguido ok I'll take a look! :) |
In the
collection
section we need to download the single document and the metadata.The metadata should be formatted as xml (ref to Europeana formats) and the file served as .zip
The .zip file should be save in
media/
folder and than deleted once it has been downloadedThe text was updated successfully, but these errors were encountered: