Skip to content

UMNLibraries/primo-mendeley-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Primo Mendeley Plugin

A PushTo plugin for sending Primo records to Mendeley.

Features

This plugin dynamically constructs a landing page for Mendeley's web importer to ingest. The following citation meta tags are currently supported:

  • citation_title
  • citation_authors
  • citation_doi
  • citation_journal_title
  • citation_publisher
  • citation_date
  • citation_isbn
  • citation_issn
  • citation_volume
  • citation_issue
  • citation_firstpage
  • citation_lastpage

Mendeley's Web Importer does not support importing multiple records. If >1 records are sent to this adaptor (i.e. from the e-shelf), the request is forwarded to the RIS exporter (which can be used to import the citations to Mendeley Desktop).

Installation

  1. Download the latest MendeleyProcess.jar file, and
  2. put it in the following directory on your FE server(s): $primo_dev/ng/primo/home/profile/search/pushTo/.
  3. In the Back Office, add a row to the Pushto Adaptors mapping table:
  • Adaptor Identifier: Mendeley
  • Key: Class
  • Value: edu.umn.lib.primo.pushto.MendeleyProcess
  1. Save the mapping table, and then add a row to the Keeping this item code table:
  • Code: default.fulldisplay.command.pushto.option.Mendeley
  • Value: Mendeley (or whatever label you wish to display to users)
  1. Save the code table, and then Deploy All.

Removing the Mendeley action from the E-shelf page

Because the Menedley Web Importer cannot handle multiple records, you may wish to hide this action in the e-shelf page. Use the following CSS to do so:

.EXLEShelfFolderContentsPushTo option[value="Mendeley"] {display:none !important;}

Compiling

If you need to rebuild the jar file, the easiest way to do so is to install Gradle and run gradle build from the project directory root. Before doings so, however, you'll need to download the following dependencies from your Primo server and place them in a ./lib directory:

  • primo-library-common-4.5.0.jar
  • jaguar-client-4.5.0.jar
  • primo-common-infra-4.5.0.jar

Optionally, to download the proprietary dependencies automagically, you could configure the ssh.gradle file to work with your Primo servers, and uncomment the following lines the build.gradle file:

apply from: 'ssh.gradle'
compileJava.dependsOn getPrimoLibs