InvasionBiologyHypotheses / Documentation

Documentation related to building an open, zoomable atlas for invasion science and beyond
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

Try out simple oai-pmh provider server #52

Open bootsa opened 2 years ago

bootsa commented 2 years ago

Alternatively to running a whole document management server (e.g. InvenioRDM), a smaller, more lightweight server could be used.

Open Culture Consulting's OAI-PMH provider server is a small PHP server that provides an OAI-PMH endpoint based on a catalogue of OAI-PMH compliant XML files.

CitationJS transforms Wikidata and DOI entries into CSL-JSON which could then be used to output to OAI-PMH XML and written to the filesystem, to be served by the OCC OAI-PMH server.

Steps:

bootsa commented 2 years ago

Successfully set up a local instance and uploaded an XML file (downloaded from the InvenioRDM web demo).

image

bootsa commented 2 years ago

Source of record listed in the previous screenshot.

<?xml version='1.0' encoding='utf-8'?>
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:creator>Jeschke, Jonathan</dc:creator>
  <dc:date>2021-08-18</dc:date>
  <dc:identifier>10.3897/neobiota.68.66685</dc:identifier>
  <dc:identifier>oai:inveniordm.web.cern.ch:k1hjk-5h734</dc:identifier>
  <dc:publisher>CERN</dc:publisher>
  <dc:rights>info:eu-repo/semantics/closedAccess</dc:rights>
  <dc:rights>Creative Commons Attribution 4.0 International</dc:rights>
  <dc:rights>https://creativecommons.org/licenses/by/4.0/legalcode</dc:rights>
  <dc:title>Towards an open, zoomable atlas for invasion science and beyond</dc:title>
  <dc:type>info:eu-repo/semantics/article</dc:type>
</oai_dc:dc>