Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve harvest of mime type #2857

Merged

Conversation

maudetes
Copy link
Contributor

@maudetes maudetes commented Jun 26, 2023

Useful for datagouv/data.gouv.fr#1086.
Indeed, mime type exposed in dcat:MediaType are IANA resources (ex: https://www.iana.org/assignments/media-types/application/json). We should parse the application/json from this URI.
In a second iteration, we may want to use a fixed vocabulary on mime types.

Take advantage of this PR to prevent overwriting temporal coverage if not harvested.

@maudetes maudetes requested a review from quaxsze June 26, 2023 09:44
@maudetes maudetes merged commit 59bd0e4 into opendatateam:master Jun 26, 2023
1 check passed
@maudetes maudetes deleted the feat/harvest-rdf-mime-type-better branch June 26, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants