django-daiquiri / daiquiri

A framework for the publication of scientific databases
https://escience.aip.de/daiquiri
Apache License 2.0
26 stars 8 forks source link

IMPROVEMENT: missing issued date for Datalink entries #209

Open agy-why opened 1 year ago

agy-why commented 1 year ago

In the OAI-PMH interface the date issued value is missing.

This value is populated by the published metadata entry, which for the datalink entries is missing, see in the datalink.datacite.serializer: https://github.com/django-daiquiri/daiquiri/blob/master/daiquiri/datalink/serializers.py#L31C5-L31C12

The Updated date uses the SITE_UPDATED date, we could use SITE_CREATION date for issued, but it is not accurate. We could use the date of the release, but we do not have access to it, since a datalink entry is not directly related to a release. A quick fix would be to add a SETTING date for it, used for the published date.

agy-why commented 1 year ago

see #210