Canadensys / canadensys-explorer

Canadensys data portal
MIT License
1 stars 6 forks source link

Display Recommended Citation on occurrence page #28

Closed cgendreau closed 9 years ago

cgendreau commented 9 years ago

Should bibliographicCitation fields be displayed if provided? For specimen:

<catalognumber> from <datasetname> at <institutioncode>, <URL to resource in IPT> (accessed on <date>)

For Observation or when one the previous fields is not provided?

dshorthouse commented 9 years ago

bibliographicCitation should be used if it is provided and should be used instead of our own suggested format. If it is not filled, then yes, the format you have should be used. But what if observation or what if some fields are empty?

Specimen Data

Missing institutionCode:

<catalognumber> from <datasetname>, <URL to resource in IPT> (accessed on <date>)

Missing datasetname:

<catalognumber>, <institutioncode> <URL to resource in IPT> (accessed on <date>)

Missing catalognumber:

<occurrenceid>  from <datasetname> at <institutioncode>, <URL to resource in IPT> (accessed on <date>)

Observation Data

<occurrenceid> from <datasetname>, <URL to resource in IPT> (accessed on <date>)
cgendreau commented 9 years ago

Should we add the (accessed on ) to bibliographicCitation? I would say yes but we also need to ensure data providers are not already use it in bibliographicCitation. The main reason is to allow internationalization but this concept is probably already broken with 'from' and 'at'.

dshorthouse commented 9 years ago

Yes, accessed on should be done with date. If it is possible to detect whether or not this is present in bibliographicCitation, then we'd have to treat it as a variable and swap it out for the system's date. Can the citation be constructed in such a way that its structure can be internationalized when we construct it ourselves (ie not when bibliographicCitation is present and used)?

cgendreau commented 9 years ago

The citation that we built is not an issue, it will be internationalized with the date. The one in bibliographicCitation is more problematic because it's an open field. Replacing [date] by the actual date is reasonable but I would only do it when the word 'date' is surrounded by non-alphanumeric characters other than whitespace.

dshorthouse commented 9 years ago

+1

cgendreau commented 9 years ago

We will not display bibliographicCitation on occurrence page to ensure consistency across pages and also apply i18n.

cgendreau commented 9 years ago

Updated in 2.3.1