[Koha] error in Amazon.pm script?
Rick Welykochy
rick at praxis.com.au
Thu Nov 6 05:51:43 NZDT 2008
Emrys Minnig wrote:
> Something that might be of interest to the development team...
> I think there's a small oversight in C4/Amazon.pm. On line 101 it reads:
>
> my $uri = "http://www.amazon.com/gp/reader/$isbn/ref=sib_dp_pt/002-7879865-0184864#reader-link";
>
> This line ignores the locale settings (in my case UK) which the majority of times breaks the 'Search Inside' capability.
Which raises another question: why is there a URL such as the above
hard-coded in the software?
This kind of data should be treated as data ... and stored in the
configuration database.
cheers
rickw
More information about the Koha
mailing list