Joshua Ferraro a écrit :
On Fri, Feb 03, 2006 at 06:02:16PM -0800, Joshua Ferraro wrote:
Note that if you don't touch these systemprefs, no Amazon.com code will be called.
Oops ... I put the 'use C4::Amazon' line at the top of opac-detail.pl instead of inside the conditional. Fixed in CVS -- sorry about that. I'm not sure the move inside the "if" is useful, as I get an internal server error even with pref=OFF, if XML::Simple is not installed.
If you want to use Amazon content you'll also need to install XML::Simple and LWP::Simple, both available from CPAN:
# perl -MCPAN -e 'install LWP::Simple'
I think it's installed by default on any linuxbox.
# perl -MCPAN -e 'install XML::Simple'
OK I've added them in package check on install. -- Paul POULAIN et Henri Damien LAURENT Consultants indépendants en logiciels libres et bibliothéconomie (http://www.koha-fr.org)