plugin-CsvImport icon indicating copy to clipboard operation
plugin-CsvImport copied to clipboard

Filename and web path

Open symac opened this issue 10 years ago • 2 comments

Currently, when CSVImport is used to add items with files, the newly created files received an original_filename that is the full web path of the file. That would be great to just get the filename as the web path will often be a temporary path, used to allow CSVImport to get the files over the web.

To add an example, when adding a record, I don't want the file to have for original_filename: http://example.org/tmp/myfile.jpg but rather myfile.jpg

I am not sure that just a CsvImport fix could fix that with the current way omeka core handle file downloading.

symac avatar Oct 19 '15 14:10 symac

Hi,

This may done automatically via my plugin https://github.com/Daniel-KM/ArchiveRepertory.

Sincerely,

Daniel Berthereau Infodoc & Knowledge management

Daniel-KM avatar Oct 20 '15 11:10 Daniel-KM

Thanks @Daniel-KM , I would have used your forked extesnsion if it was for a project hosted by myself but this time I am using omeka.net and I think it would be a great enhancement to the core version of the plugin (unless omeka.net starts using your version)

symac avatar Oct 20 '15 13:10 symac