CollectionBuilder / collectionbuilder-csv

CollectionBuilder-CSV is a "stand alone" template for creating digital collection and exhibit websites using Jekyll and a metadata CSV.
MIT License
23 stars 19 forks source link

Rake Task Wish #1 - download external images to local objects folder #6

Open dcnb opened 3 years ago

dcnb commented 3 years ago

Rake task that goes and grabs all the external images in a collection and downloads them to the Objects folder

evanwill commented 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?

maehr commented 9 months ago

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?

evanwill commented 9 months ago

@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.

evanwill commented 9 months ago

p.s. @dcnb original request is probably best using something like download_by_csv task