ckan / ckanext-dcat

CKAN ♥ DCAT
164 stars 142 forks source link

Improved dct:format and dcat:mediaType handling #144

Closed seitenbau-govdata closed 5 years ago

seitenbau-govdata commented 5 years ago

This correctly parses URI values for dct:format (which were silently lost before) and improves serializing of dcat:mediaType and dct:format.

If a value in resource['format'] can be interpreted as IANA media type, it is output as dcat:mediaType, following the standard where dcat:mediaType is the more specialized field and subset of dct:format.

amercader commented 5 years ago

This looks good, thanks @seitenbau-govdata

seitenbau-govdata commented 5 years ago

@amercader You're welcome, and thanks for merging so fast!