Go to file
Sebastian Meyer 008d5599c4 Check validity of resumption token by filemtime 2017-05-13 12:55:50 +02:00
data Add data directory 2017-05-05 18:14:52 +02:00
LICENSE.txt Restructure and update meta files 2017-05-12 18:12:31 +02:00
README.md Update copyright information and readme 2017-05-13 12:08:11 +02:00
index.php Make some variables global 2017-05-13 12:21:26 +02:00
oai2config.php Update copyright information and readme 2017-05-13 12:08:11 +02:00
oai2exception.php Update copyright information and readme 2017-05-13 12:08:11 +02:00
oai2server.php Check validity of resumption token by filemtime 2017-05-13 12:55:50 +02:00
oai2xml.php Update copyright information and readme 2017-05-13 12:08:11 +02:00

README.md

Simple OAI-PMH 2.0 Data Provider

This is a stand-alone and easy to install data provider for the Open Archives Initiative's Protocol for Metadata Harvesting (OAI-PMH) written in PHP. It serves records in any metadata format from a directory of XML files using the filename as identifier and the filemtime as datestamp. Resumption tokens are managed using files. Multiple metadata formats and sets are currently not supported.

Just put the records as XML files in the data directory, adjust a few configuration settings and you are ready to go!

Installation

  1. Deploy all the files to a webserver.

  2. Put the records into the data/ directory (or create a symlink named "data" pointing to your records). Each record has to be a separate XML file with its identifier as filename (i.e. 12345678.xml).

  3. Edit oai2config.php and adjust the settings according to your preferences.

  4. Congratulations! Now you are running an OAI-PMH 2.0 compatible data provider.

History

This project was originally initiated in 2002 by Heinrich Stamerjohanns at University of Oldenburg. His latest implementation can be still found via the Internet Archive's Wayback Machine.

It was then modified in 2011 by Jianfeng Li of the University of Adelaide for The Plant Accelerator. The modified version can be found in the Google Code Archive.

In 2013 Daniel Neis Araujo of the Federal University of Santa Catarina modified the project again in order to integrate it with Moodle. His implementation can be found on GitHub.

The current implementation was derived from the latter in 2017 by Sebastian Meyer of Open Culture Consulting for the German Literature Archive.