Skip to content

Added functionality to add citation to items. If the the citation is#1

Open
johnpinto1 wants to merge 2 commits intoera-UoEMainLibrary-dspace-8_xfrom
LUC065-226-era-add-citation-metadata-field
Open

Added functionality to add citation to items. If the the citation is#1
johnpinto1 wants to merge 2 commits intoera-UoEMainLibrary-dspace-8_xfrom
LUC065-226-era-add-citation-metadata-field

Conversation

@johnpinto1
Copy link
Collaborator

@johnpinto1 johnpinto1 commented Jun 4, 2025

created with a doi, then it is updated with a doi once registered.

One needs run Cron job like this periodically to apply this functionality
15 8-19 * * * $DSPACE/bin/dspace era-citation-updater -c > $DSPACE/log/era-citation-updater.log 2>&1

(Note the call requires flag -c.)

Selection_057

The code appears to create citations for items with DOIs only. Might need to change that.
https://test.era.ed.ac.uk/items/5ddb2b3d-f79b-46a8-8cb0-cd87969b3229/full
has no citation because of not having a DOI.
Selection_058

@johnpinto1 johnpinto1 self-assigned this Jun 4, 2025
created with a doi, then it is updated with a doi once registered.

One needs run Cron job like this periodically to  apply this
functionality
15 8-19 * * * $DSPACE/bin/dspace era-citation-updater -c > $DSPACE/log/era-citation-updater.log 2>&1

(Note the call requires flag -c.)
@johnpinto1 johnpinto1 force-pushed the LUC065-226-era-add-citation-metadata-field branch from 51fec48 to 2b06646 Compare June 4, 2025 15:16
@johnpinto1
Copy link
Collaborator Author

Updated code so it creates citations for all items initially, then updates any if the DOI is available.

@johnpinto1
Copy link
Collaborator Author

Updated EraCitationUpdaterCLI.java so that we create the citations with dc.title.alternative for title if it exists.

with dc.title.alternative for thre title if it exists, instead of
dc.title.
@johnpinto1 johnpinto1 force-pushed the LUC065-226-era-add-citation-metadata-field branch from f0d79f4 to be7a642 Compare June 6, 2025 14:48
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.

1 participant