Difference between revisions of "SUNScholar/Altmetrics/5.X"
Jump to navigation
Jump to search
m |
|||
| (29 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
'''[[SUNScholar/Altmetrics|BACK TO ALTMETRICS]]''' | '''[[SUNScholar/Altmetrics|BACK TO ALTMETRICS]]''' | ||
</center> | </center> | ||
| + | __TOC__ | ||
| + | ==Step 1 - Modify config== | ||
Edit the following file: | Edit the following file: | ||
nano $HOME/{{Source}}/dspace/config/modules/altmetrics.cfg | nano $HOME/{{Source}}/dspace/config/modules/altmetrics.cfg | ||
| Line 15: | Line 17: | ||
# Metadata field which contains the interesting identifiers | # Metadata field which contains the interesting identifiers | ||
| − | + | altmetrics.field = dc.identifier.uri | |
#---------------------------------------------------------------# | #---------------------------------------------------------------# | ||
| Line 79: | Line 81: | ||
#plumx.data-border = false | #plumx.data-border = false | ||
</pre> | </pre> | ||
| + | |||
| + | ==Step 2 - Render in XMLUI Mirage 2== | ||
| + | <font color="red">'''Normally this step would be the rebuild of DSpace, however in DSpace versions 5.X no provision was made for Altmetrics to be rendered in the new Mirage 2 theme.'''</font> | ||
| + | |||
| + | Bug reports have been submitted, see; | ||
| + | https://jira.duraspace.org/browse/DS-2607 | ||
| + | https://jira.duraspace.org/browse/DS-2447 | ||
| + | https://jira.duraspace.org/browse/DS-2446 | ||
| + | |||
| + | ==Step 3 - Rebuild DSpace== | ||
| + | Then [[SUNScholar/Rebuild_DSpace|rebuild DSpace]]. | ||
| + | [[Category:Customisation]] | ||
Latest revision as of 18:58, 27 September 2016
BACK TO ALTMETRICS
Step 1 - Modify config
Edit the following file:
nano $HOME/source/dspace/config/modules/altmetrics.cfg
Modify as need.
See example below.
#---------------------------------------------------------------# #-----------IMPACT METRICS DISPLAY CONFIGURATIONS---------------# #---------------------------------------------------------------# # Configuration properties used by impact metrics badges # #---------------------------------------------------------------# # Metadata field which contains the interesting identifiers altmetrics.field = dc.identifier.uri #---------------------------------------------------------------# # Configure altmetric.com badges. # # See http://api.altmetric.com/embeds.html # #---------------------------------------------------------------# # Is the Altmetric.com badge enabled? altmetric.enabled = true # Possible values: donut medium-donut large-donut 1 4 altmetric.badgeType = donut # Possible values: left right top bottom #altmetric.popover = # Possible values: right #altmetric.details = # Possible values: true #altmetric.noScore = # Possible values: true #altmetric.hideNoMentions = # e.g. _blank #altmetric.linkTarget = #---------------------------------------------------------------# # Configure PlumX Artifact widgets. # # See https://plu.mx/pitt/developers/widgets # #---------------------------------------------------------------# # Is the PlumX Artifact widget enabled? plumx.enabled = true # Possible values: popup summary details plumx.widget-type = popup # Used with widget types: popup # Possible values: top bottom left right #plumx.data-popup = left # Used with widget types: popup summary details # Possible values: true false #plumx.data-hide-when-empty = true # Used with widget types: summary details # Possible values: true false #plumx.data-hide-print = false # Used with widget types: summary # Possible values: vertical horizontal #plumx.data-orientation = vertical # Used with widget types: details # Possible values: any positive integer #plumx.data-width = # Used with widget types: details # Possible values: true false #plumx.data-border = false
Step 2 - Render in XMLUI Mirage 2
Normally this step would be the rebuild of DSpace, however in DSpace versions 5.X no provision was made for Altmetrics to be rendered in the new Mirage 2 theme.
Bug reports have been submitted, see;
https://jira.duraspace.org/browse/DS-2607 https://jira.duraspace.org/browse/DS-2447 https://jira.duraspace.org/browse/DS-2446
Step 3 - Rebuild DSpace
Then rebuild DSpace.