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