[ List Archives Home ] [ Thread index for 2008 ] [ Date index for 2008 ] [ Author index for 2008 ]


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
At 03:45 PM 05/04/2007, Don wrote:
Here is a neat stuff I did for our beta: you can social bookmark a bib
using del.icio.us or other programs. To see it,

Come here: http://library.wmitchell.edu:2082/

Do a search for anything

Pull up the full record. You will see the icon.

This one takes only a few minutes to set up.


This is really slick; thanks for pointing it out. One little problem with the default set up though---the script passes the URL of the window as the URL for the bookmark, and since WebOPAC window URLs typically are not persistent/durable, most bookmarks won't be any good for long. If you edit the AddThis.com-supplied code slightly you can get the record number URL to be passed instead. I realize these URLs have some issues with scoped catalogs, but I think a bookmark is better off with this URL than the window URL.

To use the recordnum URL, replace:

onclick="addthis_url = location.href;

...with:

onclick="addthis_url = document.getElementById('recordnum');


And because the document title is always going to be something generic like the name of your library, I'd be inclined to replace:

addthis_title = document.title;

...with something along the lines of:

addthis_title = 'REPLACE THIS TEXT WITH BOOK TITLE';

(Although I'm not sure which is worse---multiple bookmarks with the title "REPLACE THIS TEXT WITH BOOK TITLE" or multiple bookmarks with the title "Lafyette College Libraries".)

Bob Duncan


~!~!~!~!~!~!~!~!~!~!~!~!~
Robert E. Duncan
Systems Librarian
Editor of IT Communications
Lafayette College
Easton, PA 18042
duncanr at lafayette dot edu
http://www.library.lafayette.edu/