# This is the main configuration file for configuring # your Greenstone receptionist (i.e. the bit responsible # for the way things are displayed). # Email address of the webmaster of this Greenstone installation # If maintainer is set to "NULL" EmailEvents and EmailUserEvents # will be disabled. maintainer NULL # Outgoing (SMTP) mail server for this Greenstone installation. # This will default to mail.maintainer-domain if it's not set # (i.e. if maintainer is greenstone@cs.waikato.ac.nz then MailServer # will default to mail.cs.waikato.ac.nz). If MailServer doesn't # resolve to a valid SMTP server then the EmailEvents and # EmailUserEvents options (see below) won't be functional. Likewise, # turning off EmailEvents and EmailUserEvents will remove any # reliance on MailServer. MailServer NULL # Set status to "disabled" if you don't want the Maintenance and # Administration facility to be available. status enabled # Set collector to "disabled" if you don't want the "collector" # end-user collection building facility to be available. collector enabled # Set logcgiargs to true to keep a log of usage information in # $GSDLHOME/etc/usage.txt. logcgiargs false # Set usecookies to true to use cookies to identify users (cookie # information will be written to the usage log if logcgiargs is # true). usecookies false # LogDateFormat sets the format that timestamps will be stored in the usage # log (i.e. if logcgiargs is enabled). It takes the following values: LocalTime: (the default) The local time and date in the form "Thu Dec 07 23:47:00 NZDT 2000". UTCTime: Coordinated universal time (GMT) in the same format as LocalTime. Absolute: Integer value representing the number of seconds since 00:00:00 1/1/1970 GMT LogDateFormat LocalTime # Log any events that Greenstone deems important in # $GSDLHOME/etc/events.txt. # The only events that are currently implemented come from the # collector (e.g. someone just built/deleted the following collection) # LogEvents may take values of: # AllEvents: All important events # CollectorEvents: Just those events originating from the collector # (e.g. someone just built a collection) # Disabled: Don't log events LogEvents Disabled # Email the maintainer whenever any event occurs. EmailEvents # takes the same values as LogEvents. # Note that perl must be installed for EmailEvents or # EmailUserEvents to work. EmailEvents Disabled # In some cases it may be appropriate to email the user about a # certain event (e.g. notification from the collector that a collection # was built successfully) EmailUserEvents false # The list of display macro files used by this receptionist macrofiles tip.dm style.dm base.dm query.dm help.dm pref.dm \ about.dm document.dm status.dm authen.dm \ users.dm html.dm extlink.dm delhistory.dm \ gsdl.dm english.dm chinese.dm french.dm german.dm maori.dm \ english2.dm french2.dm arabic.dm spanish.dm dutch.dm \ port.dm home.dm collect.dm # Define any additional page parameters to be used by the above macro files # (the current default page parameters are c (collection) and l (language) # Define v (version -- text or graphic) page parameter and give it a default # value of 0 (0 = text version off) pageparam v 0 # Set the precedence given to the page parameters. This effects which macro # will be selected for display when there are multiple versions of the same # macro with different page parameters. # e.g. Given a macroprecedence of "c,v,l" and the following macro definitions: # _content_ [] # _content_ [l=en] # _content_ [c=demo] # _content_ [v=1] # _content_ [l=fr,v=1,c=hdl] # If the corresponding cgi arguments were set to l=en&v=1&c=hdl then the # _content_[v=1] macro would be selected for display. It would be selected # ahead of the _content_[l=en] macro because "v" has a higher precedence # than "l". The _content_[l=fr,v=1,c=hdl] macro would not be selected # because one of the page parameters is completely wrong ("l"). macroprecedence c,v,l # Define any additional cgi arguments. Most cgi arguments are built into # Greenstone but it's possible to define them here (or set defaults for # existing built-in cgi arguments). # define the "v" cgi argument (to correspond to the "v" page parameter defined # above). cgiarg shortname=v longname=version multiplechar=false argdefault=0 \ defaultstatus=weak savedarginfo=must # set a default value for the built-in "a" cgi argument cgiarg shortname=a argdefault=p # set a default value for the built-in "p" cgi argument cgiarg shortname=p argdefault=home