Changeset 1851


Ignore:
Timestamp:
2001-01-22T15:29:10+13:00 (23 years ago)
Author:
kjm18
Message:

added levels and buildtype for mgpp collections

File:
1 edited

Legend:

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

    r1572 r1851  
    4343# {'removeold'}->string
    4444# {'textcompress'}->string
     45# {'buildtype'}->string
    4546
    4647# {'maintainer'}->array of strings
     
    5253# {'mirror'}->array of strings
    5354# {'phind'}->array of strings
     55# {'levels'}->array of strings (for mgpp eg Section, Paragraph)
    5456
    5557# {'subcollection'}->hash of key-value pairs
     
    6466    return &cfgread::read_cfg_file ($filename,
    6567                    q/^(creator|public|beta|defaultindex|importdir|/ .
    66                     q/archivedir|cachedir|builddir|removeold|textcompress)$/,
     68                    q/archivedir|cachedir|builddir|removeold|textcompress|buildtype)$/,
    6769                    q/(maintainer|languages|indexsubcollections|/ .
    68                        q/indexes|dontbuild|dontgdbm|mirror|phind)$/,
     70                       q/indexes|dontbuild|dontgdbm|mirror|phind|levels)$/,
    6971                    q/^(subcollection|collectionmeta)$/,
    7072                    q/^(plugin|classify)$/);
     
    7678    &cfgread::write_cfg_file($filename, $data,
    7779                 q/^(creator|public|beta|defaultindex|importdir|/ .
    78                  q/archivedir|cachedir|builddir|removeold|textcompress)$/,
     80                 q/archivedir|cachedir|builddir|removeold|textcompress|buildtype)$/,
    7981                 q/^(maintainer|languages|indexsubcollections|/ .
    80                  q/indexes|dontbuild|dontgdbm)$/,
     82                 q/indexes|dontbuild|dontgdbm|levels)$/,
    8183                 q/^(subcollection|collectionmeta)$/,
    8284                 q/^(plugin|classify)$/);
     
    107109
    108110    &cfgread::write_cfg_file($filename, $data,
    109                  q/^(builddate|numdocs|numwords|numbytes)$/,
    110                  q/^(metadata|languages)$/);
     111                 q/^(builddate|buildtype|numdocs|numwords|numbytes)$/,
     112                 q/^(metadata|languages|indexfields)$/);
    111113}
    112114
Note: See TracChangeset for help on using the changeset viewer.