Provide example configuration

This commit is contained in:
Sebastian Meyer 2017-05-14 14:14:34 +02:00
parent f56d4a2dea
commit a79d621fd2
1 changed files with 6 additions and 6 deletions

View File

@ -27,18 +27,18 @@
$config = array(); $config = array();
// A human readable name for the repository // A human readable name for the repository
$config['repositoryName'] = 'German Literature Archive, Marbach'; $config['repositoryName'] = 'Simple OAI 2.0 Data Provider';
// The base URL of the repository, i.e. the directory you deployed the files to // The base URL of the repository, i.e. the directory you deployed the files to
$config['baseURL'] = 'http://www.dla-marbach.de/oai2/'; $config['baseURL'] = 'http://www.example.org/oai2/';
// Email address for contacting the repository owner // Email address for contacting the repository owner
$config['adminEmail'] = 'info@dla-marbach.de'; $config['adminEmail'] = 'admin@example.org';
// Metadata format, schema and namespace of your records // Metadata format, schema and namespace of your records
$config['metadataFormat'] = 'ead'; $config['metadataFormat'] = 'oai_dc';
$config['metadataSchema'] = 'https://www.loc.gov/ead/ead.xsd'; $config['metadataSchema'] = 'http://www.openarchives.org/OAI/2.0/oai_dc.xsd';
$config['metadataNamespace'] = 'urn:isbn:1-931666-22-9'; $config['metadataNamespace'] = 'http://www.openarchives.org/OAI/2.0/oai_dc/';
// Maximum number of records to return before giving a resumption token // Maximum number of records to return before giving a resumption token
$config['maxRecords'] = 100; $config['maxRecords'] = 100;