User Tools

Site Tools


evergreen-user:find_it_at_the_library_-_bookmarklet_to_search_evergreen_from_amazon.com

Find it at the Library Bookmarklet

Jon Udell created a neat little tool to allow OPAC users to search for library holdings from Amazon. This bookmarklet (which looks like a bookmark, but is actually a piece of JavaScript that builds a URL based on the ISBN scraped from the current Amazon page) resides in the Bookmarks Toolbar (at least in Firefox); to use it, click on the bookmark while viewing a book page in Amazon. See http://weblog.infoworld.com/udell/stories/2002/12/11/librarylookupGenerator.html for more details.

Installing the Bookmarklet

To install the bookmarklet, create a new bookmark with the following target. Change the "url_base" to your OPAC's domain, such as "www.gapines.org" or "demo.gapines.org" and place the bookmarklet in the Bookmarks Toolbar. You can also drag one of the links below to the Bookmarks Toolbar.

JavaScript Template:

javascript:var%20re=/([\/-]|is[bs]n=)(\d{7,9}[\dX])/i;if(re.test(location.href)==true){var%20isbn=RegExp.$2;void(win=window.open('http://<url_base>'+'/opac/en-US/skin/default/xml/rresult.xml?tp=&t=&rt=isbn&adv='+isbn,'LibraryLookup','scrollbars=1,resizable=1,location=1'))}

Example: Georgia PINES

Bookmarklet:

(drag this link to toolbar to install) Find it at a PINES Library!

JS Code:
 javascript:var%20re=/([\/-]|is[bs]n=)(\d{7,9}[\dX])/i;if(re.test(location.href)==true){var%20isbn=RegExp.$2;void(win=window.open('http://www.gapines.org'+'/opac/en-US/skin/default/xml/rresult.xml?tp=&t=&rt=isbn&adv='+isbn,'LibraryLookup','scrollbars=1,resizable=1,location=1'))}

Example: PINES demo

Bookmarklet:

(drag this link to toolbar to install) Find it in the Evergreen Demo OPAC!

evergreen-user/find_it_at_the_library_-_bookmarklet_to_search_evergreen_from_amazon.com.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.