Changeset 9547


Ignore:
Timestamp:
2005-04-04T16:15:31+12:00 (19 years ago)
Author:
kjdon
Message:

updated the options for config file reading - added a few more options that were previously only command line options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/colcfg.pm

    r8363 r9547  
    7474                    q/^(creator|public|defaultindex|importdir|/ .
    7575                    q/archivedir|cachedir|builddir|removeold|/ .
    76                     q/textcompress|buildtype|no_text|keepold|gzip/ .
    77                     q/verbosity|remove_empty_classifications|OIDtype|maxdocs|/ .
    78                     q/groupsize|sortmeta|debug|mode|create_images|/ .
    79                     q/maxnumeric|separate_cjk)$/,
     76                    q/textcompress|buildtype|no_text|keepold|gzip|/ .
     77                    q/verbosity|remove_empty_classifications|OIDtype|/ .
     78                    q/groupsize|maxdocs|debug|mode|saveas|/ .
     79                    q/sortmeta|removesuffix|removeprefix|create_images|/ .
     80                    q/maxnumeric|separate_cjk|language_metadata/ .
     81                    q/no_strip_html|index)$/,
    8082                    q/(maintainer|languages|indexsubcollections|/ .
    81                        q/indexes|dontbuild|dontgdbm|mirror|phind|levels|searchtype)$/,
     83                       q/indexes|dontbuild|dontgdbm|mirror|levels|/ .
     84                       q/searchtype|searchtypes)$/,
    8285                    q/^(subcollection|format)$/,
    8386                    q/^(acquire|plugin|classify)$/,
     
    9194                 q/^(creator|public|defaultindex|importdir|/ .
    9295                 q/archivedir|cachedir|builddir|removeold|/ .
    93                  q/textcompress|buildtype|collectdir|no_text|/ .
    94                  q/remove_empty_classifications|maxnumeric|separate_cjk)$/,
     96                 q/textcompress|buildtype|no_text|keepold|gzip|/ .
     97                 q/verbosity|remove_empty_classifications|OIDtype|/.
     98                 q/groupsize|maxdocs|debug|mode|saveas|/ .
     99                 q/sortmeta|removesuffix|removeprefix|create_images|/ .
     100                 q/maxnumeric|separate_cjk|language_metadata/ .
     101                 q/no_strip_html|index)$/,
    95102                 q/^(maintainer|languages|indexsubcollections|/ .
    96                  q/indexes|dontbuild|dontgdbm|levels|searchtype)$/,
    97                  q/^(subcollection)$/,
     103                 q/indexes|dontbuild|dontgdbm|mirror|levels|/.
     104                 q/searchtype|searchtypes)$/,
     105                 q/^(subcollection|format)$/,
    98106                 q/^(acquire|plugin|classify)$/,
    99107                 q/^(collectionmeta)$/);
     
    120128
    121129    return &cfgread::read_cfg_file ($filename,
    122                     q/^(builddate|buildtype|numdocs|numwords|numbytes|maxnumeric|textlevel)$/,
     130                q/^(builddate|buildtype|numdocs|numwords|numbytes|maxnumeric|textlevel)$/,
    123131                    q/^(metadata|languages|indexfields|indexfieldmap|indexmap|indexlevels)$/);
    124132}
Note: See TracChangeset for help on using the changeset viewer.