Compare commits
3 Commits
b5ec6ea083
...
11d8aa411a
Author | SHA1 | Date |
---|---|---|
Sebastian Meyer | 11d8aa411a | |
Sebastian Meyer | db76e3ba10 | |
Sebastian Meyer | 6cf4b53289 |
|
@ -1 +1,2 @@
|
|||
/vendor/
|
||||
composer.lock
|
||||
|
|
|
@ -6,11 +6,11 @@ Just put the records as XML files in the data directory, adjust a few configurat
|
|||
|
||||
A demo installation can be found [here](https://demo.opencultureconsulting.com/oai_pmh/?verb=Identify).
|
||||
|
||||
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/7a12022611d047ad9ef9a0c3aadb986a)](https://www.codacy.com/gh/opencultureconsulting/oai_pmh)
|
||||
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/7a12022611d047ad9ef9a0c3aadb986a)](https://www.codacy.com/gh/opencultureconsulting/simple-oai-pmh)
|
||||
|
||||
## Installation
|
||||
|
||||
1. Run `composer create-project opencultureconsulting/oai_pmh <path>`.
|
||||
1. Run `composer create-project opencultureconsulting/simple-oai-pmh <path>`.
|
||||
|
||||
2. Create a data directory in a location not publicly accessible (i. e. outside of `<path>`). Create a subdirectory inside the specified data directory for every format (i. e. `metadataPrefix`) you want to provide.
|
||||
|
||||
|
@ -24,7 +24,7 @@ A demo installation can be found [here](https://demo.opencultureconsulting.com/o
|
|||
|
||||
1. Backup `Configuration/Main.php`!
|
||||
|
||||
2. Delete `<path>` and re-install by running `composer create-project opencultureconsulting/oai_pmh <path>`.
|
||||
2. Delete `<path>` and re-install by running `composer create-project opencultureconsulting/simple-oai-pmh <path>`.
|
||||
|
||||
3. Move your configuration back into `Configuration/Main.php`.
|
||||
|
||||
|
|
|
@ -164,7 +164,7 @@
|
|||
<xsl:apply-templates select="/oai:OAI-PMH"/>
|
||||
<xsl:call-template name="quicklinks"/>
|
||||
<p class="info">You are viewing an HTML version of the XML OAI-PMH response. To see the underlying XML as it appears to any OAI-PMH harvester use your web browser's <em>view source</em> option or disable XSLT processing.</p>
|
||||
<p class="info">This XSL script was originally written by Christopher Gutteridge at <a href="https://www.southampton.ac.uk/">University of Southampton</a> for the <a href="https://www.eprints.org/">EPrints</a> project and was later adapted by Sebastian Meyer at <a href="https://www.opencultureconsulting.com/">Open Culture Consulting</a> to be more generally applicable to other OAI-PMH interfaces. It is available on <a href="https://github.com/opencultureconsulting/oai_pmh">GitHub</a> for free!</p>
|
||||
<p class="info">This XSL script was originally written by Christopher Gutteridge at <a href="https://www.southampton.ac.uk/">University of Southampton</a> for the <a href="https://www.eprints.org/">EPrints</a> project and was later adapted by Sebastian Meyer at <a href="https://www.opencultureconsulting.com/">Open Culture Consulting</a> to be more generally applicable to other OAI-PMH interfaces. It is available on <a href="https://github.com/opencultureconsulting/simple-oai-pmh">GitHub</a> for free!</p>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "opencultureconsulting/oai_pmh",
|
||||
"name": "opencultureconsulting/simple-oai-pmh",
|
||||
"description": "This is a stand-alone and easy to install data provider implementing the Open Archives Initiative's Protocol for Metadata Harvesting (OAI-PMH).",
|
||||
"type": "project",
|
||||
"keywords": [
|
||||
|
@ -9,7 +9,7 @@
|
|||
"code4lib",
|
||||
"repository"
|
||||
],
|
||||
"homepage": "https://github.com/opencultureconsulting/oai_pmh",
|
||||
"homepage": "https://github.com/opencultureconsulting/simple-oai-pmh",
|
||||
"readme": "README.md",
|
||||
"license": ["GPL-3.0-or-later"],
|
||||
"authors": [
|
||||
|
@ -41,14 +41,17 @@
|
|||
}
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/opencultureconsulting/oai_pmh/issues",
|
||||
"source": "https://github.com/opencultureconsulting/oai_pmh",
|
||||
"docs": "https://github.com/opencultureconsulting/oai_pmh/blob/master/README.md"
|
||||
"issues": "https://github.com/opencultureconsulting/simple-oai-pmh/issues",
|
||||
"source": "https://github.com/opencultureconsulting/simple-oai-pmh",
|
||||
"docs": "https://github.com/opencultureconsulting/simple-oai-pmh/blob/master/README.md"
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.0|^8.0",
|
||||
"ext-xml": "*"
|
||||
},
|
||||
"replace": {
|
||||
"opencultureconsulting/oai_pmh": "self.version"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"OCC\\OAI2\\": "Classes/"
|
||||
|
|
Loading…
Reference in New Issue