Altmetric.com integration in IUScholarWorks DSpace
IUScholarWorks manages an institutional repository for Indiana University using DSpace. The production version of our repository is here: http://scholarworks.iu.edu/dspace. Within the past year, we have upgraded to the most recent version of DSpace (Version 3.1) and enabled usage statistics using the built-in DSpace statistics mechanisms.
We became interested in incorporating altmetrics in addition to our built-in usage statistics. We decided to work with altmetric.com to use the services they provide to provide an embedded altmetric badge with DSpace items. We also decided to provide the ability for the badges to be turned on and off, for the repository as a whole (via a config file parameter) and for individual users (via item metadata). We currently have the service working on a non-public development instance of DSpace, and we hope to put it into production later this year.
Here is a file-by-file nutshell view of the changes that were made to the core DSpace 3.1 code to enable altmetrics to meet our needs.
- Java code
- The only piece of Java code we had to change. We just added hooks to display the badge in the statistics panel when certain parameters are met, also passing the handle for the item as a parameter.
- Config files
- Added parameter to turn altmetric display on or off globally (xmlui.enablealtmetrics=true).
- Added a metadata field entry to toggle the altmetrics badge on or off for individual items.
The only additional steps that were necessary to hook everything up were compiling a list of DOI <-> Handle mappings for existing items, and working with altmetric.com to create a landing page that matched the look and feel of the IUScholarWorks repository.
If you'd like more details about how everything was hooked up to work together, email me at firstname.lastname@example.org. You can also view a set of slides about this topic that were presented at the Open Repositories 2013 conference here (https://scholarworks.iu.edu/dspace/handle/2022/16667).