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
Open
Conversation
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.)
51fec48 to
2b06646
Compare
Collaborator
Author
|
Updated code so it creates citations for all items initially, then updates any if the DOI is available. |
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.
f0d79f4 to
be7a642
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.)
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.