|On 7/4/10 9:09 AM, see choon wrote:
> I'm new to greenstone. I have a doubt on one line of command,hope
> someone here can help me solve it.
> May i know what this line means?
> /gsdlmod is for what?
Greenstone fills this in automatically with the path to the program that
services the Web.
> a is what?
> p is what?
a and p tell the program what to do. From the Greenstone developer
Page parameters and CGI arguments
Page parameters and CGI arguments may be defined from within the
/main.cfg/ configuration file. Recall from Figure 40
that most CGI arguments are defined within the library C++ code itself.
However, it is occasionally useful to define new arguments or edit
existing ones at configuration time, thus avoiding the need to recompile
To do this you use the /cgiarg/ configuration option. /Cgiarg/ may take
up to six arguments; /shortname/, /longname/, /multiplechar/,
/argdefault/, /defaultstatus/ and /savedarginfo/. These arguments
correspond to the CGI argument options described in Section 3.8
For example, in the default /main.cfg/ file the /cgiarg/ configuration
option is used to set the default values of the existing /a/ and /p/ CGI
arguments to /p/ and /home/ respectively.
Page parameters are special cases of CGI arguments which correspond to
parameters in Greenstone's macro files. For example, the /l/ CGI
argument directly corresponds to the /l=/ parameter in the macro files.
To define a CGI argument to also be a page parameter you use the
/pageparam/ configuration option.
The best way to learn about the various configuration options possible
in the /main-cfg/ configuration file is to experiment with the file
itself. Note that if you are using the Windows local library version of
Greenstone you must restart the server before any configuration files
changes take effect.
> Next, when i tried to create a package which named collection in new
> .dm file, i use the same script as status.dm and i had change the word
> status to collection,but why i fail to built the collection?
> Is it we need to define the new package in somewhere?
> Appreciate for your help and i'm looking for the solution.
> Hotmail: Powerful Free email with security by Microsoft. Get it now.
> greenstone-users mailing list
-------------- next part --------------
An HTML attachment was scrubbed...