Re: [greenstone-users] Collector and building

From Katherine Don
DateFri, 02 Jul 2004 12:02:28 +1200
Subject Re: [greenstone-users] Collector and building
In-Reply-To (auto-000081575032-mailfe03-swip-net)
Hi

We don't really support the collector any more. I tried deleting the
demo collection in my greenstone but it didn't have any effect on
building other collections. If you can give me more info about what you
did to get the error I can try and help - but its hard to help if I
can't reproduce the error here.

Anyway, to get your collection going, how about using something
different to build it? Normally we'd advise people to use the GLI. The
user guide has a detailed reference section and a walk through of
collection building using the GLI.
In your case, why don't you try using command line building. The
developers guide has detailed instructions for this.

In brief, in a command prompt, cd to your gsdl directory and run setup.
Run perl -S mkcol.pl (with options) to get the structure for a new
collection, (this will be in gsdl/import/<collname>), put the documents
into the import directory of the collection, put your collect.cfg file
into the etc directory (replace the default one that is there).
Then run
perl -S import.pl <collname>
perl -S buildcol.pl <collname>
and rename the building directory to index.

Restart the local library, and you should see your collection.

Running any of the commands with -h will give you a list of options.

Hope this helps,
Katherine Don

Lars N. Clement Bertelsen wrote:
> To members and support,
>
> I have build from the Collector webinterface (The config.cfg-fil is edited in
> Notepad) and I deleted the Demo collection from here AFTER I had build my own
> Bibliography in Greenstone. (se the attatched config.cfg file)
> The bibliography was fine and was accessable to others from outside too. Today I had to change some references for the first time after first build - not just import new ones, and I deleted
> my bibliography from the collector and returned to build the collection in the
> Collector again, which turned out to be impossible !!
> When I get to 'Source Data' in the proces I just get a blank page - no error message except
> this line in the Internet Explorer address field: "javascript:check_submit('srce');"
>
> I use Windows XP PRO (with all the online updates from MS) with JavaRES 1.4.2.04 / Greenstone v. 2.5 and KF Webserver v. 2.5
>
> I've tried this problem before on another PC with the same program configuration (not the same windows id) and I thought that it was that PC and some error in the IE Browser but now the problem showes itself in exactly the same way on this second PC: you can build a collection and delete the demo ONLY ONE TIME and then all other changes are locked and you get the error message in the IE. It does not help to delete temporary internet files in the IE or to delete and reinstall JavaRES 1.4.2.04 / Greenstone v. 2.5
>
> THERE IS SOMETHING VERY BADLY WRONG WITH GREENSTONE VERSION 2.5 !!!
>
> Can anyone recognize this problem and do you have a solution to the problem ??
>
> I have not build the config.cfg file in the GLI - it is a modified file from another collection so please don't come up with "just do the whole thing in the GLI". Alternatively I would happy if someone would 'take me by the hand' in GLI and deconstruct my config.cfg file - stating in what window and subwindow of GLI this and this information can be refered to. I have tried that by myself but I get lost in some of the information and multitude of options !!!
>
> Comments can also be send to nuuk25@hotmail.com
>
> HELP HELP HELP HELP HELP HELP
>
> Thanks
>
> Lars Bertelsen
>
>
> Config.cfg :
> ------------------------------------------
>
> creator paleolithic@get2net.dk
> public true
> collectionmeta collectionname "The Paleolithic Iran Bibliography"
> collectionmeta iconcollection "_httpprefix_/datafiler/pale.gif"
> collectionmeta iconcollectionsmall "/gsdl/datafiler/palesm.gif"
> collectionmeta collectionextra "
>
> <br><br>
> An Introduction Web Site; <strong>Paleolithic Archaeology</strong> to this Online Bibliography can be found on this Address:
> <br><br>
> <strong>
> <h2>http://www.paleolithic-archaeology.com
> </h2></strong>
> <br>
>
> "
> <br>
>
> groupsize 200
> searchtype form plain
> indexes text metadata
> collectionmeta .text "Full Records"
>
>
> plugin ZIPPlug
> plugin BibTexPlug
> plugin GAPlug
> plugin ArcPlug
> plugin RecPlug
> classify AZList -metadata Title
> classify AZCompactList -metadata Author -buttonname Creator
> classify DateList
> classify Phind
>
> -text document:Title,document:Creator,document:Booktitle,document:Publisher
>
> format VList "<td valign=top>[link][icon][/link]</td>
> <td valign=top><b>[Title]</b> - <i>{Or}{[Creator],[Editor]}</i>
> {If}{[Year], - [Month] [Year]}</td>"
>
> format CL2VList "<td valign=top>[link][icon][/link]</td>
> <td valign=top>{If}{[numleafdocs],<b>[Title]</b>,
> <b>[Author]</b> ([Creator]) -- <i>[Title]</i>}
> {If}{[Year], - [Month] [Year]}</td>"
>
> format DateList "<td valign=top>[link][icon][/link]</td>
> <td valign=top><b>[Title]</b> - <i>{Or}{[Creator],[Editor]}</i></td>"
>
> format DocumentHeading '<br><br><H3>[Title]<br>In: [Journal]<br>[Booktitle]<br></H3><hr><table>
>
> {If}{[Creator],<tr><td><b>Author(s):</b></td><td>[Creator]</td></tr>}
> {If}{[Chapter],<tr><td><b>Chapter (Paper Title):</b></td><td>[Chapter]</td></tr>}
> {If}{[Title],<tr><td><b>Title:</b></td><td>[Title]</td></tr>}
> {If}{[Editor],<tr><td><b>Editor(s):</b></td><td>[Editor]</td></tr>}
> {If}{[EditorRole],<tr><td><b>Editor Role:</b></td><td>[EditorRole]</td></tr>}
> {If}{[Booktitle],<tr><td><b>Book Title:</b></td><td>[Booktitle]</td></tr>}
> {If}{[Journal],<tr><td><b>In:</b></td><td>[Journal]</td></tr>}
> {If}{[Volume],<tr><td><b>Volume:</b></td><td>[Volume]</td></tr>}
> {If}{[Number],<tr><td><b>Number:</b></td><td>[Number]</td></tr>}
> {If}{[MeetingDate],<tr><td><b>Meeting Date:</b></td><td>[MeetingDate]</td></tr>}
> {If}{[MeetingPlace],<tr><td><b>Meeting Place:</b></td><td>[MeetingPlace]</td></tr>}
> {If}{[PublicationPlace],<tr><td><b>Publication Place:</b></td><td>[PublicationPlace]</td></tr>}
> {If}{[Publisher],<tr><td><b>Publisher:</b></td><td>[Publisher]</td></tr>}
> {If}{[PublisherAddress],<tr><td><b>Publisher Address:</b></td><td>[PublisherAddress]</td></tr>}
> {If}{[Year],<tr><td><b>Publication Date:</b></td><td>[Month] [Year]</td></tr>}
> {If}{[Pages],<tr><td><b>Pages:</b></td><td>[Pages]</td></tr>}
> {If}{[DocType],<tr><td><b>DocType:</b></td><td>[DocType]</td></tr>}
> {If}{[Location],<tr><td><b>Location/URL:</b></td><td>[Location]</td></tr>}
> {If}{[Notes],<tr><td><b>Annotations:</b></td><td>[Notes]</td></tr>}
> {If}{[Abstract],<tr><td><b>Abstract:</b></td><td>[Abstract]</td></tr>}
> {If}{[Keywords],<tr><td><b>Keywords:</b></td><td>[Keywords]</td></tr>}
> </table><hr>'
> format "DocumentText" "{If}{_cgiargshowrecord_,
> <b>BibTeX Record:</b><br/><tt>[Text]</tt><br><center>
> <a href='/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-about-Raj K Bhardwaj--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=d&d=40E4A614-6060907-cs-waikato-ac-nz'>Hide BibTex Record</a></center>,
> <center><a href='/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-about-Raj K Bhardwaj--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=d&d=40E4A614-6060907-cs-waikato-ac-nz&showrecord=1'>
> Show BibTex Record</a></center>} "
> format "DocumentButtons" ""
> format "DocumentContents" "false"
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> -------------------------------------------------
> WebMail fra Tele2 http://www.tele2.dk
> -------------------------------------------------
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>