Primo Persistent Link Generator Bookmarklet
Tags: link
, lists
, basic
Last Updated: Sep 17, 2010 15:15
- Description
A JavaScript bookmarklet to convert Primo session links to persistent links using dlDisplay.do.
- Author: Masud Khokhar
- Additional author(s):
- Institution: University of Oxford
- Year: 2010
- License: BSD style
- Short description: Use, modification and distribution of the code are permitted provided the copyright notice, list of conditions and disclaimer appear in all related material.
- Link to terms: [Detailed license terms]
- Skill required for using this code:
basic
Problem Statement
Considering a lot of people want to embed persistent Primo links in their reading lists, here is a bookmarklet which generates these links (using the dlDisplay.do) for a Primo session link.
State
Stable (Tested on IE, Firefox, Chrome)
Programming language
JavaScript
Software requirements
None
Screen captures
For screenshots, please see the attached PDF file.
Author(s) homepage
Download
Don't forget to change the URL in the code to point to your Primo instance. At the moment, it is pointing to Oxford's Primo instance (which is called SOLO).
Working example
Search for an item, go to full detail view, and then click on the bookmarklet.
Using the following Ex Libris open interfaces
search.do, dlDisplay.do
Release notes
Tested with IE, Firefox, Chrome and on Primo version 2 and 3.
Installation instructions
Please see the attached PDF file.
Known Issues
None at the moment.


2 Comments
comments.show.hideFeb 15, 2011
Nicole Mustatea
Hi Masud,
Is this code working in IE8 and/or Mozzila 3.6.12 version with Primo 3? I've tried in Mozzila and it only opens a blank untitled page.
Best regards,
Nicole Mustatea
n.mustatea@auckland.ac.nz
Feb 15, 2011
Masud Khokhar
Hi Nicole,
I have just tested this in FireFox 3.6.13 and it works fine. I have not yet checked it in IE8 but will do so, and let you know.
Are you on the full display view of the record when you try to generate the link? Also have you modified some parts of the code. E.g. this line in code needs to be changed.
http://solo.bodleian.ox.ac.uk/primo_library/libweb/action/dlDisplay.do?vid=OXVU1
Replace solo.bodleian.ox.ac.uk with your server address, and vid=OXVU1 with your view ID. Let me know if this helps.
Best wishes,
Masud