[Koha] OAI problem

Edisnel C. C. ecarrazana at uci.cu
Thu Feb 16 04:09:27 NZDT 2012


  Ok, the patch work, thanks. But how can I obtain all records in the database using the ListRecords ver, without use sets

example:
http://10.33.9.18:3390/cgi-bin/koha/oai.pl?verb=ListRecords&from=1998-05-01&until=2010-05-01&metadataPrefix=oai_dc

this is the result (no records here):

<OAI-PMH xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
<responseDate>2012-02-15T08:06:41Z</responseDate>
<request until="2010-05-01" from="1998-05-01" verb="ListRecords" metadataPrefix="oai_dc">http://10.33.9.18:3390/cgi-bin/koha/oai.pl</request>
<ListRecords/>
</OAI-PMH>

thanks


----- Mensaje original -----
De: "Magnus Enger" <magnus at enger.priv.no>
Para: "Edisnel C. C." <ecarrazana at uci.cu>
CC: koha at lists.katipo.co.nz
Enviados: Miércoles, 15 de Febrero 2012 10:44:20
Asunto: Re: [Koha] OAI problem

On 14 February 2012 21:38, Edisnel C. C. <ecarrazana at uci.cu> wrote:
>
>  Hi,
>  How can I configure OAI in Koha 3.0.6?
>  The OAI-PMH preference is ON
>
> Error de lectura XML: error de sintaxis
> Ubicación: http://10....../cgi-bin/koha/oai.pl?verb=GetRecord&identifier=KOHA-OAI-TEST:10&metadataPrefix=oai_dc
> Número de línea 1, columna 1:

Not sure about that one...

> How can I configure the sets?

Koha 3.0.6 does not support sets. There is a patch for this bug, but
it is currently "Failed QA":

"Bug 6440 - Koha's OAI-PMH does not support sets"
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6440

Hopefully that will be fixed, so setscan be available in Koha version 3.8.

Best regards,
Magnus Enger
libriotech.no


Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com


Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com


More information about the Koha mailing list