Ignore:
Timestamp:
04/06/09 10:48:29 (12 years ago)
Author:
kjdon
Message:

changed some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/oaiservr/oaiconfig.cpp

    r18860 r18885  
    77
    88/**
    9  *  The mapping works as follows in the collect.cfg file.
     9 *  The mapping works as follows in the oai.cfg or collect.cfg file.
    1010 *
    1111 *  A line is in the format oaimapping <collection field> <oai field>
     
    2121 *  collect.cfg file can be made specific for a particular record format.
    2222 *  This is done using the OAI field name in the format of
    23  *    <OAI format>:<OAI field name>
    24  *  Thus, an rfc1807 Title field would be referred to as rfc1807:Title
     23 *    <OAI format>.<OAI field name>
     24 *  Thus, an rfc1807 Title field would be referred to as rfc1807.Title
    2525 *
    26  *  A collection-level mapping is not needed - to configure the behaviour
    27  *  of a collection, ensure that you place the appropriate configuration in
    28  *  its etc/collect.cfg file - the oaimapping stuff IS NOT picked up from
    29  *  the central main.cfg file at the moment.
    30  *
     26 *  A collection-level mapping can be provided in oai.cfg by prepending
     27 *  collname to collection field:
     28 *  <collname:field> <oai field>
     29
    3130 *  In the absence of a particular format name, the mapping is taken to be
    3231 *  universal.
     
    3938oaiconfig::oaiconfig(text_t &gsdlhome, text_t &gsdlcollect)
    4039{
    41   // read main configuration file to get oai collections
     40  // read main configuration file (oai.cfg) to get oai collections
    4241  text_t mainconfig = filename_cat(gsdlhome, "etc", "oai.cfg");
    4342  this->collection = "";
Note: See TracChangeset for help on using the changeset viewer.