Ignore:
Timestamp:
06/01/10 15:11:40 (11 years ago)
Author:
kjdon
Message:

changes to methods of oaiconfig

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/oaiservr/identifyaction.cpp

    r20707 r22213  
    5858
    5959  // Get the repository name (some human-readable name for the site, or superset of collections)
    60   text_t repositoryName = this->configuration->getCollectionConfig("", "repositoryName");
     60  text_t repositoryName = this->configuration->getRepositoryName();
    6161  // Get admin's email address (i.e. the site maintainer)
    62   text_t maintainer = this->configuration->getCollectionConfig("", "maintainer");
     62  text_t maintainer = this->configuration->getMaintainer();
    6363  text_t version = (this->configuration->getOAIVersion() <= 110) ? (text_t)"1.1":(text_t)"2.0";
    6464
    65   text_t baseURL = this->configuration->getCollectionConfig("", "baseURL");
     65  text_t baseURL = this->configuration->getBaseURL();
    6666 
    6767  output << utf8convert << "  <repositoryName>"  << repositoryName << "</repositoryName>\n";
Note: See TracChangeset for help on using the changeset viewer.