koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] New Feature: Zebra Plugin for rel_2_2


From: Joshua Ferraro
Subject: [Koha-devel] New Feature: Zebra Plugin for rel_2_2
Date: Mon, 6 Mar 2006 06:56:21 -0800
User-agent: Mutt/1.4.1i

Hi all,

As discussed at our last meeting, Zebra/ZOOM-Perl will be available
as a plugin for rel_2_2 as a 'drop-in replacement' for the current
MARC-in-SQL design. Of course, you don't _need_ to use Zebra in
rel_2_2, but it is available as an option. So ... how do you get
it going? Here's a brief installation overview for those of you
who'd like to start testing:

PREPARE THE SERVER

1. Install Koha 2.2.5
2. Install the latest versions of Yaz, Zebra, and Net::Z3950::ZOOM
2. Create two CVS repositories on your server, one for HEAD and one
        for rel_2_2
3. Symlink the Koha 2.2.5 installation to the rel_2_2 CVS repo as
        outlined in the 'Updating Koha' document on kohadocs.org

UPDATE YOUR DATABASE

ALTER TABLE biblioitems ADD marcxml TEXT NOT NULL;
ALTER TABLE itemtypes ADD imageurl char(200);
ALTER TABLE biblio ADD frameworkcode VARCHAR( 4 ) NOT NULL AFTER biblionumber;

CONFIGURE ZEBRA

1. cd /path/to/rel_2_2_cvs/koha
2. ln -s /path/to/rel_2_2_cvs/kohahris/koha-head/misc/zebra/usmarc/ zebra
3. edit koha.conf add:
        zebradb=localhost:2100/kohaplugin
4. Start Zebra:

sudo zebraidx create kohaplugin
sudo zebrasrv localhost:2100

SYNC THE PLUGIN FILES WITH HEAD

The following files in your rel_2_2 Koha need to be replaced with 
HEAD versions:

        Modules:
                Biblio.pm
                Context.pm 
                SearchMarc.pm
                Amazon.pm
                Review.pm
                Search.pm 

        Intranet:
                addbiblio.pl
                additem.pl
                detail.pl
                MARCdetail.pl
                ISBNdetail.pl

        OPAC:
                opac-detail.pl
                opac-MARCdetail.pl
                opac-ISBDdetail.pl

You need to edit the new files to change the path from 'cataloging'
back to 'acqui.simple' (in 3.0 the path will change).

At this point, you should be able to import fresh batches of records
using the bulkmarcimport.pl script in HEAD. Searching and acquisitions
should also work.

Once you get it going, you can easily keep it up to date by keeping your
HEAD cvs repo up to data and copying over the above files each time.

Let me know if these instructions don't work for you or if you have any
questions.

Cheers,

-- 
Joshua Ferraro               VENDOR SERVICES FOR OPEN-SOURCE SOFTWARE
President, Technology       migration, training, maintenance, support
LibLime                                Featuring Koha Open-Source ILS
address@hidden |Full Demos at http://liblime.com/koha |1(888)KohaILS




reply via email to

[Prev in Thread] Current Thread [Next in Thread]