[Koha-bugs] [Bug 10662] Build OAI-PMH Harvesting Client

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 13 00:25:48 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10662

--- Comment #23 from David Cook <dcook at prosentient.com.au> ---
(In reply to Laurence Lefaucheur from comment #22)
> I am trying to test OAI harvest on a biblibre Marc21 sandbox following the
> test plan.
> 
> I want to import oai_dc records, but the koha records created are always
> empty (only the leader field is present)
> 
> I tried with Path to xslt = default, or set empty
> Record type : biblio
> Marc Framework : default
> 
> What kind of metadata is allowed ? 
> I see only this xslt file : MARC21slimFromOAI.xsl
> Should I previously create a specific oai to marc xslt stylesheet ?

Hi Laurence:

Yes, you'll need to create a OAIDC2MARC XSLT in order to transform the metadata
into MARC21. 

Since Koha only supports MARC, the record the OAI-PMH harvester passes to
Koha's internal code must also be in MARC. 

Long ago, I thought about creating a XSLT to convert from oai_dc into MARCXML,
but I found it to be a very error-prone process, since oai_dc is such a simple
metadata format and MARC is quite complex. I was never happy with the
conversion from oai_dc to MARC.

With DSpace, I plan to create a DIM to MARC XSLT which I'll probably use on
DSpace itself so that I don't have to do anything special on the harvester end.
DIM is DSpace's internal metadata format, and I found that to be much better
than oai_dc for converting to MARC.

So my recommendation is to harvest in MARC, but where that's impossible and you
still want access to the record... you'll have to point "Path to XSLT" at a
different stylesheet which can convert oai_dc to MARCXML.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list