Ignore:
Timestamp:
2009-09-18T12:18:01+12:00 (15 years ago)
Author:
mdewsnip
Message:

Added new "oaisetname" and "oaisetdescription" configuration options in the oai.cfg file, for setting the setName and setDescription values in the ListSets response.

File:
1 edited

Legend:

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

    r18903 r20629  
    3434  text_t        getMapping(const text_t &collection, const text_t &collectfield, const text_t &format);
    3535  text_tmap   * getInformation() { return &this->infoMap; }
     36  text_t        getSetName(const text_t &setSpec);
     37  text_t        getSetDescription(const text_t &setSpec);
    3638  int           getOAIVersion();
    3739  int           resumeAfter();
     
    4345  text_tmap infoMap;        // Holds the information to be given in the case
    4446                            // of an OAI identify request
     47  text_tmap setNameMap;     // Holds user-defined names for the sets
     48  text_tmap setDescriptionMap;  // Holds user-defined descriptions for the sets
    4549  oaicollectmap collectMap; // The configuration of collections
    4650  text_t collection;        // Used to track which collection is being configured
Note: See TracChangeset for help on using the changeset viewer.