clnsmth / soso

For creating Science On Schema.Org (SOSO) markup in dataset landing pages to improve data discovery through search engines.
https://soso.readthedocs.io/
MIT License
1 stars 0 forks source link

feat: get encodingFormat from file extension (#5) #58

Closed clnsmth closed 1 year ago

clnsmth commented 1 year ago

Retrieve the 'encodingFormat' of a data object based on the MIME type inferred from the object's file extension. Use this approach since the 'encodingFormat' property does not map to EML.

Please note that this guessing approach may introduce a security concern when the object's actual encoding format deviates from the guessed format.