Validating OAI-PMH with openarchives.org tool

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Validating OAI-PMH with openarchives.org tool

PabloAB
Hi all!

I tried to validate a koha data provider with
https://www.openarchives.org/Register/ValidateSite and get this two errors:

*1. FAIL baseURL supplied 'https://mysite/cgi-bin/koha/oai.pl
<https://mysite/cgi-bin/koha/oai.pl>' does not match the baseURL in the
Identify response 'http://mysite/opac/oai.pl <http://mysite/opac/oai.pl>'.
The baseURL you enter must EXACTLY match the baseURL returned in the
Identify response. It must match in case (http://Wibble.org/
<http://Wibble.org/> does not match http://wibble.org/
<http://wibble.org/>) and include any trailing slashes etc.*
*2. FAIL Bad earliestDatestamp: The earliestDatestamp in the identify
response (2018-07-13 09:07:21) does not have the correct format for the
time part of the UTCdatetime. The overall format must be
YYYY-MM-DDThh:mm:ssZ.*

I'm using Koha 18.05.01.000 with Plack (and memcached, no warnings/errors
on *About > System Information*).

Looking at my baseURL?verb=Identify XML I see  <request verb='Identify'>
http://mysite/opac/oai.pl</request>

About first error, seems bug 17785
<https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17785> but I
look my code and this commit
<https://github.com/Koha-Community/Koha/commit/1b492938e4eee4d1babe26417cfbf69cede2b844>
is already applied, and should be already fixed on 18.05.

I get similar (and others) errors trying with http://validator.oaipmh.com.

Am I missing something? Using a YAML config file would be a workaround? I
wonder what other people gets when validating
<https://www.openarchives.org/Register/ValidateSite> their Kohas.

Regards,
Pablo
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha