[Koha-patches] [PATCH] Bug #3087 - Improve z39.50 server Unimarc support
Frédéric DEMIANS
f.demians at tamil.fr
Fri Apr 3 16:21:01 CEST 2009
>> * Koha installation program need to be modified to pick up
>> koha-conf-unimarc.xml in place of koha-conf.xml.
>
> Is the only different between koha-conf-unimarc.xml and koha-conf.xml
> just a mechanical substitution of the string "unimarc" for "marc21"?
> If so, it would be better if we just had a single koha-conf.xml and
> improved the installer's templating system so that it could plug in
> the default record syntax. Otherwise, we risk unnecessary divergence
> between the UNIMARC and MARC21 version of the file.
You're correct. Install program could just do substitutions on the fly
(I don't know where to look at):
* usmarc => unimarc -- for syntax directives
* MARC21 = > UNIMARC -- for XSL files.
And we should create XSL file for UNIMARC in
koha-tmpl/intranet-tmpl/prog/en/xslt :
MARC21slim2ATOM.xsl => UNIMARCslim2ATOM.xsl
Etc.
UNIMARCslim2OAIDC.xsl already exists.
In the meantime, we could just copy MARC21 xsl file into UNIMARC version...
The upgrade process should also be seen:
* Creation of etc/zebradb/etc/unimarc.mar
* Modification of etc/zebradb/marc_defs/unimarc/biblios/record.abs
Otherwise, C4/Search.pm will be broken with UNIMARC. It could be put in
upgrade notes.
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
More information about the Koha-patches
mailing list