From dd1ad2d3eba9650afbbb6633b3767107622f25d4 Mon Sep 17 00:00:00 2001 From: "J. David Bavousett" Date: Tue, 11 May 2010 13:55:09 -0400 Subject: [PATCH] Correct URL for Baker & Taylor ContentCafe This patch updates the URL for image links in ContentCafe Sponsored by Plano Independent School District, Plano, TX, USA [RM note: the previous book cover URL was for a varient of Baker and Taylor's service that has to do with 'bookstore integration', and if I remember correctly, the main difference is that the book jacket image had "buy now" text. The version supplied in this patch should work for normal use of ContentCafe.] Signed-off-by: Galen Charlton --- C4/External/BakerTaylor.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/C4/External/BakerTaylor.pm b/C4/External/BakerTaylor.pm index 2ed01b67f7..39768b57ea 100644 --- a/C4/External/BakerTaylor.pm +++ b/C4/External/BakerTaylor.pm @@ -45,8 +45,7 @@ sub initialize { $user = (@_ ? shift : C4::Context->preference('BakerTaylorUsername') ) || ''; # LL17984 $pass = (@_ ? shift : C4::Context->preference('BakerTaylorPassword') ) || ''; # CC82349 $link_url = (@_ ? shift : C4::Context->preference('BakerTaylorBookstoreURL')); - # https://ocls.mylibrarybookstore.com/MLB/actions/searchHandler.do?nextPage=bookDetails&parentNum=10923&key= - $image_url = "http://contentcafe2.btol.com/buynow/Jacket.aspx?UserID=$user&Password=$pass&Product="; + $image_url = "http://contentcafe2.btol.com/ContentCafe/Jacket.aspx?UserID=$user&Password=$pass&Options=Y&Return=T&Type=S&Value="; $agent = "Koha/$VERSION [en] (Linux)"; #"Mozilla/4.76 [en] (Win98; U)", # if for some reason you want to go stealth, you might prefer this } -- 2.11.0