[greenstone-users] how to build Application which can search , get and manage the Object in GSDL remote

From qq6@cs.waikato.ac.nz
DateTue Jan 29 12:08:00 2008
Subject [greenstone-users] how to build Application which can search , get and manage the Object in GSDL remote
In-Reply-To (20080128214426-134180-gmx-net)
Hi Feng

> Hi
> My Task is to build a GUI which has all functions of GLI for GSDL by using
> Java SDK.i have took a look of the "gliserver4gs3.pl" and the
> "gsdlCGI4gs3.pm" files. Sorry, i have not so much Idea about Perl
> language.
>
> Buti knew,the both files maybe wrote the functions what i wanted("manage
> the collections of GSDL,ingest,new,delete...").
>

Yes, you are right. Both the "gliserver4gs3.pl" and the"gsdlCGI4gs3.pm"
files are used to manage Greenstone3 collections remotely. Another core
file is
GREENSTONE3HOME/gli/trunk/src/org/greenstone/gatherer/remote/RemoteGreenstoneServer.java
, which is in charge of sending commands from client-gli to server to
build collections. I think this java file is easy to be read and
understood, and also very help to your project.


> The question is, if the both Perl files realize the functions of Remote
> GSDL, how can i implement or translate it in Java Class?
>
> We knew that Remote GSDL use the Perl and CGI! But i wanna write a Java
> version.
>
> Regards
> Feng Wang
>
>
>
> -------- Original-Nachricht --------
>> Datum: Thu, 24 Jan 2008 11:54:18 +1300 (NZDT)
>> Von: qq6@cs.waikato.ac.nz
>> An: "feng wang" <wangfeng77@gmx.de>
>> CC: greenstone-users@list.scms.waikato.ac.nz
>> Betreff: Re: [greenstone-users] how to build Application which can
>> search , get and manage the Object in GSDL remote
>
>> Hi Feng
>>
>> > Hi everyone,
>> >
>> > I am writing the master thesis about the DLs. My supervisor asks me to
>> > write a program that can get the connect remote to the Greenstone
>> Server.
>> >
>> To understand how the remote GLI works, you can start from reading the
>> document http://wiki.greenstone.org/wiki/index.php/Remote_Greenstone,
>> and
>> then install Greenstone and a stand along GLI application yourself. You
>> will get some ideas when trying to connect the GLI to the Greenstone
>> server remotely.
>>
>> In Greenstone, importing documents and building collections are all done
>> by calling Perl scripts. So does the remote GLI. But the remote GLI
>> calls
>> the Perl scripts through CGI because of in a network envrionment.
>> Studying
>> the GSDLHOME/cgi-bin/gliserver.pl file will help you understand the
>> principle of remote communication before starting your implementation.
>>
>>
>> > Mainly the GUI should have two functions
>> >
>> > 1.It can play as one normal user/reader that search and get the Docs
>> > remote, just like a browser
>> >
>> Yes, it can
>> > 2. Or it can also work as Admin, that manager the collection remote
>> ,like
>> > ingest or delete the Docs or Object in GSDL Server and DB by the
>> command
>> > from the my GUI Application.
>> >
>> Yes. Look at the Authentication part of the document for the detail
>>
>> > I know the first Requirement is possible. But still how can I
>> implement
>> > it(pls, I need some advices too)!
>> >
>> > But the second one, I do not know, whether it is possible. I do know
>> that
>> > GSDL has a Admin Interface. And the GUI Program can local manage
>> > (add/rename etc□) the object in the Repository of GSDL. How can I
>> do it
>> > too remote with my GUI? And how can I get the Admin- privilege? The
>> GSDL
>> > does not have the API that can support the Function remote.
>> >
>> > Does someone tell me, whether it is possible! And How? Please help me,
>> > because it is very important to me, thanks! please, please help it to
>> > me□
>> > Regards
>> > Feng
>> >
>> > --
>> > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
>> > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
>> >
>> > _______________________________________________
>> > greenstone-users mailing list
>> > greenstone-users@list.scms.waikato.ac.nz
>> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>> >
>>
>
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal f□r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>
>