|
From: | Paul POULAIN |
Subject: | Re: [Koha-devel] New Feature: Amazon.com Content |
Date: | Mon, 27 Feb 2006 17:31:41 +0100 |
User-agent: | Mozilla Thunderbird 1.0.6-7.2.20060mdk (X11/20050322) |
Joshua Ferraro a écrit :
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.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.
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)
[Prev in Thread] | Current Thread | [Next in Thread] |