koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/C4 Amazon.pm [rel_2_2]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/C4 Amazon.pm [rel_2_2]
Date: Sat, 04 Mar 2006 03:24:51 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Joshua Ferraro <address@hidden> 06/03/04 03:24:51

Modified files:
        C4             : Amazon.pm 

Log message:
        IMPORTANT: I had Associates tag and Dev Key confused ... now they
        are named properly ... if you had it working before, now you must
        swap them ... sorry :-)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/C4/Amazon.pm.diff?only_with_tag=rel_2_2&tr1=1.3.2.3&tr2=1.3.2.4&r1=text&r2=text

Patches:
Index: koha/C4/Amazon.pm
diff -u koha/C4/Amazon.pm:1.3.2.3 koha/C4/Amazon.pm:1.3.2.4
--- koha/C4/Amazon.pm:1.3.2.3   Sat Feb  4 02:15:52 2006
+++ koha/C4/Amazon.pm   Sat Mar  4 03:24:51 2006
@@ -59,7 +59,7 @@
        my $af_tag=C4::Context->preference('AmazonAssocTag');
 
        my $asin=$isbn;
-       my $url = 
"http://xml.amazon.com/onca/xml3?t=$dev_key&dev-t=$af_tag&type=heavy&f=xml&AsinSearch=";
 . $asin;
+       my $url = 
"http://xml.amazon.com/onca/xml3?t=$af_tag&dev-t=$dev_key&type=heavy&f=xml&AsinSearch=";
 . $asin;
        my $content = get($url);
        warn "could not retrieve $url" unless $content;
        my $xmlsimple = XML::Simple->new();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]