move database arguments to .conf file
[webpac] / all2xml.conf
index 19094fb..3499d3d 100644 (file)
@@ -1,7 +1,14 @@
-# names of databases that you want isis2xml.pl to process
+# global configuration file
 
-# describe your databases here
+# global options
+[global]
+       # define database to use for indexes
+       dbi_dbd=Pg
+       dbi_dsn=dbname=webpac
+       dbi_user=dpavlin
+       dbi_passwd=xx
 
+# describe your databases here
 [ps-libri]
        # directory for isis databases
        isis_db=/data/isis_data/ps/LIBRI/LIBRI
@@ -22,9 +29,9 @@
        type=isis
        xml=<type>Èasopis</type>
 
-#[kk-arti]
-#      isis_db=/data/isis_data/kk/ARTI/ARTI
-#      type=isis
-#      xml=<type>Èlanak</type>
+[kk-arti]
+       isis_db=/data/isis_data/kk/ARTI/ARTI
+       type=isis
+       xml=<type>Èlanak</type>