New module: Islandora Badges

7 views
Skip to first unread message

bran...@eln.bc.ca

unread,
Jul 22, 2016, 7:25:53 PM7/22/16
to BC Islandora User Group

Hi all,


Those of you who are Arca members know that I (well, Mark Jordan did most of the work) created my first module this week at iCamp, Islandora Badges. It extends/replaces the Islandora Altmetrics module by adding a Scopus Citation Count badge to show how many times the article has been cited (according to its record in Scopus). I have some future plans to further expand this module as well, whenever I get round to them (and figure out how to make them happen).


Here’s what it looks like in action: http://arcabc.ca/islandora/object/unbc%3A53#


If you want this module on your site, you can follow these steps:


Download/clone and install the module from here: https://github.com/bondjimbond/islandora_badges


In the Modules menu:

  • If you're using Islandora Altmetrics, disable that module (otherwise you’ll have two Altmetric badges)
  • Enable the Islandora Badges module


Configure the Islandora Badges module under Islandora Utility Modules (admin/islandora/tools/badges):

  • For Altmetrics, use whichever settings you had in the original module (or just use the defaults)
  • For Scopus API Key, you’ll want to get your own API key. They’re free - you can apply here: http://dev.elsevier.com/myapikey.html (note the website doesn’t work in Chrome)


In the Blocks menu (admin/structure/blocks):

  • Find the Altmetrics and Scopus blocks, and put them in the Content region (at the top)
  • Configure them, and give them a CSS class.
    • If you followed the Arca Hours instructions for configuring Altmetrics, you can use the same class you did for the Altmetrics badge (i.e. altmetric) - this will let you re-use the CSS Injector work you did before.
    • This requires the Block Class module and the CSS Injector module (Drupal, not Islandora), which are both very useful.

Eventually I hope to contribute this back to Islandora and make it part of Core, but meanwhile the version in my repo is the most up to date. Mark is helping me to refine it.

I welcome your comments and feedback.

Cheers,

Brandon
Reply all
Reply to author
Forward
0 new messages