better detection of RO-Crate files #10015
Labels
Feature: File Upload & Handling
Type: Feature
a feature request
User Role: Depositor
Creates datasets, uploads data, etc.
Milestone
Overview of the Feature Request
Currently, we can specify mime types for specific files recognized by name in the
MimeTypeDetectionByFileName.properties
However, this only works for files without extensions. Some files that have a specific name require an extension, e.g.,
ro-crate-metadata.json
, which is the file containing the RO-Crate metadata. Allowing adding extensions in theMimeTypeDetectionByFileName.properties
would then make it possible to recognize these files and give them the correct mime type (e.g.,application/ld+json; profile="http://www.w3.org/ns/json-ld#flattened http://www.w3.org/ns/json-ld#compacted https://w3id.org/ro/crate"
for the RO-Crate metadata).What kind of user is the feature intended for?
Depositor, Superuser, Sysadmin
What inspired the request?
RO-Crate previewer (gdcc/dataverse-previewers#41) relies on correct recognition of the RO-Crate metadata files associated with that previewer.
What existing behavior do you want changed?
MimeTypeDetectionByFileName.properties
would also be used for recognition of files having extensions.The text was updated successfully, but these errors were encountered: