Wallogit.com
2017 © Pedro Peláez
Implementation of the core functionalities for an OAI-PMH 2.0 Data Provider written in PHP
Implementation of the core functionalities for an OAI-PMH 2.0 Data Provider written in PHP, (*1)
The core functionalities by themselves do not provide metadata. They need to be used along with a client application in order to provide OAI-PHM data from a specific collection. Check the oai-pmh-demo-client project to see how to create a client., (*2)
This implementation completely complies to OAI-PMH 2.0, including the support of on-the-fly output compression which may significantly reduce the amount of data being transfered., (*3)
The core functionalities are an adaptation of PHP OAI Data Provider developed by Jianfeng Li from University of Adelaide., (*4)
The following metadata formats are currently supported: - DublinCore - Learning Object Metadata, (*5)
The metadata can be obtained from several types of sources. Each source can be included in the core as a plugin. The currently supported sources are:, (*6)
The project has the following structure:, (*7)
To build a OAI-PMH 2.0 Data Provider you need to build a customized client application. You can include this library on your client project using composer:, (*8)
composer require fccn/oai-pmh-core
After that, you need to manually load the library and call the execute_request() function with the path to the client configuration file as in the example below:, (*9)
require __DIR__ . '/../vendor/autoload.php'; require __DIR__ . '/../vendor/fccn/oai-pmh-core/src/main.php'; //execute request Fccn\Oaipmh\execute_request([path-to-config-ini-file]);
Please check the oai-pmh-demo-client project to learn more on how to build a client application., (*10)
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us., (*11)
We use SemVer for versioning. For the versions available, see the tags on this repository., (*12)
This project is licensed under the MIT License - see the LICENSE.md file for details, (*13)