# Example sapi.ini file # [Default] # DBList ... the list of available databases (comma-delimited, no spaces) DBList=test1,test2,test3 #----------------------------------------------------------------------- # database "test1" is a collection of XML documents (ANZMETA DTD v1.1+) # has been indexed with the "anzmeta" doctype # # "FieldMaps" define the mapping between Use Attribute numbers and # the corresponding element names in your metadata documents # [test1] Type=ISEARCH Location=/path/to/isearch/databases FieldMaps=/path/to/isearch/config/anzmeta.geomap,\ /path/to/isearch/config/anzmeta.gilsmap, \ /path/to/isearch/config/anzmeta.bibmap #----------------------------------------------------------------------- # database "test2" is a collection of old SGML documents (ANZMETA DTD v1.0) # has been indexed with the "anzlic" doctype # Note: do not use such metadata documents, use ANZMETA XML DTD v1.1+ # # "FieldMaps" define the mapping between Use Attribute numbers and # the corresponding element names in your metadata documents # [test2] Type=ISEARCH Location=/path/to/isearch/databases FieldMaps=/path/to/isearch/config/anzlic.geomap,\ /path/to/isearch/config/anzlic.bibmap #----------------------------------------------------------------------- # database "test3" is a relational database (ANZMETA DTD v1.1) # two scripts are needed: # SearchScript ... search the database using SQL and return the titles # and "record-keys" of the matching documents # GetScript ... generates the presentation document on-the-fly for a # particular record in the database # # see http://www.environment.gov.au/asdd/tech/isite-rdbms.html # for an example of how to connect Isite to an RDBMS # [test3] Type=SCRIPT # "Location" is the name of the script used to conduct the search # It is called with the command line: # # Location=/path/to/Isite/binaries/SearchScript # "GetFull" is the name of the script used to retrieve full records # It is called with the command line: # # GetFull=/path/to/Isite/binaries/GetScript # "Results" is where the "SearchScript" will place its results and where # the Zserver expects to find the results to build the list of hits # Results=/tmp/results # "FieldMaps" define the mapping between Use Attribute numbers and # the corresponding field names in your relational database # # FieldMaps are handled by the search script # #-----------------------------------------------------------------------