Re: [greenstone-users] Debugging advice

From John R. McPherson
DateMon, 12 May 2003 12:00:39 +1200
Subject Re: [greenstone-users] Debugging advice
In-Reply-To (20030510032452-42105-qmail-web40405-mail-yahoo-com)
On Sat, May 10, 2003 at 04:24:52AM +0100, Melina Kalatzi wrote:
> Hello list, I would be grateful if you could help me
> with these problems.

> 2. How do you cause the
> format DocumentButtons "Detach"
> to dissapear?

If you don't want any of the buttons at all, you can put
format DocumentButtons ""
in the collect.cfg file.


> 5. Why is it that when rebuilding the same
> collection, the files that have been modified and
> re-imported have been added to the new collection in
> duplicates and triplicates and so on? I can almost
> keep track of the current version of the collection by
> counting these files ;)

greenstone uses an import document's hash as its unique
identifier. If a document changes, its hash will change, and the
new version will be added. You can't easily delete
documents from a greenstone collection, so you might need to delete
the archives directory and rebuild from all the import documents.
Don't forget that "the Collector" (the web front-end to building)
removes the import directory after indexing.


> 6. How can I specify the size of the collection icon?

I don't think you can do this on a per-collection basis. You
could re-scale your icon(s).


Hopefully other people can answer your other questions.

John McPherson