Altmetric badges

From EPrints Documentation
Jump to: navigation, search

The Altmetric plugin for EPrints is available from the Bazaar or GitHub.

The Altmetric badges can also be added to pages by following the instructions here: [1]

Changes (November 2025) - API key now mandatory

The Altmetric plugin uses the Altmetric API to get data. If you are using this to display Altmetric badges, please check to see if you have an API key defined. This should be in EPRINTS_ROOT/archives/ARCHIVEID/cfg/cfg.d/z_altmetric.pl, although may have been defined in another config file.

From: https://github.com/eprintsug/altmetric/blob/main/cfg/cfg.d/z_altmetric.pl#L20-L21

# Optional API key - see http://api.altmetric.com/index.html#keys
# $c->{altmetric}->{api_key} = "";

An upcoming update to the plugin will start requiring this to be set before rendering a badge on a page.

The future of this integration may be a deprecation of the 'API' route, and support a configurable embedded badge instead.