Inspired by the Islandora Altmetrics module, I've been hunting for ways to display citation counts in a badge alongside the altmetric number. I've found Elsevier's Scopus Citation Count API, which seems to do the trick (at least for things that Scopus recognizes), displaying a badge like this with link to more details: http://api.elsevier.com:80/content/abstract/citation-count?doi=10.1111%2Fcogs.12137&apiKey=73ca9ce9e0104b1f0a961edb2b757b59&httpAccept=text%2Fhtml

Of course Scopus doesn't capture everything (and searching for this article on Google Scholar shows four citations instead of two), but it's a start - and since there's no Google Scholar API, this the easiest path to a pretty valuable piece for scholars.
For someone who knows how to build an Islandora module (and that someone isn't me), it should be fairly easy to build something that queries the DOI from a Citation or Thesis object (or if no DOI is present, queries the Title instead), passes the appropriate parameter to the request URL, and generates the badge. (More discussion about this in the
IR interest group.)
Are there any code-savvy folks out in Islandora world who might be interested in taking this up?
The bones for these tasks already exist - the Google Scholar Search link generated in the Citation content model extracts DOI from an object, and instead extracts Title if DOI isn't present (
display code here,
config form code here). The
Islandora Altmetrics module may also contain useful code.
Here's my initial idea of what the functional requirements for such a module might be:
Goal: Display a "cited in Scopus" badge on objects within the Citation and Thesis content models.
- Generates a URL like this (square brackets contain variables passed from the object):
- Displays the results of the generated URL (the badge) in a block, similar to how Islandora Altmetrics does it
- Allow admins to set different primary and secondary parameters. Defaults are:
- Primary parameter: DOI (at //mods:identifier[@type="doi"])
- Secondary parameter if DOI not present: Title (//mods:title)
Admin form: have configurable fields for the following:
- Elsevier Citation Count API key (either no default content, or can use the default from Elsevier's interactive documentation)
- Primary parameter (defaults to DOI - mods:identifier[@type="doi"])
- Secondary parameter (defaults to Title - //mods:title)
Bock configuration:
- Title (none by default)
- CSS class(es)
- Region settings
- Visibility settings
Any comments/ideas for refinement are appreciated - and even more appreciated would be someone with free time who could actually write the thing!