A PushTo plugin for sending Primo records to Mendeley.
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).
- Download the latest MendeleyProcess.jar file, and
- put it in the following directory on your FE server(s):
$primo_dev/ng/primo/home/profile/search/pushTo/
. - 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
- 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)
- Save the code table, and then Deploy All.
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;}
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