Re: Compiling gift 0.1.14 on gentoo error

Michiel Roos <[email protected]>
Newsgroups gmane.comp.gnu.gift.general
Message-ID <1156332400.10041.60.camel@slak>
On Tue, 2006-08-22 at 08:02 +0200, Kamil Wencel wrote:
> 
> While I am at it:
> 
> Are there any pitfalls regarding the configuration of the gift when it 
> comes to php clients ? How should a recommended config file look like if 
> I want to search images with say php_gift to start with ?

Hi Kamil,

You don't need a lot of config for the php_gift package. The config file
is tiny. Most visual style is done by CSS which you can strip form
http://gift.monosock.org/ and hand adjust.

The main config params are:

$giftServer = '127.0.0.1';
$giftPort   = 12789;

/**
 * Change the layout of the radio buttons for setting the image
relevance. You
 * can either enter;
 * - 'pn' (positive neutral negative)
 * - 'np' (negative neutral positive)
 * Anyone with a better variable name or idea to tackle this issue?
 *
**/
$relevanceLayout = 'pn';

Cheers,


Michiel Roos
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.