[7707] | 1 | # This file must be utf-8 encoded
|
---|
| 2 | #
|
---|
[1868] | 3 | # This is the main configuration file for configuring
|
---|
[8116] | 4 | # your Greenstone receptionist (the bit responsible for the way
|
---|
| 5 | # things are displayed) and contains information common
|
---|
| 6 | # to the interface of all collections served by the site.
|
---|
[1868] | 7 |
|
---|
| 8 | # Email address of the webmaster of this Greenstone installation
|
---|
| 9 | # If maintainer is set to "NULL" EmailEvents and EmailUserEvents
|
---|
| 10 | # will be disabled.
|
---|
| 11 | maintainer NULL
|
---|
| 12 |
|
---|
| 13 | # Outgoing (SMTP) mail server for this Greenstone installation.
|
---|
| 14 | # This will default to mail.maintainer-domain if it's not set
|
---|
| 15 | # (i.e. if maintainer is [email protected] then MailServer
|
---|
| 16 | # will default to mail.cs.waikato.ac.nz). If MailServer doesn't
|
---|
| 17 | # resolve to a valid SMTP server then the EmailEvents and
|
---|
| 18 | # EmailUserEvents options (see below) won't be functional. Likewise,
|
---|
| 19 | # turning off EmailEvents and EmailUserEvents will remove any
|
---|
| 20 | # reliance on MailServer.
|
---|
| 21 | MailServer NULL
|
---|
| 22 |
|
---|
[11151] | 23 | # Set status to "enabled" if you want the Maintenance and
|
---|
[1868] | 24 | # Administration facility to be available.
|
---|
[14519] | 25 | status disabled
|
---|
[1868] | 26 |
|
---|
| 27 | # Set collector to "disabled" if you don't want the "collector"
|
---|
| 28 | # end-user collection building facility to be available.
|
---|
[9430] | 29 | collector disabled
|
---|
[1868] | 30 |
|
---|
[12009] | 31 | # Set depositor to "disabled" if you don't want the "depositor"
|
---|
| 32 | # (aka institutional repository) facility to be available.
|
---|
| 33 | depositor disabled
|
---|
| 34 |
|
---|
[7764] | 35 | # Set gliapplet to "disabled" if you don't want the remote users
|
---|
| 36 | # to be able to build collections on your server through an applet
|
---|
| 37 | # version of GLI
|
---|
| 38 | gliapplet disabled
|
---|
| 39 |
|
---|
[1868] | 40 | # Set logcgiargs to true to keep a log of usage information in
|
---|
| 41 | # $GSDLHOME/etc/usage.txt.
|
---|
[1992] | 42 | logcgiargs false
|
---|
[1868] | 43 |
|
---|
| 44 | # Set usecookies to true to use cookies to identify users (cookie
|
---|
| 45 | # information will be written to the usage log if logcgiargs is
|
---|
| 46 | # true).
|
---|
[1992] | 47 | usecookies false
|
---|
[1868] | 48 |
|
---|
| 49 | # LogDateFormat sets the format that timestamps will be stored in the usage
|
---|
| 50 | # log (i.e. if logcgiargs is enabled). It takes the following values:
|
---|
[2341] | 51 | # LocalTime: (the default) The local time and date in the form
|
---|
| 52 | # "Thu Dec 07 23:47:00 NZDT 2000".
|
---|
| 53 | # UTCTime: Coordinated universal time (GMT) in the same format as LocalTime.
|
---|
| 54 | # Absolute: Integer value representing the number of seconds since
|
---|
| 55 | # 00:00:00 1/1/1970 GMT
|
---|
[1868] | 56 | LogDateFormat LocalTime
|
---|
| 57 |
|
---|
| 58 | # Log any events that Greenstone deems important in
|
---|
| 59 | # $GSDLHOME/etc/events.txt.
|
---|
| 60 | # The only events that are currently implemented come from the
|
---|
| 61 | # collector (e.g. someone just built/deleted the following collection)
|
---|
| 62 | # LogEvents may take values of:
|
---|
| 63 | # AllEvents: All important events
|
---|
| 64 | # CollectorEvents: Just those events originating from the collector
|
---|
| 65 | # (e.g. someone just built a collection)
|
---|
[1968] | 66 | # disabled: Don't log events
|
---|
| 67 | LogEvents disabled
|
---|
[1868] | 68 |
|
---|
| 69 | # Email the maintainer whenever any event occurs. EmailEvents
|
---|
| 70 | # takes the same values as LogEvents.
|
---|
| 71 | # Note that perl must be installed for EmailEvents or
|
---|
| 72 | # EmailUserEvents to work.
|
---|
[1968] | 73 | EmailEvents disabled
|
---|
[1868] | 74 |
|
---|
| 75 | # In some cases it may be appropriate to email the user about a
|
---|
| 76 | # certain event (e.g. notification from the collector that a collection
|
---|
| 77 | # was built successfully)
|
---|
| 78 | EmailUserEvents false
|
---|
| 79 |
|
---|
| 80 |
|
---|
| 81 | # The list of display macro files used by this receptionist
|
---|
[1942] | 82 | macrofiles tip.dm style.dm base.dm query.dm help.dm pref.dm about.dm \
|
---|
[2405] | 83 | document.dm browse.dm status.dm authen.dm users.dm html.dm \
|
---|
[12009] | 84 | extlink.dm gsdl.dm extra.dm home.dm collect.dm deposit.dm docs.dm \
|
---|
[12570] | 85 | bsummary.dm gti.dm gli.dm nav_css.dm languages.dm \
|
---|
[9247] | 86 | english.dm english2.dm french.dm french2.dm spanish.dm \
|
---|
[11173] | 87 | spanish2.dm russian.dm russian2.dm \
|
---|
[15008] | 88 | arabic.dm arabic2.dm armenian.dm armenian2.dm bengali.dm \
|
---|
[15009] | 89 | bulgarian.dm \
|
---|
[15008] | 90 | catalan.dm catalan2.dm chinese-trad.dm chinese-trad2.dm \
|
---|
[15009] | 91 | chinese.dm chinese2.dm croatian.dm czech.dm czech2.dm dari.dm \
|
---|
| 92 | dutch.dm farsi.dm farsi2.dm finnish.dm gaelic.dm \
|
---|
[15008] | 93 | galician.dm galician2.dm \
|
---|
| 94 | georgian.dm georgian2.dm german.dm greek.dm hebrew.dm \
|
---|
| 95 | hindi.dm hungarian.dm hungarian2.dm indo.dm indo2.dm \
|
---|
| 96 | italian.dm italian2.dm japanese.dm japanese2.dm \
|
---|
| 97 | kannada.dm kazakh.dm kazakh2.dm kirghiz.dm \
|
---|
[15009] | 98 | latvian.dm latvian2.dm malayalam.dm maori.dm \
|
---|
| 99 | marathi.dm marathi2.dm \
|
---|
[15008] | 100 | mongolian.dm mongolian2.dm polish.dm port-br.dm port-pt.dm \
|
---|
[15009] | 101 | pushto.dm romanian.dm romanian2.dm serbian.dm singhalese.dm \
|
---|
| 102 | slovak.dm slovak2.dm tamil.dm telugu.dm thai.dm thai2.dm \
|
---|
[15008] | 103 | turkish.dm turkish2.dm ukrainian.dm urdu.dm urdu2.dm \
|
---|
| 104 | vietnamese.dm vietnamese2.dm
|
---|
| 105 |
|
---|
[1868] | 106 |
|
---|
| 107 | # Define the interface languages and encodings supported by this receptionist
|
---|
| 108 |
|
---|
[1870] | 109 | # An "Encoding" line defines an encoding to be used by the receptionist.
|
---|
| 110 | # Uncomment "Encoding" lines to include an encoding on your "preferences" page.
|
---|
| 111 | # Encoding line options are:
|
---|
| 112 | # shortname -- The standard charset label for the given encoding. The
|
---|
| 113 | # shortname option is mandatory.
|
---|
[1868] | 114 | # longname -- The display name of the given encoding. If longname isn't set
|
---|
| 115 | # it will default to using shortname instead.
|
---|
[1870] | 116 | # map -- The name of the map file (i.e. the .ump file) for use when
|
---|
| 117 | # converting between unicode and the given encoding. The map
|
---|
| 118 | # option is mandatory for all encoding lines except the
|
---|
| 119 | # special case for utf8.
|
---|
[1927] | 120 | # multibyte -- This optional argument should be set for all encodings that use
|
---|
| 121 | # multibyte characters.
|
---|
[1868] | 122 |
|
---|
[1870] | 123 | # The utf8 encoding is handled internally and doesn't require a map file.
|
---|
| 124 | # As a rule the utf8 encoding should always be enabled, especially if you
|
---|
| 125 | # have collections of documents that may not all be in the same
|
---|
| 126 | # language/encoding.
|
---|
| 127 | Encoding shortname=utf-8 "longname=Unicode (UTF-8)"
|
---|
[1868] | 128 |
|
---|
[7707] | 129 | # This is very experimental, and you almost certainly don't need it
|
---|
[9674] | 130 | #Encoding shortname=utf-16be "longname=Unicode (UTF-16BE)"
|
---|
[7707] | 131 |
|
---|
[1870] | 132 | # The ISO-8859 series
|
---|
| 133 | Encoding shortname=iso-8859-1 "longname=Western (ISO-8859-1)" map=8859_1.ump
|
---|
| 134 | #Encoding shortname=iso-8859-2 "longname=Central European (ISO-8859-2)" map=8859_2.ump
|
---|
| 135 | #Encoding shortname=iso-8859-3 "longname=Latin 3 (ISO-8859-3)" map=8859_3.ump
|
---|
| 136 | #Encoding shortname=iso-8859-4 "longname=Latin 4 (ISO-8859-4)" map=8859_4.ump
|
---|
| 137 | #Encoding shortname=iso-8859-5 "longname=Cyrillic (ISO-8859-5)" map=8859_5.ump
|
---|
| 138 | #Encoding shortname=iso-8859-6 "longname=Arabic (ISO-8859-6)" map=8859_6.ump
|
---|
| 139 | #Encoding shortname=iso-8859-7 "longname=Greek (ISO-8859-7)" map=8859_7.ump
|
---|
| 140 | #Encoding shortname=iso-8859-8 "longname=Hebrew (ISO-8859-8)" map=8859_8.ump
|
---|
| 141 | #Encoding shortname=iso-8859-9 "longname=Turkish (ISO-8859-9)" map=8859_9.ump
|
---|
[3133] | 142 | #Encoding shortname=iso-8859-15 "longname=Western (ISO-8859-15)" map=8859_15.ump
|
---|
[1868] | 143 |
|
---|
[1870] | 144 | # Windows codepages
|
---|
[5629] | 145 | Encoding shortname=windows-1250 "longname=Central European (Windows-1250)" map=win1250.ump
|
---|
[1904] | 146 | Encoding shortname=windows-1251 "longname=Cyrillic (Windows-1251)" map=win1251.ump
|
---|
[1870] | 147 | #Encoding shortname=windows-1252 "longname=Western (Windows-1252)" map=win1252.ump
|
---|
[6225] | 148 | Encoding shortname=windows-1253 "longname=Greek (Windows-1253)" map=win1253.ump
|
---|
[3220] | 149 | Encoding shortname=windows-1254 "longname=Turkish (Windows-1254)" map=win1254.ump
|
---|
[2731] | 150 | Encoding shortname=windows-1255 "longname=Hebrew (Windows-1255)" map=win1255.ump
|
---|
[1870] | 151 | Encoding shortname=windows-1256 "longname=Arabic (Windows-1256)" map=win1256.ump
|
---|
| 152 | #Encoding shortname=windows-1257 "longname=Baltic (Windows-1257)" map=win1257.ump
|
---|
| 153 | #Encoding shortname=windows-1258 "longname=Vietnamese (Windows-1258)" map=win1258.ump
|
---|
| 154 | #Encoding shortname=windows-874 "longname=Thai (Windows-874)" map=win874.ump
|
---|
[1904] | 155 | #Encoding shortname=cp866 "longname=Cyrillic (DOS)" map=dos866.ump
|
---|
[6757] | 156 | #Encoding shortname=cp850 "longname=Latin-1 (DOS)" map=dos850.ump
|
---|
[12602] | 157 | #Encoding shortname=cp852 "longname=Central European (DOS)" map=dos852.ump
|
---|
[1870] | 158 |
|
---|
| 159 | # KOI8 Cyrillic encodings
|
---|
| 160 | #Encoding shortname=koi8-r "longname=Cyrillic (KOI8-R)" map=koi8_r.ump
|
---|
| 161 | #Encoding shortname=koi8-u "longname=Cyrillic (KOI8-U)" map=koi8_u.ump
|
---|
| 162 |
|
---|
| 163 | # CJK encodings (note that Shift-JIS Japanese isn't currently supported)
|
---|
[7707] | 164 | Encoding shortname=gbk "longname=æ±è¯ (Chinese Simplified GBK)" map=gbk.ump multibyte
|
---|
| 165 | Encoding shortname=big5 "longname=æŒ¢èª (Chinese Traditional Big5)" map=big5.ump multibyte
|
---|
[1927] | 166 | Encoding shortname=euc-jp "longname=Japanese (EUC)" map=euc_jp.ump multibyte
|
---|
| 167 | Encoding shortname=euc-kr "longname=Korean (UHC)" map=uhc.ump multibyte
|
---|
[1870] | 168 |
|
---|
| 169 |
|
---|
[1868] | 170 | # A "Language" line defines an interface language to be used by the
|
---|
| 171 | # interface. Note that it is possible to display only a subset of the
|
---|
| 172 | # specified languages on the preferences page for a given collection by
|
---|
| 173 | # using the "PreferenceLanguages" format option in your collect.cfg
|
---|
| 174 | # configuration file.
|
---|
[3220] | 175 | # Arguments are:
|
---|
[1868] | 176 | # shortname -- ISO 639 two letter language symbol. The shortname
|
---|
[8449] | 177 | # argument is mandatory.
|
---|
[1868] | 178 | # longname -- The display name for the given language. If longname
|
---|
[8449] | 179 | # isn't set it will default to using shortname instead.
|
---|
[1868] | 180 | # default_encoding -- The encoding to use by default when using the given
|
---|
| 181 | # interface language. This should be set to the
|
---|
| 182 | # "shortname" of a valid "Encoding" line
|
---|
[11173] | 183 | Language shortname=ar longname=Arabic default_encoding=windows-1256
|
---|
[15009] | 184 | Language shortname=bg longname=Bulgarian default_encoding=utf-8
|
---|
[11173] | 185 | Language shortname=bn "longname=àŠ¬àŠŸàŠàŠ²àŠŸ (Bengali)" default_encoding=utf-8
|
---|
| 186 | Language shortname=ca "longname=Català (Catalan)" default_encoding=utf-8
|
---|
| 187 | Language shortname=cs "longname=Äesky (Czech)" default_encoding=utf-8
|
---|
| 188 | Language shortname=de "longname=Deutsch (German)" default_encoding=utf-8
|
---|
| 189 | Language shortname=el "longname=ÎλληΜικά (Greek)" default_encoding=windows-1253
|
---|
[3122] | 190 | Language shortname=en longname=English default_encoding=utf-8
|
---|
[7707] | 191 | Language shortname=es "longname=Español (Spanish)" \
|
---|
| 192 | default_encoding=utf-8
|
---|
[11173] | 193 | Language shortname=fa longname=Farsi default_encoding=utf-8
|
---|
| 194 | Language shortname=fi longname=Finnish default_encoding=utf-8
|
---|
[7707] | 195 | Language shortname=fr "longname=Français (French)" \
|
---|
| 196 | default_encoding=utf-8
|
---|
[11223] | 197 | Language shortname=gd "longname=Gaelic (Scottish)" default_encoding=utf-8
|
---|
[11173] | 198 | Language shortname=gl longname=Galician default_encoding=utf-8
|
---|
| 199 | Language shortname=he longname=Hebrew default_encoding=windows-1255
|
---|
| 200 | Language shortname=hi longname=Hindi default_encoding=utf-8
|
---|
| 201 | Language shortname=hr longname=Croatian default_encoding=windows-1250
|
---|
[13219] | 202 | Language shortname=hu longname=Hungarian default_encoding=utf-8
|
---|
[11173] | 203 | Language shortname=hy longname=Armenian default_encoding=utf-8
|
---|
| 204 | Language shortname=id "longname=Bahasa Indonesia (Indonesian)" default_encoding=utf-8
|
---|
| 205 | Language shortname=it longname=Italiano default_encoding=utf-8
|
---|
| 206 | Language shortname=ja "longname=æ¥æ¬èª (Japanese)" default_encoding=utf-8
|
---|
| 207 | Language shortname=ka longname=Georgian default_encoding=utf-8
|
---|
| 208 | Language shortname=kk "longname=ÒÐ°Ð·Ð°Ò (Kazakh)" default_encoding=utf-8
|
---|
| 209 | Language shortname=kn longname=Kannada default_encoding=utf-8
|
---|
| 210 | Language shortname=ky "longname=ÐÑÑгÑзÑа (Kirghiz)" default_encoding=utf-8
|
---|
| 211 | Language shortname=lv longname=Latvian default_encoding=utf-8
|
---|
| 212 | Language shortname=mi "longname=MÄori" default_encoding=utf-8
|
---|
[15009] | 213 | Language shortname=ml "longname=Malayalam" default_encoding=utf-8
|
---|
[11173] | 214 | Language shortname=mn "longname=ÐПМгПл (Mongolian)" default_encoding=utf-8
|
---|
| 215 | Language shortname=nl "longname=Nederlands (Dutch)" default_encoding=utf-8
|
---|
[14519] | 216 | Language shortname=pl "longname=Polski (Polish)" default_encoding=utf-8
|
---|
[13986] | 217 | Language shortname=prs "longname=Dari" default_encoding=utf-8
|
---|
[14519] | 218 | Language shortname=ps "longname=Pushto" default_encoding=utf-8
|
---|
| 219 | Language shortname=pt-br "longname=Português-BR (Brasil)" \
|
---|
[11173] | 220 | default_encoding=utf-8
|
---|
[14519] | 221 | Language shortname=pt-pt "longname=Português-PT (Portugal)" \
|
---|
[11173] | 222 | default_encoding=utf-8
|
---|
[14876] | 223 | Language shortname=ro longname=Romanian default_encoding=utf-8
|
---|
[8748] | 224 | Language shortname=ru "longname=ÑÑÑÑкОй (Russian)" default_encoding=windows-1251
|
---|
[15009] | 225 | Language shortname=si "longname=à·à·à¶à·à¶œ (Sinhala)" default_encoding=utf-8
|
---|
[12654] | 226 | Language shortname=sk "longname=SlovenÄina (Slovak)" default_encoding=utf-8
|
---|
[11173] | 227 | Language shortname=sr longname=Serbian default_encoding=utf-8
|
---|
[15009] | 228 | Language shortname=ta longname=Tamil default_encoding=utf-8
|
---|
| 229 | Language shortname=te longname=Telugu default_encoding=utf-8
|
---|
[11173] | 230 | Language shortname=th longname=Thai default_encoding=utf-8
|
---|
| 231 | Language shortname=tr longname=Turkish default_encoding=windows-1254
|
---|
| 232 | Language shortname=uk longname=Ukrainian default_encoding=utf-8
|
---|
| 233 | Language shortname=vi "longname=Tiếng Viá»t (Vietnamese)" default_encoding=utf-8
|
---|
[13352] | 234 | Language shortname=zh "longname=ç®äœäžæ (Simplified Chinese)" default_encoding=gbk
|
---|
[11173] | 235 | Language shortname=zh-tr "longname=ç¹é«äžæ (Traditional Chinese)" default_encoding=big5
|
---|
[1868] | 236 |
|
---|
[8707] | 237 |
|
---|
[1868] | 238 | # Define any additional page parameters to be used by the above macro files
|
---|
| 239 | # (the current default page parameters are c (collection) and l (language)
|
---|
| 240 |
|
---|
| 241 | # Define v (version -- text or graphic) page parameter and give it a default
|
---|
| 242 | # value of 0 (0 = text version off)
|
---|
| 243 | pageparam v 0
|
---|
| 244 |
|
---|
| 245 | # Set the precedence given to the page parameters. This effects which macro
|
---|
| 246 | # will be selected for display when there are multiple versions of the same
|
---|
| 247 | # macro with different page parameters.
|
---|
| 248 | # e.g. Given a macroprecedence of "c,v,l" and the following macro definitions:
|
---|
| 249 | # _content_ []
|
---|
| 250 | # _content_ [l=en]
|
---|
| 251 | # _content_ [c=demo]
|
---|
| 252 | # _content_ [v=1]
|
---|
| 253 | # _content_ [l=fr,v=1,c=hdl]
|
---|
| 254 | # If the corresponding cgi arguments were set to l=en&v=1&c=hdl then the
|
---|
| 255 | # _content_[v=1] macro would be selected for display. It would be selected
|
---|
| 256 | # ahead of the _content_[l=en] macro because "v" has a higher precedence
|
---|
| 257 | # than "l". The _content_[l=fr,v=1,c=hdl] macro would not be selected
|
---|
| 258 | # because one of the page parameters is completely wrong ("l").
|
---|
| 259 | macroprecedence c,v,l
|
---|
| 260 |
|
---|
| 261 |
|
---|
| 262 | # Define any additional cgi arguments. Most cgi arguments are built into
|
---|
| 263 | # Greenstone but it's possible to define them here (or set defaults for
|
---|
| 264 | # existing built-in cgi arguments).
|
---|
| 265 |
|
---|
| 266 | # define the "v" cgi argument (to correspond to the "v" page parameter defined
|
---|
| 267 | # above).
|
---|
| 268 | cgiarg shortname=v longname=version multiplechar=false argdefault=0 \
|
---|
| 269 | defaultstatus=weak savedarginfo=must
|
---|
| 270 |
|
---|
| 271 | # set a default value for the built-in "a" cgi argument
|
---|
| 272 | cgiarg shortname=a argdefault=p
|
---|
| 273 |
|
---|
| 274 | # set a default value for the built-in "p" cgi argument
|
---|
| 275 | cgiarg shortname=p argdefault=home
|
---|
| 276 |
|
---|
[3121] | 277 | # set the default encoding to utf-8
|
---|
[3153] | 278 | cgiarg shortname=w argdefault=utf-8
|
---|
[14519] | 279 |
|
---|