[main] # specify if system creates log file and print a lot of debug info to it # debug purpose only. 'false' by default. # if you change it to 'true' you should also specify the next parameter should-log = false # log file name (see prev. parameter) # webserver should be able to write to this file # (or no log will be created). log-file = ./linkxl.log # regular expression of content-type that we will parse # default value is empty (we will parse no documents) # it is case sensitive. content-type = ".*htm.*" domain = http://nesiaku.com [parser] # should all page content be parsed (not only in our tags) # default value is 'false' autostart = false # regex for tag that will mark the beginning of linkxl section # this tag may not be XML tag ( for example). # use smth special # default value is \{\{incon\}\} # (remember, it is regular expression, not text) open-tag = "[\{\(\#]{2,2}business[\}\)\#]{2,2}" # regex for tag that will mark the end of linkxl section # limitations as for prev. parameter # default value is \{\{\/incon\}\} close-tag = "[\{\(\#]{2,2}\/business[\}\)\#]{2,2}" # maximum total length of document (in bytes) max-total = 1024000 # max part of parsing max = 262144 # sleep time sleep = 1000 # should sleep at all? wait = false # should we use short parsing short = true [database] # Home directory for local database. # This directory should be created beforehand. # Web server should be able to read from and write to it. # No default value. If not specified (or be wrong), linkxl # system will not work. home = ./htmltxt_store # Local database file name. It will be created automatically. # No default value, so if not specified, linkxl system will # not work. filename = database.db # Database name. # For internal purpose. Can be blank. dbname = "" # URL that script will ask for database updates # Should point to linkxl server side script. # No default value sync-url = http://www.linkxl.com/updater/dbfile.php?id=1244 # Should local database be very verbose to log. # 'false' by default verbose = false # Should we try to update local database on every request # Debug purpose only. 'false' by default. sync = false [dpsearch] # Regex to be ignored by dpsearch system. # It should contains all symbols that dpsearch ignore itself # For example, '[\,\.]' will ignore all dots and commas. regex = "[\,\.]" [http] incon_search = HTTP_INCON_SEARCH496101 incon_sync = HTTP_INCON_SYNC496101 incon_stat = HTTP_INCON_STAT496101 incon_ignore = HTTP_IGNORE_INCON496101 incon_orig = HTTP_INCON_ORIG496101