Open dcnb opened 3 years ago
From CONTENTdm or using some method to configure the API or just using what ever links the user produces in a CSV? Does it rename the files via objectid or something?
I agree with @dcnb that serving files locally has several advantages. The most basic version would probably download the files and replace the external links with local ones. The information about the previous location is then lost. Is this what you had in mind?
@maehr you might want to check our recent Rake tasks in rake-utilities-for-digital. It is pretty specific to our usecase right now, but the task migrate_contentdm we used to download files out of our CONTENTdm repository to prep for our static version. It would be a bit similar to your idea of a Omeka downloader.
p.s. @dcnb original request is probably best using something like download_by_csv task
Rake task that goes and grabs all the external images in a collection and downloads them to the Objects folder