When you type in
the base URL for the BPL OPAC (http://www.berkeley-public.org) and the name of the
library (Berkeley Public Library), select Innovative for the vendor (as shown in Figure 1-6), and
then hit Submit, you get a bookmarklet that you can then drag to your browser toolbar. The
source of the bookmarklet is as follows:
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.berkeley-public.org'+'/search/i='+isbn,
'LibraryLookup','scrollbars=1,resizable=1,location=1,width=575,height=500'))}
?– Note If your library is not one of the vendors listed by Udell, it is not difficult to take these templates and
make them work for libraries with slightly changed systems.
CHAPTER 1 ?– LEARNING FROM SPECIFIC MASHUPS 15
Figure 1-6. The LibraryLookup Bookmarklet Generator with parameters for the BPL
Invoking the LibraryLookup Bookmarklet
Let??™s see this bookmarklet in action. Here I use the LibraryLookup bookmarklet for the
BPL, applied to the book Foundations of Ajax, which is published by Apress with an ISBN-10
of 1590595823. If you go to the corresponding Amazon page (http://www.amazon.com/
Foundations-Ajax-Foundation-Ryan-Asleson/dp/1590595823/) and hit the BPL Library-
Lookup bookmarklet, you would see a window pop up showing the book in the BPL (see
Figure 1-7).
CHAPTER 1 ?– LEARNING FROM SPECIFIC MASHUPS 16
Figure 1-7.
Pages:
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83