don't die if ISIS database is not found, just go to next one
[webpac] / global.conf
index d965717..340841f 100644 (file)
@@ -4,11 +4,22 @@
        # define database to use for indexes
        dbi_dbd=Pg
        dbi_dsn=dbname=webpac-dev
+
+#      dbi_dbd=SQLite
+#      dbi_dsn=dbname=/data/webpac/index.sqlite
+
        dbi_user=dpavlin
-       dbi_passwd=xx
+       dbi_passwd=""
 
        # display progress bar indicator (default is no)
-       #show_progress=1
+       show_progress=1
+
+       # Filter characters before feeding them to swish. If you don't use
+       # this file, implementation will fall-back to passing through
+       # original charset, and if you have anything other than plain
+       # 7-bit ascii in your data, your words will end-up splitted in
+       # index on 8-bit characters and you won't be able to find them!
+       my_unac_filter = /data/webpac/my_unac_string.pm
 
 [webpac]
        # path to template html files
@@ -29,4 +40,7 @@
        # like "&" would work. However, larger values also make sense to produce
        # more relevant hits on words like "to", "at" etc.
        min_wildcard = 2
+       # master template which will be used to enable global design changes
+       # (it will replace ##webpac## in this template with output of webpac)
+       template = /data/webpac/public_html/template.html