SAEON / odp-server

Source code for the SAEON Open Data Platform server components.
GNU Affero General Public License v3.0
0 stars 2 forks source link

RIS citation format #16

Closed marksparkza closed 8 months ago

marksparkza commented 11 months ago

Add the RIS file format as a citation option.

The citation button and options are defined by the citation_button macro. Currently the macro takes a doi param and passes it to formatCitation, a Javascript function that uses the doi.org citation formatting service to return a citation string in the requested style.

The RIS text can be computed for catalog records at publishing time. We can add RIS as a metadata schema and output option for all SAEON (and hence MIMS) records, in a similar vein to the schema.org / JSON-LD output for MIMS records.

The RIS record can then be rendered as applicable by the citation_button macro in the UI.

marksparkza commented 9 months ago

The RIS text can be created during publishing in this method.

The relevant test function will need to be extended to include testing of RIS output, similarly to how JSON-LD output is tested.