Changeset 21980 for main/trunk


Ignore:
Timestamp:
2010-04-28T13:00:47+12:00 (14 years ago)
Author:
kjdon
Message:

added stylesheet info to the output so get a nice page when user enters no or illegal verb

File:
1 edited

Legend:

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

    r15192 r21980  
    6262    else {
    6363      // output OAI v2.0 action header tag
     64      text_t baseDocRoot = this->configuration->getCollectionConfig("", "baseDocRoot");
     65      output << "<?xml-stylesheet type=\"text/xsl\" href=\""<<baseDocRoot<<"/web/style/oai2.xsl\" ?>\n";   
    6466      output << "<OAI-PMH xmlns=\"http://www.openarchives.org/OAI/2.0/\"\n"
    6567         << "         xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
Note: See TracChangeset for help on using the changeset viewer.