Changeset 22213 for main/trunk/greenstone2/runtime-src/src/oaiservr
- Timestamp:
- 2010-06-01T15:11:40+12:00 (14 years ago)
- Location:
- main/trunk/greenstone2/runtime-src/src/oaiservr
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/oaiservr/identifyaction.cpp
r20707 r22213 58 58 59 59 // Get the repository name (some human-readable name for the site, or superset of collections) 60 text_t repositoryName = this->configuration->get CollectionConfig("", "repositoryName");60 text_t repositoryName = this->configuration->getRepositoryName(); 61 61 // Get admin's email address (i.e. the site maintainer) 62 text_t maintainer = this->configuration->get CollectionConfig("", "maintainer");62 text_t maintainer = this->configuration->getMaintainer(); 63 63 text_t version = (this->configuration->getOAIVersion() <= 110) ? (text_t)"1.1":(text_t)"2.0"; 64 64 65 text_t baseURL = this->configuration->get CollectionConfig("", "baseURL");65 text_t baseURL = this->configuration->getBaseURL(); 66 66 67 67 output << utf8convert << " <repositoryName>" << repositoryName << "</repositoryName>\n"; -
main/trunk/greenstone2/runtime-src/src/oaiservr/oaiaction.cpp
r21978 r22213 212 212 end = params.end(); 213 213 214 text_t baseURL = this->configuration->get CollectionConfig("", "baseURL");214 text_t baseURL = this->configuration->getBaseURL(); 215 215 216 216 int version = this->configuration->getOAIVersion(); … … 306 306 } 307 307 else { 308 text_t baseDocRoot = this->configuration->get CollectionConfig("", "baseDocRoot");308 text_t baseDocRoot = this->configuration->getBaseDocRoot(); 309 309 output << "<?xml-stylesheet type=\"text/xsl\" href=\""<<baseDocRoot<<"/web/style/oai2.xsl\" ?>\n"; 310 310 // output OAI v2.0 action header tag -
main/trunk/greenstone2/runtime-src/src/oaiservr/oaidispatcher.cpp
r21980 r22213 62 62 else { 63 63 // output OAI v2.0 action header tag 64 text_t baseDocRoot = this->configuration->get CollectionConfig("", "baseDocRoot");64 text_t baseDocRoot = this->configuration->getBaseDocRoot(); 65 65 output << "<?xml-stylesheet type=\"text/xsl\" href=\""<<baseDocRoot<<"/web/style/oai2.xsl\" ?>\n"; 66 66 output << "<OAI-PMH xmlns=\"http://www.openarchives.org/OAI/2.0/\"\n"
Note:
See TracChangeset
for help on using the changeset viewer.