SUNScholar/Altmetrics/5.X

BACK TO ALTMETRICS

Step 1 - Modify config
Edit the following file: nano $HOME//dspace/config/modules/altmetrics.cfg Modify as need.

See example below. altmetrics.field = dc.identifier.uri
 * 1) ---IMPACT METRICS DISPLAY CONFIGURATIONS---#
 * 2) Configuration properties used by impact metrics badges        #
 * 1) Configuration properties used by impact metrics badges        #
 * 1) Configuration properties used by impact metrics badges        #
 * 1) Metadata field which contains the interesting identifiers


 * 1) Configure altmetric.com badges.                               #
 * 2) See http://api.altmetric.com/embeds.html                      #
 * 1) See http://api.altmetric.com/embeds.html                      #

altmetric.enabled = true
 * 1) Is the Altmetric.com badge enabled?

altmetric.badgeType = donut
 * 1) Possible values: donut medium-donut large-donut 1 4


 * 1) Possible values: left right top bottom
 * 2) altmetric.popover =


 * 1) Possible values: right
 * 2) altmetric.details =


 * 1) Possible values: true
 * 2) altmetric.noScore =


 * 1) Possible values: true
 * 2) altmetric.hideNoMentions =


 * 1) e.g. _blank
 * 2) altmetric.linkTarget =


 * 1) Configure PlumX Artifact widgets.                             #
 * 2) See https://plu.mx/pitt/developers/widgets                    #
 * 1) See https://plu.mx/pitt/developers/widgets                    #

plumx.enabled = true
 * 1) Is the PlumX Artifact widget enabled?

plumx.widget-type = popup
 * 1) Possible values: popup summary details


 * 1) Used with widget types: popup
 * 2) Possible values: top bottom left right
 * 3) plumx.data-popup = left


 * 1) Used with widget types: popup summary details
 * 2) Possible values: true false
 * 3) plumx.data-hide-when-empty = true


 * 1) Used with widget types: summary details
 * 2) Possible values: true false
 * 3) plumx.data-hide-print = false


 * 1) Used with widget types: summary
 * 2) Possible values: vertical horizontal
 * 3) plumx.data-orientation = vertical


 * 1) Used with widget types: details
 * 2) Possible values: any positive integer
 * 3) plumx.data-width =


 * 1) Used with widget types: details
 * 2) Possible values: true false
 * 3) 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.