Changeset 21980

Show
Ignore:
Timestamp:
28.04.2010 13:00:47 (9 years ago)
Author:
kjdon
Message:

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

Files:
1 modified

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"