23rd Sep 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:
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:
- Mozilla Firefox Javascript Console [Thanx to John Mignault]
- URL Encoding (or: ‘What are those “%20″ codes in URLs?’) [Thanx to Michael Sauers
And we got some blog action, at least from the people who emailed me.
See also:
- Worldcat/Google Bookmarklet created! (includes Michael Fagan's fix and version of the bookmarklet, which includes a version that opens in the *same* window, so cool) [Thanx to Steven Cohen]
- Multiple posts from Michael Sauers
- Search WorldCat via Google
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.
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:
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:
- Mozilla Firefox Javascript Console [Thanx to John Mignault]
- URL Encoding (or: ‘What are those “%20″ codes in URLs?’) [Thanx to Michael Sauers
And we got some blog action, at least from the people who emailed me.
See also:
- Worldcat/Google Bookmarklet created! (includes Michael Fagan's fix and version of the bookmarklet, which includes a version that opens in the *same* window, so cool) [Thanx to Steven Cohen]
- Multiple posts from Michael Sauers
- Search WorldCat via Google
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.
Posted in Uncategorized | Comments Off




