* 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'; // The base URL of the repository, i.e. the directory you deployed the files to $config['baseURL'] = 'http://www.example.org/oai2/'; // 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/'; // 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