Re: [CODE4LIB] Google Covers vs. Amazon Covers

2008-03-20 Thread Joe Atzberger
Jay -- Koha libraries have been using Amazon images for some time in production, internationally. Amazon is free to determine whether this use is considered "strictly" promotional enough for their purposes or not. Since Koha directs readers to Amazon sites for specific items of interest, includi

Re: [CODE4LIB] Google Covers vs. Amazon Covers

2008-03-20 Thread Michael Spalti
We use Amazon covers in our catalog (alternately a google image if none is available from Amazon). The image and caption are click-able and toggle a hidden lightbox layer into view. The layer has links to amazon (and google) for more info. We assume this is in accord with Amazon's terms of use.

[CODE4LIB] Google Covers vs. Amazon Covers

2008-03-20 Thread Jay Roos
I've now been able to implement covers from Google and Amazon in our test catalog. Google has many fewer images, they sometimes don't make any sense (getting an author photo instead of the cover), and getting them is slow, at least through the javascript methods posted here recently. However, Amazo

Re: [CODE4LIB] poll of javascript libraries

2008-03-20 Thread Keith Jenkins
On Thu, Mar 20, 2008 at 12:35 PM, Godmar Back <[EMAIL PROTECTED]> wrote: > You may want to clarify what you mean by "use". > Is using a framework that internally uses it, but in an entirely > encapsulated manner, a "use"? I'd say no, unless you are writing code that interacts directly with the j

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread KREYCHE, MICHAEL
> -Original Message- > From: Code for Libraries [mailto:[EMAIL PROTECTED] On > Behalf Of Godmar Back > Sent: Thursday, March 20, 2008 10:45 AM > To: CODE4LIB@LISTSERV.ND.EDU > Subject: Re: [CODE4LIB] Google Book Search API - JavaScript Query > > Have you tried placing your code in an window

[CODE4LIB] poll of javascript libraries

2008-03-20 Thread Keith Jenkins
I've seen various Javascript libraries mentioned on this list from time to time, and would like to get a better sense which major Javascript libraries are being used within the Code4Lib community. So I've set up a quick, informal poll here: http://doodle.ch/sr5z4vusiwi4yssi Just enter your na

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread Godmar Back
I didn't mean window.onload literally; use a browser-compatible version of it [jQuery, btw, would figure that out automatically for you, so if you can integrate jQuery in your page, you may want to try Matt's plugin.] My prototype uses a function called "addEvent" from Dustin Diaz, see http://www.

[CODE4LIB] Digitool as local DAM

2008-03-20 Thread K.G. Schneider
The answer might seem to be, "sure of course we do," but let me frame it more specifically. Our organization's communications department needs a DAM for its virtual shoeboxes of photos -- only for internal access, a place where they could store, search, sort, tag, etc their digital assets. We have

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread David Kane
Hi Godmar, Thanks. Yes. I tried that, but the support for window.onload does not exist in IE6. I also tried the defer="defer" attribute in the script tag, which did not work either. Tim's solution looks good. I have yet to try it though. ( will wait until after Easter). Cheers, David On 20

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread Ethan Gruber
Hi Mike, I think that you can do your search interface entirely and easily with a javascript library called jquery. Someone has already built tab functionality with another library based on jquery called UI tabs. I have used it on one of my projects. The nice thing is that you can do it without

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread Mitchell, Matthew (mwm4n)
We've also got a jQuery plugin that you're more than welcome to use: http://blacklight.rubyforge.org/svn/javascript/ Matt From: Code for Libraries [EMAIL PROTECTED] On Behalf Of Godmar Back [EMAIL PROTECTED] Sent: Thursday, March 20, 2008 10:45 AM To: CO

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread Godmar Back
Have you tried placing your code in an window.onload handler? Read the example I created at libx.org/gbs and if that works for you in IE6, use the technique there. (Or you may just use the entire script - it seems you're reimplementing a lot of it anyway.) - Godmar On Thu, Mar 20, 2008 at 9:09

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread KREYCHE, MICHAEL
Tim and David, Thanks for sharing you solutions; the IE problem has been driving me crazy. I've mostly been working on the title browse page of our catalog. Originally I had it working on Firefox, Safari, and IE7 (IE6 worked if I refreshed the page); after some rearrangement of the script, it's

[CODE4LIB] AUTO: Simon Huggard is out of the office (returning 2008-03-31)

2008-03-20 Thread Simon Huggard
I am out of the office until 2008-03-31. If you have systems problems, please ring the library on (03) 9905 5054 and ask for the Systems Help Desk. Note: This is an automated response to your message [CODE4LIB] Google Book Search API - JavaScript Query sent on 20/3/08 10:11:33 PM. This is the on

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread David Kane
Hi Tim. Thanks a lot! I will give this a try later and let you know how I fare. Best, David. On 20/03/2008, Tim Hodson <[EMAIL PROTECTED]> wrote: > > One way I have used to resolve this is to poll the object until it > exisits before continuing. > > function myInit(id){ > 13 // if Obj is not d

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread Tim Hodson
Excuse the line numbers... On 20/03/2008, Tim Hodson <[EMAIL PROTECTED]> wrote: > One way I have used to resolve this is to poll the object until it > exisits before continuing. > > function myInit(id){ > 13 // if Obj is not defined yet, call this function again until it is. > 14 > 15 if (typ

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread Tim Hodson
One way I have used to resolve this is to poll the object until it exisits before continuing. function myInit(id){ 13 // if Obj is not defined yet, call this function again until it is. 14 15 if (typeof myObj == "undefined"){ 16 createScript(); 17 setTimeout("myInit()", 60); 18 return; 19 } 20 //

[CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread David Kane
HI Folks, We were one of the first libraries to get the GBS API working on our OPAC. Like many OPACs, ours is difficult to modify at times and requires a dynamic insert of a generated (by PHP) JavaScript, which is hosted on a separate server to the OPAC pages. It seems to work fine on most browse