* Copyright (C) 2011 Jianfeng Li * Copyright (C) 2013 Daniel Neis Araujo * Copyright (C) 2017 Sebastian Meyer * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ /** * This file contains all configuration you need to change according to your preferences */ $config = array(); // A human readable name for the repository $config['repositoryName'] = 'Simple OAI 2.0 Data Provider'; // Email address for contacting the repository owner $config['adminEmail'] = 'admin@example.org'; // Metadata format, schema and namespace of your records $config['metadataFormat'] = 'oai_dc'; $config['metadataSchema'] = 'http://www.openarchives.org/OAI/2.0/oai_dc.xsd'; $config['metadataNamespace'] = 'http://www.openarchives.org/OAI/2.0/oai_dc/'; // Directory containing the records // (Make sure the given path is readable) $config['dataDirectory'] = 'data/'; // Maximum number of records to return before giving a resumption token $config['maxRecords'] = 100; // Path and prefix for saving resumption tokens // (Make sure the given path is writable) $config['tokenPrefix'] = '/tmp/oai2-'; // Number of seconds a resumption token should be valid $config['tokenValid'] = 86400; // 24 hours