In 3.4.0.8, I am trying to make our journal ready for harvesting and have the following problem while checking OAI-PMH:
When I go to https://atlantisjournal.ca/index.php/atlantis/oai?verb=ListRecords&metadataPrefix=jats&from=2012-05-14T00:00:23Z&until=2012-05-14T00:00:24Z, I see a list of records. However, when I go to the same address but looking for Identifiers: https://atlantisjournal.ca/index.php/atlantis/oai?verb=ListIdentifiers&metadataPrefix=jats&from=2012-05-14T00:00:23Z&until=2012-05-14T00:00:24Z. (by the way, this URL requires a ā.ā dot at the end), I see OAI Error(s). I looked into my php_error_log and neither the URL generates any errors. My php.ini has: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT, so one would expect to see something.
When I click on each of the 5 verbs on the top of the page, Identify, ListRecords, and ListMetadataFormats work, while ListSets and ListIdentifiers donāt.
Interestingly, when I try the URL above, first I see: ābadArgument: Illegal until parameterā. When I remove ā&until=2012-05-14T00:00:24Zā, I get the ābadArgument: Illegal from parameterā. When I remove ā&from=2012-05-14T00:00:23Zā, I am left with the URL of https://atlantisjournal.ca/index.php/atlantis/oai?verb=ListIdentifiers&metadataPrefix=jats. and it gives: ācannotDisseminateFormat: The requested metadataPrefix is not supported by this repositoryā.
I ran the URL through OVAL :: BASE OAI-PMH Validator which gave this information.
Server communication
SUCCESS: Server supports both GET and POST requests.
SUCCESS: OAI-PMH version is 2.0
XML Validation
ERROR: Identify response well-formed but invalid: Element ā{http://www.openarchives.org/OAI/2.0/}OAI-PMHā: No matching global declaration available for the validation root., line 6
ERROR: ListRecords response well-formed but invalid: Element ā{http://www.openarchives.org/OAI/2.0/}OAI-PMHā: No matching global declaration available for the validation root., line 6
Harvesting
SUCCESS: Deleting strategy is āpersistentā
SUCCESS: ListRecords batch size is 100.
ERROR: Error during resumption request: HTTP Error 500: Internal Server Error
SUCCESS: Resumption token lasts 23 hours.
SUCCESS: completeListSize: 2083 records.
SUCCESS: Incremental harvesting (day granularity) of ListRecords works.
ERROR: No incremental (full granularity) harvesting of ListRecords. Harvest for reference date 2012-05-14T18:26:33Z returned record with date 2012-05-14T18:27:26Z.
SUCCESS: dc:language elements conform to ISO 639-3.
SUCCESS: dc:date elements conform to ISO 8601.
SUCCESS: Minimal DC elements (title, identifier, creator, type, date) are present.
My config.inc.php has:
;;;;;;;;;;;;;;;;
; OAI Settings ;
;;;;;;;;;;;;;;;;
[oai]
oai = On
repository_id = āojs-oai.localhostā
oai_max_records = 100
Not sure what to do with this information, though. Checked the two JATS related plugins (JATS Metadata Format and JATS Template Plugin) and they seem to be installed and up-to-date.
The Plugin Gallery shows a DRIVER plugin (The DRIVER plugin extends the OAI-PMH interface according to the DRIVER Guidelines 2.0, helping OJS journals to become DRIVER compliant.) which didnāt have a checkmark next to it. I enabled it and also replaced line 53 according to this: Issue with DRIVER Plugin on OJS 3.4.0.X: No Records via OAI Interface - Software Support - PKP Community Forum
I went through more OAI and JATS related posts but canāt figure it out.