[LibX] Amazon embedded cues?

John Bickar johnbickar at stanford.edu
Thu Apr 3 10:01:57 PDT 2008


Phew! You all are up too early for those of us on the West Coast!

I can confirm that version 1.2.3, rebuilt 04/03/2008, shows amazon cues 
both when logged in and when logged out. (Firefox 2.0.0.6, Mac OS 10.4.11).

Thanks for the quick fix, Godmar!

-John Bickar


Enrico Silterra wrote:
> Thanks, Godmar.
> I can report that the edition I rebuilt at about 11pm Apr 2  for 
> cornell.edu does show the cues,
> both when logged in, and when not, for firefox 2.0.0.13.
> Thanks a lot for the quick fix!
> Rick
> 
> Godmar Back wrote:
>> I fixed the cue. In our current system, this means you have to rebuild
>> and push an update. [We'll have a better solution soon, hopefully].
>> The new implementation should work both for those who see the new html
>> amazon sends as well as the old one. You can visually tell if you see
>> the old or new by looking at the color of the title (they switched
>> from black to orange, it seems.)
>>
>> One comment on how to debug this, or help debug this:
>> To see what goes wrong when LibX processes a cue, go to "about:config"
>> and add a new entry of type "boolean".  Call it "libx.doforurl.debug"
>> and set it to true. Then visit the page on which the cue operates.
>> This setting will log any exceptions thrown during cue processing to
>> the JavaScript error console.
>>
>>  - Godmar
>>
>> On Wed, Apr 2, 2008 at 4:53 PM, Campbell, James (jmc) <jmc at virginia.edu> wrote:
>>   
>>>
>>>
>>> I was seeing cues in Firefox without being logged in and I just went to
>>> Amazon using IE, which I use only for testing things and where Amazon has no
>>> cookies or history for me, and I'm seeing cues there too..
>>>
>>>
>>>
>>>
>>>       - Jim Campbell
>>>
>>>
>>>
>>>       Digital Access Librarian | Librarian for German
>>>
>>>       University of Virginia Library | Charlottesville, VA 22904-4112
>>>
>>>
>>>
>>>       513 Alderman | campbell at virginia.edu | 434-924-4985
>>>
>>>
>>>
>>>
>>>
>>> From: libx-bounces at mozdev.org [mailto:libx-bounces at mozdev.org] On Behalf Of
>>> Enrico Silterra
>>>  Sent: Wednesday, April 02, 2008 4:47 PM
>>>  To: libx at mozdev.org
>>>
>>>
>>>  Subject: Re: [LibX] Amazon embedded cues?
>>>
>>>
>>>
>>>
>>>
>>> Just to add my .02 yoctocents,
>>>  all of my error reports regarding the cornell edition apply to when logged
>>> in, and
>>>  when not logged in.  My previous reports had me logged in -- cause amazon
>>> remembers me so well,
>>>  but I tried
>>>
>>>  http://www.amazon.com/gp/product/006073132X
>>> when logged out, and no cue for you.
>>> Rick
>>>
>>>
>>>
>>>
>>>  I am logged in.
>>>
>>>  John Bickar wrote: Yeah, it seems I spoke too soon. I just logged in and
>>> can't see the cue.
>>>
>>> -John Bickar
>>>
>>>
>>> Tom Pasley wrote:
>>>
>>>
>>> Hi,
>>>
>>> I would also like to have this working for both... though to confirm,
>>> I'm logged into Amazon, and can't see the cue, but I can for Barnes and
>>> Noble - I've just done a rebuild of the current live version, (using the
>>> 'Copy
>>> forward' function).
>>>
>>> I'm using version 1.2.2 of LibX on Firefox 2.0.0.13, with numerous
>>> other add-ins...
>>>
>>> cheers,
>>>
>>> Tom
>>>
>>>
>>>
>>>
>>>
>>> John Bickar <johnbickar at stanford.edu> 3/04/2008 9:24 a.m. >>>
>>>
>>>  Great! Thanks for tracking that down.
>>>
>>> 1 vote here for adapting the code to work for both.
>>>
>>> Thanks again,
>>>
>>> John Bickar
>>>
>>> Godmar Back wrote:
>>>
>>>
>>> It's a cookie issue. Amazon sends different HTML depending on
>>>
>>>  whether
>>>
>>>
>>> you're logged in or not.
>>> The existing code works only if you're logged in, but it should be
>>> possible to fix so it works for both.
>>>
>>>  - Godmar
>>>
>>> On Wed, Apr 2, 2008 at 1:35 PM, Campbell, James (jmc)
>>>
>>>  <jmc at virginia.edu> wrote:
>>>
>>>
>>>
>>> I'm seeing the cues consistently in amazon.com and amazon.de using
>>>
>>>  Firefox 2.0.0.13 and LibX 1.2.6 (Virginia version).  We just recently
>>> upgraded from (I think) 1.2.3 and I'm sure it was working there too.
>>>
>>>
>>>
>>>       - Jim Campbell
>>>
>>>
>>>
>>>
>>>  -----Original Message-----
>>>  From: libx-bounces at mozdev.org [mailto:libx-bounces at mozdev.org] On
>>>
>>>  Behalf Of John Bickar
>>>
>>>
>>>
>>>  Sent: Wednesday, April 02, 2008 1:17 PM
>>>  To: Arif Khokar
>>>  Cc: libx at mozdev.org
>>>  Subject: Re: [LibX] Amazon embedded cues?
>>>
>>>  Hi Arif,
>>>
>>>  Firefox 2.0.0.6, LibX v.1.2.2 (I presume this is the LibX version,
>>>
>>>  not
>>>
>>>
>>>
>>>  my build version).
>>>
>>>  I was noticing this behavior with an older build of LibX, so I
>>>
>>>  just
>>>
>>>
>>>
>>>  rebuilt a new test revision a few minutes ago, and the behavior
>>>
>>>  persists.
>>>
>>>
>>>
>>>  Please let me know if you'd like more information.
>>>
>>>  Thanks,
>>>
>>>  John Bickar
>>>
>>>  Arif Khokar wrote:
>>>  > John Bickar wrote:
>>>  >
>>>  >> Is it just me, or have the LibX embedded cues in Amazon pages
>>>  >> disappeared?
>>>  >>
>>>  >> I've tried pulling up several titles (a half-dozen or so),
>>>
>>>  including
>>>
>>>
>>>
>>>  >> the one on the Edition Builder Test Page (Freakonomics), and I'm
>>>
>>>  not
>>>
>>>
>>>
>>>  >> seeing the cue.
>>>  >
>>>  > Hi John,
>>>  >
>>>  > Are you referring to the Firefox or Internet Explorer version of
>>>
>>>  LibX?
>>>
>>>
>>>
>>>  > Also, which edition are you using?
>>>  >
>>>  _______________________________________________
>>>  Libx mailing list
>>>  Libx at mozdev.org
>>>  https://www.mozdev.org/mailman/listinfo/libx
>>>  _______________________________________________
>>>  Libx mailing list
>>>  Libx at mozdev.org
>>>  https://www.mozdev.org/mailman/listinfo/libx
>>>
>>>
>>>  _______________________________________________
>>> Libx mailing list
>>> Libx at mozdev.org
>>> https://www.mozdev.org/mailman/listinfo/libx
>>>
>>>  _______________________________________________
>>> Libx mailing list
>>> Libx at mozdev.org
>>> https://www.mozdev.org/mailman/listinfo/libx
>>>
>>>
>>> Visit our website at http://www.crop.cri.nz
>>> ______________________________________________________
>>> CAUTION: The information contained in this email is privileged
>>> and confidential.  If you read this message and you are not the
>>> intended recipient, you are hereby notified that any use,
>>> dissemination, distribution or reproduction of all or part of the
>>> contents is prohibited. If you receive this message in error,
>>> please notify the sender immediately.
>>>
>>> Any opinions or views expressed in this message are those of the
>>> individual sender and may not represent those of their employer.
>>>
>>>
>>>
>>> _______________________________________________
>>> Libx mailing list
>>> Libx at mozdev.org
>>> https://www.mozdev.org/mailman/listinfo/libx
>>>
>>>  _______________________________________________
>>> Libx mailing list
>>> Libx at mozdev.org
>>> https://www.mozdev.org/mailman/listinfo/libx
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>  --
>>> ******************************
>>> Enrico Silterra
>>> Software Engineer
>>> 501 Olin Library
>>> Cornell University
>>> Ithaca NY 14853
>>>
>>> Voice: 607-255-6851
>>> Fax:     607-255-6110
>>> E-mail: es287 at cornell.edu
>>> http://www.library.cornell.edu/cts/
>>> "Qui Audet Vincit" -- Motto of the SAS
>>> ******************************
>>>
>>> _______________________________________________
>>>  Libx mailing list
>>>  Libx at mozdev.org
>>>  https://www.mozdev.org/mailman/listinfo/libx
>>>
>>>
>>>     
>> _______________________________________________
>> Libx mailing list
>> Libx at mozdev.org
>> https://www.mozdev.org/mailman/listinfo/libx
>>
>>   
> 
> 
> -- 
> ******************************
> Enrico Silterra
> Software Engineer
> 501 Olin Library
> Cornell University
> Ithaca NY 14853
> 
> Voice: 607-255-6851
> Fax:     607-255-6110
> E-mail: es287 at cornell.edu
> http://www.library.cornell.edu/cts/
> "Qui Audet Vincit" -- Motto of the SAS
> ******************************
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Libx mailing list
> Libx at mozdev.org
> https://www.mozdev.org/mailman/listinfo/libx


More information about the Libx mailing list