« I *heart* hacking with fellow librarians | Main | Bookmarklet needs a place to live, and better explanation... »

September 23, 2004

WorldCat-Google bookmarklet solution

Wow. The response to this was *overwhelming*. I posted the bookmarklet fun, then went out for the night, and I haven't been able to log on again until this afternoon.

*Wow*.

The unanimous solution to the problem was that, even though we were using the sub code for the apostrophe in "I'm Feeling Lucky", it still needed to be escaped with a \. I received so many emails with various iterations of the fix, but I'm going to post the original code with the fix here:

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.google.com/search?btnI=I\'m+Feeling+Lucky&q=site:worldcatlibraries.org+'+isbn,'LibraryLookup','scrollbars=1,resizable=1,location=1,width=575,height=500'))}

So, as I understand it, if you take the link and drag it to your Links bar on your browser:

WorldCat-Google Lookup

it should work just spiffy. So very, very hot. Or you can pick up the one off Jessamyn's blog, or Steven's blog, or a bunch of other places, by now.

Some handy tools that readers emailed me in troubleshooting the problem included:

And we got some blog action, at least from the people who emailed me.

See also:

The coolest part of all of this is the thought and collaboration process. Jessamyn and I tooled at it for a while, and released it to the ether. It was impressive to read about everyone's problem solving processes in emails and in blog posts, and how accomplished they felt about it. Too cool.

September 23, 2004 1:38 PM