help-gift
[Top][All Lists]
Advanced

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

Re: [help-GIFT] Adding images during runtime


From: Ernesto Ferrari
Subject: Re: [help-GIFT] Adding images during runtime
Date: Mon, 30 Jan 2006 18:10:10 +0100
User-agent: Debian Thunderbird 1.0.7 (X11/20051017)

Wolfgang Müller wrote:
> Hello, Ernesto,
> 
>>I'd like to use GIFT for a new-media application I'm working on, and I'd
>>like to know how GIFT behave with the following:
> 
> 
>>- how do I add new images to an already existing collection?
> 
> 
> Currently the way to go is to run gift-add-collection.pl again. This is not 
> runtime.
> 
> 
This is what I was thinking: the problem is, when I tried it didn't work.
I started a fresh new collection with:

gift-add-collection.pl --image-directory=/path_to_my/images/
--url-prefix=http://hostname/images
--thumbnail-url-prefix=http://hostname/images_thumbnails

so that I could work with the php client.
Everything worked out fine, the url2fts.xml file reported the correct
images/features URI.

The I copied an image from somewhere in the filesystem to
/path_to_my/images/ and issued again the previous command.

The output seemed to do the right thing, passing by on the already
indexed images and working on the new_image.

This time, the url2fts.xml file reported just the last indexed image,
all the other weren't there anymore!

Tested with the php client, there is just the last indexed image in my
collection.

What went wrong?
I'm on a Debian GNU/Linux testing distro, GIFT 0.1.14 from Debian
package (which, I have to say, make the GIFT install pretty easy!)


>>- is it possible to add those new images runtime?
> 
> 
> "Possible" has two possible meanings.
> 
> 1. "Possible with the current code?"
> 
> No, the current code does not support runtime adding of images.
> 
> 2. "Possible at all?"
> 
> Yes, of course. http://portal.acm.org/citation.cfm?doid=1099739 seems to me a 
> good way to go, if you want efficiency. If efficiency is not a major concern, 
> it might be a good idea to do some double-buffering kind of approach:
Thanks, I'll take a look at it.

Best regards,
Ernesto


-- 
web:    http://www.cinelinux.net
email:  address@hidden




reply via email to

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