[1868] | 1 | # This is the main configuration file for configuring
|
---|
| 2 | # your Greenstone receptionist (i.e. the bit responsible
|
---|
| 3 | # for the way things are displayed).
|
---|
| 4 |
|
---|
| 5 | # Email address of the webmaster of this Greenstone installation
|
---|
| 6 | # If maintainer is set to "NULL" EmailEvents and EmailUserEvents
|
---|
| 7 | # will be disabled.
|
---|
| 8 | maintainer NULL
|
---|
| 9 |
|
---|
| 10 | # Outgoing (SMTP) mail server for this Greenstone installation.
|
---|
| 11 | # This will default to mail.maintainer-domain if it's not set
|
---|
| 12 | # (i.e. if maintainer is [email protected] then MailServer
|
---|
| 13 | # will default to mail.cs.waikato.ac.nz). If MailServer doesn't
|
---|
| 14 | # resolve to a valid SMTP server then the EmailEvents and
|
---|
| 15 | # EmailUserEvents options (see below) won't be functional. Likewise,
|
---|
| 16 | # turning off EmailEvents and EmailUserEvents will remove any
|
---|
| 17 | # reliance on MailServer.
|
---|
| 18 | MailServer NULL
|
---|
| 19 |
|
---|
| 20 | # Set status to "disabled" if you don't want the Maintenance and
|
---|
| 21 | # Administration facility to be available.
|
---|
| 22 | status enabled
|
---|
| 23 |
|
---|
| 24 | # Set collector to "disabled" if you don't want the "collector"
|
---|
| 25 | # end-user collection building facility to be available.
|
---|
| 26 | collector enabled
|
---|
| 27 |
|
---|
| 28 | # Set logcgiargs to true to keep a log of usage information in
|
---|
| 29 | # $GSDLHOME/etc/usage.txt.
|
---|
[1992] | 30 | logcgiargs false
|
---|
[1868] | 31 |
|
---|
| 32 | # Set usecookies to true to use cookies to identify users (cookie
|
---|
| 33 | # information will be written to the usage log if logcgiargs is
|
---|
| 34 | # true).
|
---|
[1992] | 35 | usecookies false
|
---|
[1868] | 36 |
|
---|
| 37 | # LogDateFormat sets the format that timestamps will be stored in the usage
|
---|
| 38 | # log (i.e. if logcgiargs is enabled). It takes the following values:
|
---|
[2341] | 39 | # LocalTime: (the default) The local time and date in the form
|
---|
| 40 | # "Thu Dec 07 23:47:00 NZDT 2000".
|
---|
| 41 | # UTCTime: Coordinated universal time (GMT) in the same format as LocalTime.
|
---|
| 42 | # Absolute: Integer value representing the number of seconds since
|
---|
| 43 | # 00:00:00 1/1/1970 GMT
|
---|
[1868] | 44 | LogDateFormat LocalTime
|
---|
| 45 |
|
---|
| 46 | # Log any events that Greenstone deems important in
|
---|
| 47 | # $GSDLHOME/etc/events.txt.
|
---|
| 48 | # The only events that are currently implemented come from the
|
---|
| 49 | # collector (e.g. someone just built/deleted the following collection)
|
---|
| 50 | # LogEvents may take values of:
|
---|
| 51 | # AllEvents: All important events
|
---|
| 52 | # CollectorEvents: Just those events originating from the collector
|
---|
| 53 | # (e.g. someone just built a collection)
|
---|
[1968] | 54 | # disabled: Don't log events
|
---|
| 55 | LogEvents disabled
|
---|
[1868] | 56 |
|
---|
| 57 | # Email the maintainer whenever any event occurs. EmailEvents
|
---|
| 58 | # takes the same values as LogEvents.
|
---|
| 59 | # Note that perl must be installed for EmailEvents or
|
---|
| 60 | # EmailUserEvents to work.
|
---|
[1968] | 61 | EmailEvents disabled
|
---|
[1868] | 62 |
|
---|
| 63 | # In some cases it may be appropriate to email the user about a
|
---|
| 64 | # certain event (e.g. notification from the collector that a collection
|
---|
| 65 | # was built successfully)
|
---|
| 66 | EmailUserEvents false
|
---|
| 67 |
|
---|
| 68 |
|
---|
| 69 | # The list of display macro files used by this receptionist
|
---|
[1942] | 70 | macrofiles tip.dm style.dm base.dm query.dm help.dm pref.dm about.dm \
|
---|
[2405] | 71 | document.dm browse.dm status.dm authen.dm users.dm html.dm \
|
---|
[1942] | 72 | extlink.dm gsdl.dm english.dm chinese.dm french.dm \
|
---|
| 73 | german.dm maori.dm english2.dm french2.dm arabic.dm \
|
---|
[2912] | 74 | spanish.dm spanish2.dm dutch.dm port.dm russian.dm russian2.dm \
|
---|
[2731] | 75 | italian.dm italian2.dm home.dm collect.dm docs.dm \
|
---|
[2893] | 76 | hebrew.dm indo.dm bsummary.dm
|
---|
[1868] | 77 |
|
---|
| 78 | # Define the interface languages and encodings supported by this receptionist
|
---|
| 79 |
|
---|
[1870] | 80 | # An "Encoding" line defines an encoding to be used by the receptionist.
|
---|
| 81 | # Uncomment "Encoding" lines to include an encoding on your "preferences" page.
|
---|
| 82 | # Encoding line options are:
|
---|
| 83 | # shortname -- The standard charset label for the given encoding. The
|
---|
| 84 | # shortname option is mandatory.
|
---|
[1868] | 85 | # longname -- The display name of the given encoding. If longname isn't set
|
---|
| 86 | # it will default to using shortname instead.
|
---|
[1870] | 87 | # map -- The name of the map file (i.e. the .ump file) for use when
|
---|
| 88 | # converting between unicode and the given encoding. The map
|
---|
| 89 | # option is mandatory for all encoding lines except the
|
---|
| 90 | # special case for utf8.
|
---|
[1927] | 91 | # multibyte -- This optional argument should be set for all encodings that use
|
---|
| 92 | # multibyte characters.
|
---|
[1868] | 93 |
|
---|
[1870] | 94 | # The utf8 encoding is handled internally and doesn't require a map file.
|
---|
| 95 | # As a rule the utf8 encoding should always be enabled, especially if you
|
---|
| 96 | # have collections of documents that may not all be in the same
|
---|
| 97 | # language/encoding.
|
---|
| 98 | Encoding shortname=utf-8 "longname=Unicode (UTF-8)"
|
---|
[1868] | 99 |
|
---|
[1870] | 100 | # The ISO-8859 series
|
---|
| 101 | Encoding shortname=iso-8859-1 "longname=Western (ISO-8859-1)" map=8859_1.ump
|
---|
| 102 | #Encoding shortname=iso-8859-2 "longname=Central European (ISO-8859-2)" map=8859_2.ump
|
---|
| 103 | #Encoding shortname=iso-8859-3 "longname=Latin 3 (ISO-8859-3)" map=8859_3.ump
|
---|
| 104 | #Encoding shortname=iso-8859-4 "longname=Latin 4 (ISO-8859-4)" map=8859_4.ump
|
---|
| 105 | #Encoding shortname=iso-8859-5 "longname=Cyrillic (ISO-8859-5)" map=8859_5.ump
|
---|
| 106 | #Encoding shortname=iso-8859-6 "longname=Arabic (ISO-8859-6)" map=8859_6.ump
|
---|
| 107 | #Encoding shortname=iso-8859-7 "longname=Greek (ISO-8859-7)" map=8859_7.ump
|
---|
| 108 | #Encoding shortname=iso-8859-8 "longname=Hebrew (ISO-8859-8)" map=8859_8.ump
|
---|
| 109 | #Encoding shortname=iso-8859-9 "longname=Turkish (ISO-8859-9)" map=8859_9.ump
|
---|
[3133] | 110 | #Encoding shortname=iso-8859-15 "longname=Western (ISO-8859-15)" map=8859_15.ump
|
---|
[1868] | 111 |
|
---|
[1870] | 112 | # Windows codepages
|
---|
| 113 | #Encoding shortname=windows-1250 "longname=Central European (Windows-1250)" map=win1250.ump
|
---|
[1904] | 114 | Encoding shortname=windows-1251 "longname=Cyrillic (Windows-1251)" map=win1251.ump
|
---|
[1870] | 115 | #Encoding shortname=windows-1252 "longname=Western (Windows-1252)" map=win1252.ump
|
---|
| 116 | #Encoding shortname=windows-1253 "longname=Greek (Windows-1253)" map=win1253.ump
|
---|
| 117 | #Encoding shortname=windows-1254 "longname=Turkish (Windows-1254)" map=win1254.ump
|
---|
[2731] | 118 | Encoding shortname=windows-1255 "longname=Hebrew (Windows-1255)" map=win1255.ump
|
---|
[1870] | 119 | Encoding shortname=windows-1256 "longname=Arabic (Windows-1256)" map=win1256.ump
|
---|
| 120 | #Encoding shortname=windows-1257 "longname=Baltic (Windows-1257)" map=win1257.ump
|
---|
| 121 | #Encoding shortname=windows-1258 "longname=Vietnamese (Windows-1258)" map=win1258.ump
|
---|
| 122 | #Encoding shortname=windows-874 "longname=Thai (Windows-874)" map=win874.ump
|
---|
[1904] | 123 | #Encoding shortname=cp866 "longname=Cyrillic (DOS)" map=dos866.ump
|
---|
[1870] | 124 |
|
---|
| 125 | # KOI8 Cyrillic encodings
|
---|
| 126 | #Encoding shortname=koi8-r "longname=Cyrillic (KOI8-R)" map=koi8_r.ump
|
---|
| 127 | #Encoding shortname=koi8-u "longname=Cyrillic (KOI8-U)" map=koi8_u.ump
|
---|
| 128 |
|
---|
| 129 | # CJK encodings (note that Shift-JIS Japanese isn't currently supported)
|
---|
[1927] | 130 | Encoding shortname=gbk "longname=Chinese Simplified (GBK)" map=gbk.ump multibyte
|
---|
| 131 | Encoding shortname=big5 "longname=Chinese Traditional (Big5)" map=big5.ump multibyte
|
---|
| 132 | Encoding shortname=euc-jp "longname=Japanese (EUC)" map=euc_jp.ump multibyte
|
---|
| 133 | Encoding shortname=euc-kr "longname=Korean (UHC)" map=uhc.ump multibyte
|
---|
[1870] | 134 |
|
---|
| 135 |
|
---|
[1868] | 136 | # A "Language" line defines an interface language to be used by the
|
---|
| 137 | # interface. Note that it is possible to display only a subset of the
|
---|
| 138 | # specified languages on the preferences page for a given collection by
|
---|
| 139 | # using the "PreferenceLanguages" format option in your collect.cfg
|
---|
| 140 | # configuration file.
|
---|
| 141 | # options are:
|
---|
| 142 | # shortname -- ISO 639 two letter language symbol. The shortname
|
---|
| 143 | option is mandatory.
|
---|
| 144 | # longname -- The display name for the given language. If longname
|
---|
| 145 | isn't set it will default to using shortname instead.
|
---|
| 146 | # default_encoding -- The encoding to use by default when using the given
|
---|
| 147 | # interface language. This should be set to the
|
---|
| 148 | # "shortname" of a valid "Encoding" line
|
---|
[3122] | 149 | Language shortname=en longname=English default_encoding=utf-8
|
---|
| 150 | Language shortname=fr longname=French default_encoding=utf-8
|
---|
[1870] | 151 | Language shortname=zh longname=Chinese default_encoding=gbk
|
---|
[3122] | 152 | Language shortname=de longname=German default_encoding=utf-8
|
---|
| 153 | Language shortname=es longname=Spanish default_encoding=utf-8
|
---|
[1944] | 154 | Language shortname=mi longname=Maori default_encoding=utf-8
|
---|
[1870] | 155 | Language shortname=ar longname=Arabic default_encoding=windows-1256
|
---|
[3122] | 156 | Language shortname=pt longname=Portuguese default_encoding=utf-8
|
---|
| 157 | Language shortname=nl longname=Dutch default_encoding=utf-8
|
---|
[2245] | 158 | Language shortname=ru longname=Russian default_encoding=windows-1251
|
---|
[3122] | 159 | Language shortname=it longname=Italian default_encoding=utf-8
|
---|
[2731] | 160 | Language shortname=iw longname=Hebrew default_encoding=windows-1255
|
---|
[3122] | 161 | Language shortname=id longname=Indonesian default_encoding=utf-8
|
---|
[1868] | 162 |
|
---|
| 163 | # Define any additional page parameters to be used by the above macro files
|
---|
| 164 | # (the current default page parameters are c (collection) and l (language)
|
---|
| 165 |
|
---|
| 166 | # Define v (version -- text or graphic) page parameter and give it a default
|
---|
| 167 | # value of 0 (0 = text version off)
|
---|
| 168 | pageparam v 0
|
---|
| 169 |
|
---|
| 170 | # Set the precedence given to the page parameters. This effects which macro
|
---|
| 171 | # will be selected for display when there are multiple versions of the same
|
---|
| 172 | # macro with different page parameters.
|
---|
| 173 | # e.g. Given a macroprecedence of "c,v,l" and the following macro definitions:
|
---|
| 174 | # _content_ []
|
---|
| 175 | # _content_ [l=en]
|
---|
| 176 | # _content_ [c=demo]
|
---|
| 177 | # _content_ [v=1]
|
---|
| 178 | # _content_ [l=fr,v=1,c=hdl]
|
---|
| 179 | # If the corresponding cgi arguments were set to l=en&v=1&c=hdl then the
|
---|
| 180 | # _content_[v=1] macro would be selected for display. It would be selected
|
---|
| 181 | # ahead of the _content_[l=en] macro because "v" has a higher precedence
|
---|
| 182 | # than "l". The _content_[l=fr,v=1,c=hdl] macro would not be selected
|
---|
| 183 | # because one of the page parameters is completely wrong ("l").
|
---|
| 184 | macroprecedence c,v,l
|
---|
| 185 |
|
---|
| 186 |
|
---|
| 187 | # Define any additional cgi arguments. Most cgi arguments are built into
|
---|
| 188 | # Greenstone but it's possible to define them here (or set defaults for
|
---|
| 189 | # existing built-in cgi arguments).
|
---|
| 190 |
|
---|
| 191 | # define the "v" cgi argument (to correspond to the "v" page parameter defined
|
---|
| 192 | # above).
|
---|
| 193 | cgiarg shortname=v longname=version multiplechar=false argdefault=0 \
|
---|
| 194 | defaultstatus=weak savedarginfo=must
|
---|
| 195 |
|
---|
| 196 | # set a default value for the built-in "a" cgi argument
|
---|
| 197 | cgiarg shortname=a argdefault=p
|
---|
| 198 |
|
---|
| 199 | # set a default value for the built-in "p" cgi argument
|
---|
| 200 | cgiarg shortname=p argdefault=home
|
---|
| 201 |
|
---|
[3121] | 202 | # set the default encoding to utf-8
|
---|
| 203 | cgiarg shortname=w argdefault=utf-8 |
---|