Firstly, we really recommend people use the Librarian Interface (GLI)
instead of the Collector if possible - the only time the collector may
be useful is for building collections on a remote machine. If you are
building collections locally, then the GLI is far superior.
(To use the GLI, you should download the latest version of Greenstone
(2.50) (from http://sourceforge.net/projects/greenstone), and you can
run it under Linux by going to gsdl/gli directory and running gli.sh)
If you really want to use the Collector, the temporary collection
structure will be in the tmp directory of your Greenstone installation.
ie gsdl/tmp (on the computer where Greenstone is installed)
I'm not sure how the tmpbuild directories get created and numbered -
maybe a new one for each time the collector is started?
If you are the only person building collections, you could try deleting
all the contents of the tmp directory, and recreating your collection.
Then there will only be one tmpbuild directory, and inside there will be
a collection directory (the name will be based on the first few
characters of your collection title) and inside that will be the etc
directory where you can put your sub.txt file.
Collections that are being served live in gsdl/collect. If you have
already created the collection, you should be able to put the file in
gsdl/collect/<yourcollname>/etc and I assume that when you open it up in
the collector, it will find that file.
Having said all that, please use the GLI instead :-)
I hope this helps,
> First of all, I would like to offer my thanks for the prompt answer to my
> mgpp-related problem -- I rebuilt the collection using mgpp again, and it's
> working quite nicely now.
> I have, however, another problem.
> I'm trying to add a hierarchical list of subjects now.
> I added the line:
> classify Hierarchy -hfile sub.txt -metadata Subject -sort Title
> to the collection's configuration file, and created a "sub.txt" hierarchy file
> using the format:
> "Sample Subject" 1 "Sample Subject"
> to the same folder that I put the documents to be archived and the
> "metadata.xml" file.
> I discovered a .pdf document (at http://220.127.116.11/opendl/gsdl-co.pdf) that
> said that "sub.txt" needs to go into the "etc" directory of the collection,
> not the "import" directory.
> I'm using the web-based Collector on a computer running Linux. The .pdf
> document suggests "copy[ing] metadata.xml to the input collection folder and
> sub.txt, org.txt (and collect.cfg) to the □etc□ directory in the
> current □tmp mpbuild□ folder." I know what the "input" folder is. That's
> specified in the second step of the web-based collection-building process
> (right after the collection name, contact information, and so forth).
> What I don't, however, understand is
> (a) how to find the name of the "current 'tmp mpbuildetc' directory
> (b) how to get "sub.txt" into that directory with the web-based Collector.
> I understand that it may not be possible to do this without dealing with Linux
> directly, and I'm willing to give it a try, but I'm not really very
> Linux-knowledgable, so somewhat more detailed instructions would be very
> Thank you *very* much in advance.
> J. Raynor
> greenstone-users mailing list