AddThis bookmarking from Aleph full record
Tags:
Last Updated: Oct 30, 2009 00:38
- Description
Users may wish to bookmark records in Aleph, but if they do so from a search result set the link will not be persistent. The following method offers a way to provide persistent links via various social bookmarking sites as well as the user's browser bookmarks.
- Author: Matthew Phillips
- Additional author(s):
- Institution: University of Dundee
- Year: 2009
- License: GNU Public General License
- Link to terms: Detailed license terms
- Skill required for using this code:
basic
State
Stable
Programming language
Javascript
Software requirements
None
Screen captures



Download
You will need the attached dun-addthis.txt file. See the instructions below for what you need to do with it.
Working example
Using the following Ex Libris open interfaces
None.
Installation instructions
You will need to register with http://addthis.com/ to obtain a free account.
Download the attached dun-addthis.txt file and save it in your www_f_eng directory, naming it dun-addthis.
Edit the file to put your AddThis username in.
Provide a banner graphic if desired and customise the colours. These are for the window which opens if you click on the AddThis button to open the full window of services.
Edit full-set-head-*** and direct-head-***. (There may be several files to alter, e.g. full-set-head-bor, full-set-head-ill, etc.)
Add the following HTML to make AddThis button appear in the button bar:
At the end of full-set-head-***, change the <table> tag and insert Javascript before it as follows:
Alter direct-head-*** in a similar way (different placeholders):
Finally, edit full-set-tail and direct-tail to add the following line, somewhere before the </body> tag:
Known issues
The title of the book is forwarded to AddThis to allow a sensible name for the bookmark to be created. It is obtained from the full record screen by traversing the DOM. It only works with the edit_doc_999 full record screen, and not with the citation, catalog card or MARC display. Users bookmarking from these screens will therefore not get the title passed to the bookmarking service.
Comments
Text...

