~/tools/oai-pmh-viewer$
Paste an OAI-PMH response and see its records, sets and errors the way a harvester does, for DSpace and OJS, without a command-line harvester.
Published
DSpace 10: https://your-server/server/oai/request. OJS: https://your-server/index.php/your-journal/oai.
$ curl -s 'https://your-server/server/oai/request?verb=Identify' > oai-response.xmlThis page never contacts your server: you run the command, then paste or drop what it saved.
Read in this browser only; nothing is uploaded. Remove anything private before sharing a result.
~/tools/oai-pmh-viewer$cat how-to-use
Type your repository’s OAI-PMH base URL and pick a request: the tool prints the curl command that saves the answer to a file. Run it on your computer, or on the server itself when the repository is not public yet.
Paste the answer or drop the saved file. It is read in this browser and never sent anywhere, so a staging or private repository works too.
You see what a harvester sees: the repository’s Identify values, its sets and formats, every record with its title and sets, and whether more pages follow. Each problem a harvester would hit is listed with the reason, and for DSpace and OJS with the cause our test servers showed.
~/tools/oai-pmh-viewer$cat proof
On a fresh server for each Ubuntu release, DSpace 10.1 and OJS 3.5.0-6 were installed as their courses install them, with three items and three articles. Their real OAI-PMH answers (Identify, ListSets, ListMetadataFormats, ListRecords, and the protocol’s own errors: noRecordsMatch, cannotDisseminateFormat, badVerb) were saved with curl, and this tool’s own code read all thirteen exactly as Python’s XML parser read them on the server: the same repository names, base URLs, sets, formats, records and error codes, each answer recognised as DSpace or OJS. The run log shows every command and what the server printed.
Ubuntu 26.04.1: passed all 43 checksRead the run log (Ubuntu 26.04.1)
Ubuntu 24.04.5: passed all 43 checksRead the run log (Ubuntu 24.04.5)
Ubuntu 26.04.1
Recorded on the test server just before the first step and again after the last one. Disk used on / (logs written during the run included): +1160.8 MB.
Ubuntu 24.04.5
Recorded on the test server just before the first step and again after the last one. Disk used on / (logs written during the run included): +1377.6 MB.
Every command on this page was run on this server and the output shown is what it printed. How we test