validate(); PluginRegistry::loadCategory('oaiMetadataFormats', true); $oai = new JournalOAI(new OAIConfig($request->url(null, 'oai'), Config::getVar('oai', 'repository_id'))); $oai->execute(); } function validate() { // Site validation checks not applicable //parent::validate(); if (!Config::getVar('oai', 'oai')) { Request::redirect(null, 'index'); } } /** * @see PKPHandler::requireSSL() */ function requireSSL() { return false; } } ?>