Thank you for your help!
I finally found that it's very easy to update an existing collection! Why didn't I recognize that the import directory is not necessary? :-)
So, if you want to update an existing collection, first of all, you should delete all files in the Import Directory (it doesn't affect your collecton unless you want to re-use these files). And then , you copy desired files which you want to add to the current collection to that directory. After that, use command line to update the collection.
Execute the import.pl (the option -keepold is default (true) - important !) with the current collection. And after that, is buildcol.pl. The buildcol process must rebuild the whole collection, of course! Done !
Hope that helps someone like me yesterday ;)
Katherine Don <firstname.lastname@example.org> wrote:
Actually, if you are using the GLI, you can't keep the old archives. You
have to re-import and re-build each time. I suggest you use command line
building if you only want to add a couple of documents and not re-import
the old ones.
Stephen DeGabrielle wrote:
> Collection building works in two stages
> 1. import - which adds files to the import directory
> 2. Build - which converts the collection so that the greenstone
> 'receptionist' can search (via indexes)
> Import adds files in the import directory to the archive directory -
> unless you use the -remove_old flag - in which case it wipes
> previously imported files. Please look in the developers manual for
> If you are using the GLI(librarian) you may need to switch to 'expert'
to gain access to the -remove_old flog in the import options.
> I hope this helps.
> On 4/16/05, Leho@nq wrote:
>>I read the article "Greenstone: A Comprehensive Open-Source Digital Library
>>Software System" of Prof. Ian H Witten. It said that when updating an
>>existing collection, just placed the new file in the import directory, in
>>whatever form it is available. And "old material for which GML files have
>>previously been created is not re-imported." I tested several times, with
>>many options for import process, but existing files still were re-imported
>>(and cost lot of time because the existing collection is quite large). Could
>>you tell me why, please? (As in an email before, Ms Katherine Don told me
>>that there is no other way to add one file into a collection, and
>>cross collection instead. I trust in her. I just wanna try for more. But it
>>didn't work :-) )
>>It's quite important for me, so please help me!
>>Thank you so much!
>>Std. Le Hoang Ngoc Quynh (Lê Hoàng Ng□c Qu□nh)
>>Software Engineering Department.
>>Faculty of Information Technology
>>University of Natural Sciences, VNU - HCMC.
>>Do you Yahoo!?
>> Yahoo! Small Business - Try our new resources site!
>>greenstone-devel mailing list
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around