[Koha-devel] Zebra and Directory Structures

Paul POULAIN paul.poulain at free.fr
Mon Nov 27 17:58:03 CET 2006


investigating the structure cleaning...

It appears to me that we need only the following files :
* record.abs

   => heavily depends on MARC flavour & authority/biblio. We need one 
for each MARC flavour.

* bib1.att

   => does not depend on language, and depends on MARC flavour for a few 
lines only, the fixed fields. hdl used different numbers for unimarc 
fixed fields than the one you used for marc21. Good new, we can then 
have only 1 file for koha (1 for biblios & 1 for authorities) !!!

* ccl.properties

   => does not depend on language and should not depend on MARC flavour. 
so, we could have only one.


* cql.properties

   => same conclusion.


* zebra-biblios.cfg
   => this file is library dependant : each library will have it's own. 
However, it can be builded from koha.xml easily (& tweaked manually if 
needed)

* sort-string-utf.chr & sort-phrase-utf.chr

   => does not depends on MARC flavour, but a lot on language


Am I missing something ? reading this, it seems only record.abs is MARC 
flavour dependant, some other files being language dependant.

Thus, I'm not sure the dir structure you suggested is the best we could 
have.
Finally, why not have a single directory (in CVS), with
bib1_biblios.att
bib1_authorities.att
record_unimarc.abs
record_marc21.abs
ccl.properties
cql.properties
sort-string-utf_french.chr
sort-string-utf_english.chr (should almost be the same)
...

The installer copying the correct file into the
libraryName/[biblio|authorities]/... directory

let me know your opinion.
-- 
Paul POULAIN et Henri Damien LAURENT
Consultants indépendants
en logiciels libres et bibliothéconomie (http://www.koha-fr.org)
Tel : 04 91 31 45 19





More information about the Koha-devel mailing list