[Koha-devel] Intro and question

Galen Charlton gmcharlt at gmail.com
Mon Feb 14 22:46:32 CET 2011


Hi Doug,

2011/2/14 Doug Dearden <dearden at sarsf.org>:
> I have this working for the MARC21 files – I got it working on the OPAC last
> week and on the Staff Client today, but also wanted to get the unimarc files
> modified as well.   I have done some coding but realized I needed to test
> this.  And here is my question.  I did another DEV install, and chose
> unimarc during the when answering the questions.  That question only seemed
> to apply to zebra though.  Looking at the koha-conf.xml it looks like it is
> pointing to the MARC21 xsl files.  What do I need to do to get a unimarc dev
> install working?  I have not yet connected to the admin page as I didn’t
> want to populate the database with MARC21 info.  Does it happen
> automatically there?  Any guidance appreciated.

Good on you for thinking of the UNIMARC users.  In this case, the
references to the MARC21 stylesheets that you see even after choosing
UNIMARC can be ignored for your immediate purposes.  They are used
only if you are using requesting on-the-fly conversion of the MARC
records to other formats such as RDF, MODS, and so forth from Koha's
Z39.50 server.  However, Koha's OPAC itself doesn't use that
functionality, so if you're working on the OPAC display XSLT, the fact
that you chose UNIMARC during installation is enough to get Koha to
point to the correct stylesheets.

Obviously, it *is* a bug that the stylesheets referenced in
koha-conf.xml don't have UNIMARC equivalents, but that's a bug that
quite possibly has never been encountered in practice.

For your reference, what it's doing is checking the marcflavour system
preference to determine if the database is UNIMARC or MARC21.

Regards,

Galen
-- 
Galen Charlton
gmcharlt at gmail.com


More information about the Koha-devel mailing list