[Koha] Adding support for NORMARC to Koha 3

Magnus Enger magnus at enger.priv.no
Tue Nov 11 04:30:29 NZDT 2008


Dear tajoli, 

> Dear Magnus,
> 
> On Mon, 10 Nov 2008 11:04:10 +0100, "Magnus Enger" <magnus at enger.priv.no>
> wrote:
> > Dear all, 
> > 
> > I'm trying to add support for NORMARC to Koha 3, a crucial step if Koha
> is
> > going to get any attention here in Norway. 
> 
> Are you sure of this ? It is quite a big task.

Yes, I'm quite sure Norwegian libraries and librarians will find a
requirement to convert their beloved NORMARC-records into MARC21 before
migrating to Koha quite a turn-off. I guess it will also be problematic to
import records via Z39.50 from our national library or other large libraries
into a MARC21 system. 

The size of the task - and the different sub-tasks involved - is one of the
things I'm trying to figure out! ;-) 
 
> > I start off with a working installation with the default MARC21
> structure,
> > and I have created an SQL-file that I run against the database in an
> > attempt
> > to delete MARC21 and replace it with NORMARC: 
> > http://github.com/MagnusEnger/normarc4koha/tree/master/normarc.sql
> > 
> > When I ran this against one of the beta versions prior to the stable 3.0
> it
> > seemed to work. Today, I can still view my NORMARC structure with
> > /cgi-bin/koha/admin/marctagstructure.pl. But when I search for something
> in
> > the OPAC, I get the following error: 
> 
> First question:
> Do you have Zebra or not ?

Yep, Zebra is trotting along at a nice pace. 

Just to break the tasks down here: 

> To use the search with a 'new' MARC you need to setup the config of
> indexing, 

That would mean providing the information found in
/etc/zebradb/marc_defs/marc21/
http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=tree;f=etc/zebradb/marc_defs/
marc21
but for NORMARC, right? 

> the setup of ISBD 

That would be done through the ISBD pref? 

> and full views 

Where should this be done? 

> and reindexing all.

With something like "rebuild_zebra.pl -b -a -z", right? 

What strikes me as somewhat strange about the behaviour I'm seeing now, is
that reindexing does not seem to affect it. If I load my definition I get the
error, without me doing any reindexing. To me it looks like Koha is doing
some checking of the MARC-structure and throwing an error before it performs
an actual search? 

Regards, 
Magnus


More information about the Koha mailing list