Rothamsted-Ecoinformatics / CKAN

0 stars 0 forks source link

Formatting authors in citations #24

Closed richardostler closed 1 month ago

richardostler commented 1 month ago

For the recommended citations can we change the formatting for authors to be 'Lastname Initials'

e.g. http://pursuit.rothamsted.ac.uk/dataset/some-data currently has 'Richard Ostler,Margaret Glendining (2024).'

This should be : 'Ostler R. and Glendining M. 2024

http://pursuit.rothamsted.ac.uk/dataset/emi-drapers-transition-experiment 'Marcelo Valadares Galdos (2024)' becomes 'Galdos M. V. 2024

http://pursuit.rothamsted.ac.uk/dataset/yet-another-test-dataset 'Margaret Glendining,Sarah Perryman,Richard Ostler (2024)' becomes 'Glendining M., Perryman S. and Ostler R. 2024

Note the spacings between words and periods after initials.

GokulVijayakumarRam commented 1 month ago

image

The citation field is edited as per the requirement Assigning this to check for the same and confirm Thanks Gokul

richardostler commented 1 month ago

Almost there... a couple of issues:

  1. see following image: image

  2. If only one author, it is being prefixed with 'and'. (see following image) image

GokulVijayakumarRam commented 1 month ago

The "and" getting prefixed is fixed image

Changed the spacing issues image

Assigning this to check for the same and confirm thanks

richardostler commented 1 month ago

Perfect! thanks