[Koha-cvs] koha/zebraplugin etc/ccl.properties etc/koha_un... [rel_3_0]

Henri-Damien LAURENT laurenthdl at alinto.com
Mon Oct 23 10:51:34 CEST 2006


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Henri-Damien LAURENT <hdl>	06/10/23 08:51:33

Added files:
	zebraplugin/etc: ccl.properties koha_unimarc.xml pqf.properties 
	                 zebra-authorities.cfg 
	                 zebra-authorities_unimarc.cfg zebra-biblios.cfg 
	                 zebra-biblios_unimarc.cfg 
	zebraplugin/utils: biblio_framework.sql convert_to_utf8.pl 
	                   export_Authorities.pl 
	                   export_Authorities_xml.pl missing090field.pl 
	                   move_marc_to_authheader.pl 
	                   move_marc_to_biblioitems.pl phrase_log.sql 
	zebraplugin/zebradb/authorities/tab: auth1.att default.idx 
	                                     kohalis record.abs 
	                                     record_unimarc.abs 
	                                     sort-string-utf.chr 
	                                     word-phrase-utf.chr 
	zebraplugin/zebradb/biblios/tab: bib1.att bib1_unimarc.att 
	                                 kohalis record.abs 
	                                 record_for_unimarc.abs 
	                                 record_unimarc.abs 
	                                 sort-string-utf.chr 
	                                 word-phrase-utf.chr 
	zebraplugin    : README 

Log message:
	Re-adding zebraplugin files

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/etc/ccl.properties?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/etc/koha_unimarc.xml?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/etc/pqf.properties?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/etc/zebra-authorities.cfg?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/etc/zebra-authorities_unimarc.cfg?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/etc/zebra-biblios.cfg?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/etc/zebra-biblios_unimarc.cfg?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/utils/biblio_framework.sql?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/utils/convert_to_utf8.pl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/utils/export_Authorities.pl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/utils/export_Authorities_xml.pl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/utils/missing090field.pl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/utils/move_marc_to_authheader.pl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/utils/move_marc_to_biblioitems.pl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/utils/phrase_log.sql?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/auth1.att?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/default.idx?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/kohalis?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/record.abs?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/record_unimarc.abs?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/sort-string-utf.chr?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/word-phrase-utf.chr?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/biblios/tab/bib1.att?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/biblios/tab/bib1_unimarc.att?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/biblios/tab/kohalis?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/biblios/tab/record.abs?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/biblios/tab/record_for_unimarc.abs?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/biblios/tab/record_unimarc.abs?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/biblios/tab/sort-string-utf.chr?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/biblios/tab/word-phrase-utf.chr?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/README?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.4.1

Patches:
Index: etc/ccl.properties
===================================================================
RCS file: etc/ccl.properties
diff -N etc/ccl.properties
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ etc/ccl.properties	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,46 @@
+# CCL field mappings
+# $Id: ccl.properties,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+# 
+# The rule below is used when no fields are specified
+term t=l,r  s=al
+#
+# Simple rule for a field called "clean"
+clean t=l,r
+#
+# Rules for some BIB-1 fields
+au   u=1003    s=pw 
+te   1=4 4=1 6=3
+ti   u=4    s=pw
+isbn u=7
+issn u=8
+cc   u=20
+su   u=21   s=pw
+date u=30   r=r
+dp   u=31   r=r
+da   u=32   r=r
+la   u=54   s=pw
+ab   u=62   s=pw
+note u=63   s=pw
+af   u=1006 s=pw
+#
+# Rules for a few GILS fields
+north  gils-attset,u=2040 r=o
+south  gils-attset,u=2041 r=o
+east  gils-attset,u=2038 r=o
+west  gils-attest,u=2039 r=o
+distributor gils-attset,u=2000 s=pw
+distributorname gils-attset,u=2001 s=pw
+
+# Explain fields
+ExplainCategory      exp1,1=1
+HumanStringLanguage  exp1,1=2
+DatabaseName         exp1,1=3
+TargetName           exp1,1=4
+AttributeSetOID      exp1,1=5
+RecordSyntaxOID      exp1,1=6
+TagSetOID            exp1,1=7
+ExtededServiceOID    exp1,1=8
+DateAdded            exp1,1=9
+DateChanged          exp1,1=10
+DateExpires          exp1,1=11
+ElementSetName       exp1,1=12

Index: etc/koha_unimarc.xml
===================================================================
RCS file: etc/koha_unimarc.xml
diff -N etc/koha_unimarc.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ etc/koha_unimarc.xml	23 Oct 2006 08:51:33 -0000	1.1.2.1
@@ -0,0 +1,32 @@
+<yazgfs>
+<listen id="biblioserver" >tcp:@:9900</listen>
+  <listen id="authorityserver">tcp:@:2100</listen>
+<server id="biblioserver"  listenref="biblioserver"> 
+    <directory>/home/hdl/Koha/Code/savannah/koha-2.3/zebra/biblios</directory>
+    <config>/home/hdl/Koha/Code/savannah/koha-2.3/etc/zebra-biblios.cfg</config>
+    <cql2rpn>/home/hdl/Koha/Code/savannah/koha-2.3/etc/pqf.properties</cql2rpn>
+</server>
+<server id="authorityserver"  listenref="authorityserver" > 
+    <directory>/home/hdl/Koha/Code/savannah/koha-2.3/zebra/authorities</directory>
+    <cql2rpn>/home/hdl/Koha/Code/savannah/koha-2.3/etc/pqf.properties</cql2rpn>
+    <config>/home/hdl/Koha/Code/savannah/koha-2.3/etc/zebra-authorities_unimarc.cfg</config>
+</server>
+<config>
+ <database>Kohazebratest</database>
+ <hostname>localhost</hostname>
+ <user>kohaadmin</user>
+ <pass>K0h at dm1n</pass>
+ <zebrauser>kohaadmin</zebrauser>
+ <zebrapass>K0h at dm1n</zebrapass>
+ <zebradir>/home/hdl/Koha/Code/savannah/koha-2.3/</zebradir>
+ <biblioserver>biblios</biblioserver>
+ <biblioservershadow>1</biblioservershadow>
+ <authorityserver>authorities</authorityserver>
+ <authorityservershadow>1</authorityservershadow>
+ <intranetdir>/home/hdl/Koha/Code/savannah/koha-3.0/koha/</intranetdir>
+ <opacdir>/home/hdl/Koha/Code/savannah/koha-3.0/koha/opac/</opacdir>
+ <opachtdocs>/home/hdl/Koha/Code/savannah/koha-3.0/koha/koha-tmpl/opac-tmpl</opachtdocs>
+ <intrahtdocs>/home/hdl/Koha/Code/savannah/koha-3.0/koha/koha-tmpl/intranet-tmpl</intrahtdocs>
+ <includes>/home/hdl/Koha/Code/savannah/koha-3.0/koha/koha-tmpl/intranet-tmpl/default/en/includes/</includes>
+</config>
+</yazgfs>

Index: etc/pqf.properties
===================================================================
RCS file: etc/pqf.properties
diff -N etc/pqf.properties
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ etc/pqf.properties	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,157 @@
+# $Id: pqf.properties,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+#
+# Propeties file to drive org.z3950.zing.cql.CQLNode's toPQF()
+# back-end and the YAZ CQL-to-PQF converter.  This specifies the
+# interpretation of various CQL indexes, relations, etc. in terms
+# of Type-1 query attributes.
+#
+# This configuration file generates queries using BIB-1 attributes.
+# See http://www.loc.gov/z3950/agency/zing/cql/dc-indexes.html
+# for the Maintenance Agency's work-in-progress mapping of Dublin Core
+# indexes to Attribute Architecture (util, XD and BIB-2)
+# attributes.
+
+# Identifiers for prefixes used in this file. (index.*)
+set.cql		= info:srw/cql-context-set/1/cql-v1.1
+set.rec		= info:srw/cql-context-set/2/rec-1.0
+set.dc		= info:srw/cql-context-set/1/dc-v1.1
+set.bath	= http://zing.z3950.org/cql/bath/2.0/
+
+# default set (in query)
+set		= info:srw/cql-context-set/1/dc-v1.1
+
+# The default access point and result-set references
+index.cql.serverChoice			= 1=1016
+	# srw.serverChoice is deprecated in favour of cql.serverChoice
+	# BIB-1 "any"
+
+index.rec.id				= 1=12
+
+index.dc.identifier    			= 1=1007          
+index.dc.title				= 1=4
+index.dc.subject			= 1=21
+index.dc.creator			= 1=1003
+index.dc.author				= 1=1003
+index.dc.itemtype                       = 1=1031
+index.dc.barcode                        = 1=1032
+index.dc.branch                         = 1=1033
+index.dc.isbn                           = 1=7
+index.dc.any				= 1=1016
+
+	### Unofficial synonym for "creator"
+index.dc.editor				= 1=1020
+index.dc.publisher			= 1=1018
+index.dc.description			= 1=62
+	# "abstract"
+index.dc.date				= 1=30
+index.dc.resourceType			= 1=1031
+	# guesswork: "Material-type"
+index.dc.format				= 1=1034
+	# guesswork: "Content-type"
+index.dc.resourceIdentifier		= 1=12
+	# "Local number"
+index.dc.source				= 1=1019
+	# "Record-source"
+index.dc.language			= 1=54
+	# "Code--language"
+index.dc.relation			= 1=?
+	### No idea how to represent this
+index.dc.coverage			= 1=?
+	### No idea how to represent this
+index.dc.rights				= 1=?
+	### No idea how to represent this
+
+# Relation attributes are selected according to the CQL relation by
+# looking up the "relation.<relation>" property:
+#
+relation.<				= 2=1
+relation.le				= 2=2
+relation.eq				= 2=3
+relation.exact				= 2=3
+relation.ge				= 2=4
+relation.>				= 2=5
+relation.<>				= 2=6
+
+### These two are not really right:
+relation.all				= 2=3
+relation.any				= 2=3
+
+# BIB-1 doesn't have a server choice relation, so we just make the
+# choice here, and use equality (which is clearly correct).
+relation.scr				= 2=3
+
+# Relation modifiers.
+#
+relationModifier.relevant		= 2=102
+relationModifier.fuzzy                  = 5=103
+	### 100 is "phonetic", which is not quite the same thing
+relationModifier.stem			= 2=101
+relationModifier.phonetic		= 2=100
+
+# Position attributes may be specified for anchored terms (those
+# beginning with "^", which is stripped) and unanchored (those not
+# beginning with "^").  This may change when we get a BIB-1 truncation
+# attribute that says "do what CQL does".
+#
+position.first				= 3=1 6=1
+	# "first in field"
+position.any				= 3=3 6=1
+	# "any position in field"
+position.last				= 3=4 6=1
+	# not a standard BIB-1 attribute
+position.firstAndLast			= 3=3 6=3
+	# search term is anchored to be complete field
+
+# Structure attributes may be specified for individual relations; a
+# default structure attribute my be specified by the pseudo-relation
+# "*", to be used whenever a relation not listed here occurs.
+#
+structure.exact				= 4=108
+	# string
+structure.all				= 4=2
+structure.any				= 4=2
+structure.*				= 4=1
+	# phrase
+
+# Truncation attributes used to implement CQL wildcard patterns.  The
+# simpler forms, left, right- and both-truncation will be used for the
+# simplest patterns, so that we produce PQF queries that conform more
+# closely to the Bath Profile.  However, when a more complex pattern
+# such as "foo*bar" is used, we fall back on Z39.58-style masking.
+#
+truncation.right			= 5=1
+truncation.left				= 5=2
+truncation.both				= 5=3
+truncation.none				= 5=100
+truncation.z3958			= 5=104
+
+# Finally, any additional attributes that should always be included
+# with each term can be specified in the "always" property.
+#
+always					= 6=1
+# 6=1: completeness = incomplete subfield
+
+
+# Bath Profile support, added Thu Dec 18 13:06:20 GMT 2003
+# See the Bath Profile for SRW at
+#	http://zing.z3950.org/cql/bath.html
+# including the Bath Context Set defined within that document.
+#
+# In this file, we only map index-names to BIB-1 use attributes, doing
+# so in accordance with the specifications of the Z39.50 Bath Profile,
+# and leaving the relations, wildcards, etc. to fend for themselves.
+
+index.bath.keyTitle			= 1=33
+index.bath.possessingInstitution	= 1=1044
+index.bath.name				= 1=1002
+index.bath.personalName			= 1=1
+index.bath.corporateName		= 1=2
+index.bath.conferenceName		= 1=3
+index.bath.uniformTitle			= 1=6
+index.bath.isbn				= 1=7
+index.bath.issn				= 1=8
+index.bath.geographicName		= 1=58
+index.bath.notes			= 1=63
+index.bath.topicalSubject		= 1=1079
+index.bath.genreForm			= 1=1075
+

Index: etc/zebra-authorities.cfg
===================================================================
RCS file: etc/zebra-authorities.cfg
diff -N etc/zebra-authorities.cfg
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ etc/zebra-authorities.cfg	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,39 @@
+# Simple Zebra configuration file that defines
+# a database with MARCXML records.
+# $Id: zebra-authorities.cfg,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+#
+# Where are the config files located?
+profilePath:${srcdir:-.}:/usr/share/idzebra/tab/:/koha/zebradb/biblios/tab
+encoding: UTF-8
+# Files that describe the attribute sets supported.
+attset: bib1.att
+attset: explain.att
+attset:gils.att
+
+systag sysno rank
+# Specify record type
+iso2709.recordType:grs.marcxml.record
+recordType:grs.xml
+recordId: (bib1,Identifier-standard)
+storeKeys:1
+storeData:1
+
+
+# Lock File Area
+lockDir: /koha/zebradb/biblios/lock
+perm.anonymous:r
+perm.kohaadmin:rw
+passw.kohalis
+#shadow
+register: /koha/zebradb/biblios/register:4G
+#shadow: e:/zebrashadow:1G 
+
+# Temp File area for result sets
+setTmpDir: /koha/zebradb/biblios/tmp
+
+# Temp File area for index program
+keyTmpDir: /koha/zebradb/biblios/key
+
+# Approx. Memory usage during indexing
+memMax: 40M
+rank:rank-1

Index: etc/zebra-authorities_unimarc.cfg
===================================================================
RCS file: etc/zebra-authorities_unimarc.cfg
diff -N etc/zebra-authorities_unimarc.cfg
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ etc/zebra-authorities_unimarc.cfg	23 Oct 2006 08:51:33 -0000	1.1.2.1
@@ -0,0 +1,43 @@
+# Simple Zebra configuration file that defines
+# a database with MARCXML records.
+# $Id: zebra-authorities_unimarc.cfg,v 1.1.2.1 2006/10/23 08:51:33 hdl Exp $
+#
+# Where are the config files located?
+profilePath:${srcdir:-.}:/home/hdl/Koha/Code/savannah/koha-2.3/zebra/authorities/tab/:/usr/local/share/idzebra-2.0/tab:${srcdir:-.}/tab/
+encoding: UTF-8
+
+modulePath: /usr/local/lib/idzebra-2.0/modules
+# Files that describe the attribute sets supported.
+attset: auth1.att
+attset: explain.att
+attset:gils.att
+
+systag sysno rank
+
+# Specify record type
+iso2709.recordType:grs.marcxml.record
+#record is the beginning of the *.abs file
+recordType:grs.xml
+recordId: (auth1,Local-Number)
+storeKeys:1
+storeData:1
+
+
+# Lock File Area
+lockDir: /home/hdl/Koha/Code/savannah/koha-2.3/zebra/authorities/lock
+perm.anonymous:r
+perm.kohaadmin:rw
+passw.kohalis
+shadow
+register: /home/hdl/Koha/Code/savannah/koha-2.3/zebra/authorities/register:4G
+shadow: /home/hdl/Koha/Code/savannah/koha-2.3/zebra/authorities/shadow:4G 
+
+# Temp File area for result sets
+setTmpDir: /home/hdl/Koha/Code/savannah/koha-2.3/zebra/authorities/tmp
+
+# Temp File area for index program
+keyTmpDir: /home/hdl/Koha/Code/savannah/koha-2.3/zebra/authorities/key
+
+# Approx. Memory usage during indexing
+memMax: 40M
+rank:rank-1

Index: etc/zebra-biblios.cfg
===================================================================
RCS file: etc/zebra-biblios.cfg
diff -N etc/zebra-biblios.cfg
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ etc/zebra-biblios.cfg	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,40 @@
+# Simple Zebra configuration file that defines
+# a database with MARCXML records.
+# $Id: zebra-biblios.cfg,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+#
+# Where are the config files located?
+profilePath:${srcdir:-.}:/usr/share/idzebra/tab/:/koha/zebradb/biblios/tab/:${srcdir:-.}/tab/
+
+encoding: UTF-8
+# Files that describe the attribute sets supported.
+attset: bib1.att
+attset: explain.att
+attset:gils.att
+
+systag sysno rank
+# Specify record type
+iso2709.recordType:grs.marcxml.record
+recordType:grs.xml
+recordId: (bib1,Identifier-standard)
+storeKeys:1
+storeData:1
+
+
+# Lock File Area
+lockDir: /koha/zebradb/biblios/lock
+perm.anonymous:r
+perm.kohaadmin:rw
+passw.kohalis
+shadow
+register: /koha/zebradb/biblios/register:4G
+shadow: /koha/zebradb/biblios/shadow:4G
+
+# Temp File area for result sets
+setTmpDir: /koha/zebradb/biblios/tmp
+
+# Temp File area for index program
+keyTmpDir: /koha/zebradb/biblios/key
+
+# Approx. Memory usage during indexing
+memMax: 40M
+rank:rank-1

Index: etc/zebra-biblios_unimarc.cfg
===================================================================
RCS file: etc/zebra-biblios_unimarc.cfg
diff -N etc/zebra-biblios_unimarc.cfg
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ etc/zebra-biblios_unimarc.cfg	23 Oct 2006 08:51:33 -0000	1.1.2.1
@@ -0,0 +1,41 @@
+# Simple Zebra configuration file that defines
+# a database with MARCXML records.
+# $Id: zebra-biblios_unimarc.cfg,v 1.1.2.1 2006/10/23 08:51:33 hdl Exp $
+#
+# Where are the config files located?
+profilePath:${srcdir:-.}:/home/hdl/Koha/Code/savannah/koha-2.3/zebra/biblios/tab/:/usr/local/share/idzebra-2.0/tab:${srcdir:-.}/tab/
+
+encoding: UTF-8
+# Files that describe the attribute sets supported.
+attset: bib1.att
+attset: explain.att
+attset:gils.att
+
+modulePath: /usr/local/lib/idzebra-2.0/modules
+systag sysno rank
+# Specify record type
+iso2709.recordType:grs.marcxml.record
+recordType:grs.xml
+recordId: (bib1,Local-Number)
+storeKeys:1
+storeData:1
+
+
+# Lock File Area
+lockDir: /home/hdl/Koha/Code/savannah/koha-2.3/zebra/biblios/lock
+perm.anonymous:r
+perm.kohaadmin:rw
+passw.kohalis
+shadow
+register: /home/hdl/Koha/Code/savannah/koha-2.3/zebra/biblios/register:4G
+shadow: /home/hdl/Koha/Code/savannah/koha-2.3/zebra/biblios/shadow:4G
+
+# Temp File area for result sets
+setTmpDir: /home/hdl/Koha/Code/savannah/koha-2.3/zebra/biblios/tmp
+
+# Temp File area for index program
+keyTmpDir: /home/hdl/Koha/Code/savannah/koha-2.3/zebra/biblios/key
+
+# Approx. Memory usage during indexing
+memMax: 40M
+rank:rank-1

Index: utils/biblio_framework.sql
===================================================================
RCS file: utils/biblio_framework.sql
diff -N utils/biblio_framework.sql
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ utils/biblio_framework.sql	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,6 @@
+alter table biblio add frameworkcode char(4);
+update biblio,marc_biblio set biblio.frameworkcode=marc_biblio.frameworkcode where marc_biblio.biblionumber=biblio.biblionumber;
+alter table biblioitems add marcxml text;
+alter table biblioitems add lcsort varchar(25);
+alter table items add onloan date;
+alter table items add Cutterextra varchar(45);

Index: utils/convert_to_utf8.pl
===================================================================
RCS file: utils/convert_to_utf8.pl
diff -N utils/convert_to_utf8.pl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ utils/convert_to_utf8.pl	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,23 @@
+#!/usr/bin/perl
+
+# small script to convert mysql tables to utf-8
+
+use C4::Context;
+use strict;
+
+my $dbh=C4::Context->dbh();
+
+my $database=C4::Context->config("database");
+my $query="Show tables";
+my $sth=$dbh->prepare($query);
+$sth->execute();
+while (my @table=$sth->fetchrow_array()){
+    print "Altering table $table[0]\n";
+    my $alter_query="ALTER TABLE $table[0] convert to CHARACTER SET UTF8 collate utf8_general_ci";
+    my $sth2=$dbh->prepare($alter_query);
+    $sth2->execute();
+    $sth2->finish();
+
+}
+$sth->finish();
+$dbh->disconnect();

Index: utils/export_Authorities.pl
===================================================================
RCS file: utils/export_Authorities.pl
diff -N utils/export_Authorities.pl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ utils/export_Authorities.pl	23 Oct 2006 08:51:33 -0000	1.1.2.1
@@ -0,0 +1,57 @@
+#!/usr/bin/perl
+use C4::Context;
+#use MARC::File::XML(BinaryEncoding=>"utf8");
+#use MARC::File::USMARC;
+use MARC::Record;
+use C4::AuthoritiesMarc;
+use POSIX;
+#MARC::File::XML::default_record_format("UNIMARCAUTH");
+my $dbh = C4::Context->dbh;
+my $rq= $dbh->prepare(qq|
+  SELECT authid,authtypecode
+  FROM auth_header
+  |);
+my $filename= shift @ARGV;
+$rq->execute;
+#ATTENTION : Mettre la base en utf8 auparavant.
+#BEWARE : Set database into utf8 before.
+#open FILEOUTPUT,">:utf8", "$filename" or die "unable to open $filename";
+while (my ($authid,$authtypecode)=$rq->fetchrow){
+  my $record=AUTHgetauthority($dbh,$authid);
+  if (! utf8::is_utf8($record)) {
+	  utf8::decode($record);
+  }
+  
+  if (C4::Context->preference('marcflavour') eq "UNIMARC"){
+	$record->leader('     nac  22     1u 4500');
+    my $string=$1 if $time=~m/([0-9\-]+)/;
+    $string=~s/\-//g;
+     $string = sprintf("%-*s",26, $string);
+     substr($string,9,6,"frey50");
+     unless ($record->subfield('100',"a")){
+       $record->insert_fields_ordered(MARC::Field->new('100',"","","a"=>$string));
+     }
+     if ($record->field('152')){
+       if ($record->subfield('152','b')){
+	} else {
+	     $record->field('152')->add_subfields("b"=>$authtypecode);
+	}
+     } else {
+	     $record->insert_fields_ordered(MARC::Field->new('152',"","","b"=>$authtypecode));
+     }
+     unless ($record->field('001')){
+       $record->insert_fields_ordered(MARC::Field->new('001',$authid));
+     }
+     
+     AUTHmodauthority($dbh,$authid,$record,1);
+   } else {
+    $record->encoding( 'UTF-8' );
+  }
+#  warn $record->as_usmarc;
+     # warn $record->as_formatted;
+     #   warn $record->as_usmarc;
+
+  print $record->as_usmarc();
+
+}
+close ;

Index: utils/export_Authorities_xml.pl
===================================================================
RCS file: utils/export_Authorities_xml.pl
diff -N utils/export_Authorities_xml.pl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ utils/export_Authorities_xml.pl	23 Oct 2006 08:51:33 -0000	1.1.2.1
@@ -0,0 +1,42 @@
+#!/usr/bin/perl
+use C4::Context;
+use MARC::File::XML(BinaryEncoding=>"utf8");
+use MARC::Record;
+use C4::AuthoritiesMarc;
+use POSIX;
+MARC::File::XML::default_record_format("UNIMARCAUTH");
+my $dbh = C4::Context->dbh;
+my $rq= $dbh->prepare(qq|
+  SELECT authid
+  FROM auth_header
+  |);
+my $filename= shift @ARGV;
+$rq->execute;
+#ATTENTION : Mettre la base en utf8 auparavant.
+#BEWARE : Set database into utf8 before.
+while (my ($authid)=$rq->fetchrow){
+open FILEOUTPUT,">:utf8", "./$filename/$authid.xml" or die "unable to open $filename";
+  my $record=AUTHgetauthority($dbh,$authid);
+  if (! utf8::is_utf8($record)) {
+    utf8::decode($record);
+  }
+			
+#  if (C4::Context->preference('marcflavour') eq "UNIMARC"){
+	$record->leader('     nac  22     1u 4500');
+    my $string=$1 if $time=~m/([0-9\-]+)/;
+    $string=~s/\-//g;
+     $string = sprintf("%-*s",26, $string);
+     substr($string,9,6,"frey50");
+     unless ($record->subfield(100,"a")){
+       $record->insert_fields_ordered(MARC::Field->new(100,"","","a"=>$string));
+     }
+     unless ($record->subfield('001')){
+       $record->insert_fields_ordered(MARC::Field->new('001',$authid));
+     }
+     # } else {
+#    $record->encoding( 'UTF-8' );
+#  }
+  print FILEOUTPUT $record->as_xml();
+close FILEOUPUT;
+
+}

Index: utils/missing090field.pl
===================================================================
RCS file: utils/missing090field.pl
diff -N utils/missing090field.pl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ utils/missing090field.pl	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,51 @@
+#!/usr/bin/perl
+# This script finds and fixes missing 090 fields in Koha for MARC21
+#  Written by TG on 01/10/2005
+#  Revised by Joshua Ferraro on 03/31/2006
+use strict;
+
+# Koha modules used
+
+use C4::Context;
+use C4::Biblio;
+use MARC::Record;
+use MARC::File::USMARC;
+
+
+my $dbh = C4::Context->dbh;
+
+my $sth=$dbh->prepare("select m.biblionumber,b.biblioitemnumber from marc_biblio m left join biblioitems b on b.biblionumber=m.biblionumber");
+	$sth->execute();
+
+while (my ($biblionumber,$biblioitemnumber)=$sth->fetchrow ){
+ my $record = MARCgetbiblio($dbh,$biblionumber);
+    print "$biblionumber \n";	
+ 
+		MARCmodbiblionumber($biblionumber,$biblioitemnumber,$record);
+		
+}
+
+sub MARCmodbiblionumber{
+my ($biblionumber,$biblioitemnumber,$record)=@_;
+
+my ($tagfield,$biblionumtagsubfield) = &MARCfind_marc_from_kohafield($dbh,"biblio.biblionumber","");
+my ($tagfield2,$biblioitemtagsubfield) = &MARCfind_marc_from_kohafield($dbh,"biblio.biblioitemnumber","");
+	
+my $update=0;
+      my @tags = $record->field($tagfield);
+
+if (!@tags){
+         
+my $newrec = MARC::Field->new( $tagfield,'','', $biblionumtagsubfield => $biblionumber,$biblioitemtagsubfield=>$biblioitemnumber);
+    $record->append_fields($newrec);
+ $update=1;
+	} 	
+
+ 
+if ($update){	
+&MARCmodbiblio($dbh,$biblionumber,$record,'',0);
+	print "$biblionumber \n";	
+	}
+
+}
+END;

Index: utils/move_marc_to_authheader.pl
===================================================================
RCS file: utils/move_marc_to_authheader.pl
diff -N utils/move_marc_to_authheader.pl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ utils/move_marc_to_authheader.pl	23 Oct 2006 08:51:33 -0000	1.1.2.1
@@ -0,0 +1,59 @@
+#!/usr/bin/perl
+
+# script to shift marc to biblioitems
+# scraped from updatedatabase for dev week by chris at katipo.co.nz
+
+use C4::Context;
+use C4::AuthoritiesMarc;
+use MARC::Record;
+use MARC::File::XML ( BinaryEncoding => 'utf8' );
+
+print "moving MARC record to biblioitems table\n";
+
+my $dbh = C4::Context->dbh();
+# changing marc field type
+$dbh->do('ALTER TABLE auth_header CHANGE marc marc BLOB NULL DEFAULT NULL ');
+
+# adding marc xml, just for convenience
+$dbh->do(
+'ALTER TABLE auth_header ADD marcxml TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL '
+);
+
+# moving data from marc_subfield_value to biblio
+$sth = $dbh->prepare('select authid from auth_header');
+$sth->execute;
+my $sth_update =
+  $dbh->prepare(
+    'update auth_header set marc=?,marcxml=? where authid=?');
+my $totaldone = 0;
+while ( my ( $authid) = $sth->fetchrow ) {
+    my $record = AUTHgetauthority( $dbh, $authid );
+    $record->leader('     nac  22     1u 4500');
+    my $string=$1 if $time=~m/([0-9\-]+)/;
+    $string=~s/\-//g;
+    $string = sprintf("%-*s",26, $string);
+    substr($string,9,6,"frey50");
+    unless ($record->subfield(100,"a")){
+      $record->insert_fields_ordered(MARC::Field->new(100,"","","a"=>$string));
+    }
+    if ($record->field(152)){
+      if ($record->subfield('152','b')){
+      } else {
+        $record->field('152')->add_subfields("b"=>$authtypecode);
+      }
+    } else {
+      $record->insert_fields_ordered(MARC::Field->new(152,"","","b"=>$authtypecode));
+    }
+    unless ($record->field('001')){
+      $record->insert_fields_ordered(MARC::Field->new('001',$authid));
+    }
+																						
+
+    #Force UTF-8 in record leaded
+    $record->encoding('UTF-8');
+    $sth_update->execute( $record->as_usmarc(),$record->as_xml("UNIMARCAUTH"),
+        $authid );
+    $totaldone++;
+    print "\r$totaldone / $totaltodo" unless ( $totaldone % 100 );
+}
+print "\rdone\n";

Index: utils/move_marc_to_biblioitems.pl
===================================================================
RCS file: utils/move_marc_to_biblioitems.pl
diff -N utils/move_marc_to_biblioitems.pl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ utils/move_marc_to_biblioitems.pl	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,39 @@
+#!/usr/bin/perl
+
+# script to shift marc to biblioitems
+# scraped from updatedatabase for dev week by chris at katipo.co.nz
+
+use C4::Context;
+use C4::Biblio;
+use MARC::Record;
+use MARC::File::XML ( BinaryEncoding => 'utf8' );
+
+print "moving MARC record to biblioitems table\n";
+
+my $dbh = C4::Context->dbh();
+# changing marc field type
+$dbh->do('ALTER TABLE biblioitems CHANGE marc marc BLOB NULL DEFAULT NULL ');
+
+# adding marc xml, just for convenience
+$dbh->do(
+'ALTER TABLE biblioitems ADD marcxml TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL '
+);
+
+# moving data from marc_subfield_value to biblio
+$sth = $dbh->prepare('select bibid,biblionumber from marc_biblio');
+$sth->execute;
+my $sth_update =
+  $dbh->prepare(
+    'update biblioitems set marc=? where biblionumber=?');
+my $totaldone = 0;
+while ( my ( $bibid, $biblionumber ) = $sth->fetchrow ) {
+    my $record = MARCgetbiblio( $dbh, $bibid );
+
+    #Force UTF-8 in record leader
+    $record->encoding('UTF-8');
+    $sth_update->execute( $record->as_usmarc(),
+        $biblionumber );
+    $totaldone++;
+    print "\r$totaldone / $totaltodo" unless ( $totaldone % 100 );
+}
+print "\rdone\n";

Index: utils/phrase_log.sql
===================================================================
RCS file: utils/phrase_log.sql
diff -N utils/phrase_log.sql
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ utils/phrase_log.sql	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,49 @@
+-- MySQL Administrator dump 1.4
+--
+-- ------------------------------------------------------
+-- Server version	4.1.15-nt
+
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+
+
+--
+-- Create schema koha
+--
+
+--
+-- Table structure for table `koha`.`phrase_log`
+--
+
+DROP TABLE IF EXISTS `phrase_log`;
+CREATE TABLE `phrase_log` (
+  `phr_phrase` varchar(100) NOT NULL default '',
+  `phr_resultcount` int(11) NOT NULL default '0',
+  `phr_ip` varchar(30) NOT NULL default '',
+  `user` varchar(45) default NULL,
+  `date` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
+  `actual` text NOT NULL,
+  KEY `phr_ip` (`phr_ip`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `koha`.`phrase_log`
+--
+
+/*!40000 ALTER TABLE `phrase_log` DISABLE KEYS */;
+/*!40000 ALTER TABLE `phrase_log` ENABLE KEYS */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

Index: zebradb/authorities/tab/auth1.att
===================================================================
RCS file: zebradb/authorities/tab/auth1.att
diff -N zebradb/authorities/tab/auth1.att
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/authorities/tab/auth1.att	23 Oct 2006 08:51:33 -0000	1.1.2.1
@@ -0,0 +1,173 @@
+# $Id: auth1.att,v 1.1.2.1 2006/10/23 08:51:33 hdl Exp $
+# auth1 Attribute Set
+name auth1
+reference Bib-1
+include bib1.att
+include gils.att
+
+
+# Koha Specific Stuff
+
+att 8900			Call-Number
+att 8800			date-entered-on-file
+att 8801			date1
+att 8802			date2
+att 8805			language
+att 8822			ff8-22
+att 8833			ff8-33
+att 8834			ff8-34
+
+att 8700			ff7-00
+att 8701			ff7-01
+att 8702			ff7-02
+
+######################################################################
+######################################################################
+#Authorities
+######################################################################
+######################################################################
+
+#######################################
+#Coded Entries
+#######################################
+
+#used in $5 for relationships
+#Coded field
+
+att 9200               Auth-RelationShip
+
+#used in $2 should contain authtypecode if authority is an other type
+#Coded field
+att 9210               Auth-Internal-authtype
+
+#used in $3 should contain authid if authority is an other type
+#Coded field
+att 9220               Auth-Internal-LN
+
+#used in $7 should contain Script language 
+#Coded field (Greek, and other alphabets)
+att 9230               Auth-Script
+
+#used in $8 should contain Entity language 
+#Coded field (Greek, and other alphabets)
+att 9240               Auth-Language
+
+#BUGFIX ??
+# Maybe there could be a problem to define so few types.
+# We could have MANY undesired results not to have a specialization by Authtype
+# It can be added
+
+#used in $2 should contain authtypecode if authority is an other type
+#Coded field
+#Can be found also by Authority/format-id
+att 9250               Koha-Authtype
+
+
+######################################################
+# Global search (Any AuthorityType)
+######################################################
+att 9001               Heading
+att 9002               See
+att 9003               See-also
+att 9004               Parallel
+att 9005               Heading-entity
+att 9006               See-Entity
+att 9007               See-also-Entity
+att 9008               Parallel-Entity
+#att 9009               Subject-heading is already defined
+#att 9000               Name-geographic
+
+######################################################
+# Main Entries
+######################################################
+
+att 9011               Personal-heading
+att 9012               Corporate-heading
+att 9013               Conference-heading
+att 9014               Place-heading
+att 9015               Trademark-heading
+att 9016               Title-uniform
+att 9017               Collective-Title-uniform
+att 9018               Place-Access
+#att 9019               Subject-heading is already defined
+#att 9010               Name-geographic
+
+att 9021               Personal-see
+att 9022               Corporate-see
+att 9023               Conference-see
+att 9024               Place-see
+att 9025               Trademark-see
+att 9026               Title-uniform-see
+att 9027               Collective-Title-uniform-see
+att 9028               Place-Access-see
+att 9029               Subject-see
+att 9020               Name-geographic-see
+
+att 9031               Personal-see-also
+att 9032               Corporate-see-also
+att 9033               Conference-see-also
+att 9034               Place-see-also
+att 9035               Trademark-see-also
+att 9036               Title-uniform-see-also
+att 9037               Collective-Title-uniform-see-also
+att 9038               Place-Access-see-also
+att 9039               Subject-see-also
+att 9030               Name-geographic-see-also
+
+att 9041               Personal-parallel
+att 9042               Corporate-parallel
+att 9043               Conference-parallel
+att 9044               Place-parallel
+att 9045               Trademark-parallel
+att 9046               Title-uniform-parallel
+att 9047               Collective-Title-uniform-parallel
+att 9048               Place-Access-parallel
+att 9049               Subject-parallel
+att 9040               Name-geographic-parallel
+
+
+######################################
+#Whole record
+######################################
+att 9101               Personal-heading-entity
+att 9102               Corporate-heading-entity
+att 9103               Conference-heading-entity
+att 9104               Place-heading-entity
+att 9105               Trademark-heading-entity
+att 9106               Title-uniform-entity
+att 9107               Collective-Title-uniform-entity
+att 9108               Place-Access-entity
+att 9109               Subject-heading-entity
+att 9130               Name-geographic-entity
+
+att 9111               Personal-see-entity
+att 9112               Corporate-see-entity
+att 9113               Conference-see-entity
+att 9114               Place-see-entity
+att 9115               Trademark-see-entity
+att 9116               Title-see-entity
+att 9117               Collective-Title-uniform-see-entity
+att 9118               Place-Access-see-entity
+att 9119               Subject-see-entity
+
+att 9121               Personal-see-also-entity
+att 9122               Corporate-see-also-entity
+att 9123               Conference-see-also-entity
+att 9124               Place-see-also-entity
+att 9125               Trademark-see-also-entity
+att 9126               Title-see-also-entity
+att 9127               Collective-Title-uniform-see-also-entity
+att 9128               Place-Access-see-also-entity
+att 9129               Subject-see-also-entity
+
+att 9131               Personal-parallel-entity
+att 9132               Corporate-parallel-entity
+att 9133               Conference-parallel-entity
+att 9134               Place-parallel-entity
+att 9135               Trademark-parallel-entity
+att 9136               Title-parallel-entity
+att 9137               Collective-Title-uniform-parallel-entity
+att 9138               Place-Access-parallel-entity
+att 9139               Subject-parallel-entity
+
+

Index: zebradb/authorities/tab/default.idx
===================================================================
RCS file: zebradb/authorities/tab/default.idx
diff -N zebradb/authorities/tab/default.idx
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/authorities/tab/default.idx	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,56 @@
+# Zebra indexes as referred to from the *.abs-files.
+#  $Id: default.idx,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+#
+
+# Traditional word index
+# Used if completenss is 'incomplete field' (@attr 6=1) and
+# structure is word/phrase/word-list/free-form-text/document-text
+index w
+completeness 0
+position 1
+charmap word-phrase-utf.chr
+
+# Phrase index
+# Used if completeness is 'complete {sub}field' (@attr 6=2, @attr 6=1)
+# and structure is word/phrase/word-list/free-form-text/document-text
+index p
+completeness 1
+charmap word-phrase-utf.chr
+
+# URX (URL) index
+# Used if structure=urx (@attr 4=104)
+index u
+completeness 0
+charmap urx.chr
+
+# Numeric index
+# Used if structure=numeric (@attr 4=109)
+index n
+completeness 0
+charmap numeric.chr
+
+# Null map index (no mapping at all)
+# Used if structure=key (@attr 4=3)
+index 0
+completeness 0
+position 1
+charmap @
+
+# Year
+# Used if structure=year (@attr 4=4)
+index y
+completeness 0
+charmap @
+
+# Date
+# Used if structure=date (@attr 4=5)
+index d
+completeness 0
+charmap @
+
+# Sort register
+sort s
+completeness 1
+charmap sort-string-utf.chr
+
+

Index: zebradb/authorities/tab/kohalis
===================================================================
RCS file: zebradb/authorities/tab/kohalis
diff -N zebradb/authorities/tab/kohalis
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/authorities/tab/kohalis	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1 @@
+kohaadmin:K0h4R0ck$

Index: zebradb/authorities/tab/record.abs
===================================================================
RCS file: zebradb/authorities/tab/record.abs
diff -N zebradb/authorities/tab/record.abs
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/authorities/tab/record.abs	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,118 @@
+# $Id: record.abs,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+
+# This is a fairly simple example of a set of MARC21 indexing rules. It
+# results in a server which provides a passable Bath level 0 and 1 service
+# (author, title, subject, keyword and exact services). Feel free to
+# elaborate on it, and if you do, please consider sharing your additions.
+# NOTE: This is designed to be used with the grs.marcxml input filter
+# for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
+# won't work for the old grs.marc input filter, which yields a different
+# internal structure.
+encoding utf-8
+name marc21
+attset bib1.att
+attset gils.att
+esetname F @
+esetname B @
+
+marc usmarc.mar
+systag sysno rank
+xpath disable
+
+all any
+melm 008		date-entered-on-file:n:range(data,0,6),date-entered-on-file:s:range(data,0,6),date1:n:range(data,7,4),date1:s:range(data,7,4),date2:n:range(data,11,4),date2:s:range(data,11,4),ff8-22:w:range(data,22,1),language:w:range(data,35,3),ff8-33:w:range(data,33,1),ff8-34:w:range(data,34,1)
+
+melm 007		ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1)
+
+melm 082		Dewey-classification:w,Dewey-classification:s
+melm 020$a		ISBN:w
+melm 022$a		ISSN:w,ISBN:w
+melm 050$b		LC-call-number:s
+melm 050		LC-call-number
+melm 942$k		LC-card-number:s
+melm 090$c		Identifier-standard:w
+melm 100$9		Cross-Reference	!:w
+melm 100$a		author,author:p,author:s
+melm 100		author
+melm 110		author
+melm 111		author
+melm 130		title
+melm 240		title,title:p
+melm 242		title,title:p
+melm 243		title,title:p
+melm 245$a		title:w,title:p,title:s
+melm 245$c		author
+melm 245		title,title:p
+melm 246		title,title:p
+melm 247		title,title:p
+melm 260$a		Place-publication	!:w,!:p
+melm 260$b		Publisher		!:w,!:p
+melm 260$c		Date,Date:s,		!:y
+
+melm 260		Place-publication	
+melm 400$t		title,author
+melm 400		author
+melm 410$t		title,author
+melm 410		author
+melm 411$t		title,author
+melm 411		author
+melm 440$a		Title-series		!:w,!:p
+melm 440		Title-series		!:w,!:p
+melm 490$a		Title-series		!:w,!:p
+melm 490		title
+
+melm 505		Note	!:w,!:p
+
+melm 600$t		title
+melm 600		subject-heading,subject-heading:p
+melm 610$t		title
+melm 610		subject-heading
+melm 611$t		title
+melm 611		subject-heading
+melm 630		subject-heading
+melm 650$9		Controlled-Subject-Index	
+melm 650		subject-heading,subject-heading:p
+melm 651$9		Controlled-Subject-Index	
+melm 651		subject-heading,subject-heading:p
+melm 652$9		Controlled-Subject-Index	
+melm 652		subject-heading,subject-heading:p
+melm 653$9		Controlled-Subject-Index	
+melm 653		subject-heading,subject-heading:p
+melm 654$9		Controlled-Subject-Index	
+melm 654		subject-heading
+melm 655$9		Controlled-Subject-Index	
+melm 655		subject-heading
+melm 656$9		Controlled-Subject-Index	
+melm 656		subject-heading
+melm 657$9		Controlled-Subject-Index	
+melm 657		subject-heading
+melm 690$9		Controlled-Subject-Index	
+melm 690		subject-heading
+
+melm 700$9		Cross-Reference
+melm 700$t		title,author
+melm 700$a		author,author:p
+melm 700		author
+melm 710$t		title,author
+melm 710$a		author,author:p
+melm 710		author
+melm 711$t		title,author
+melm 711		author
+melm 730		title
+melm 740		title
+melm 800$t		title,author
+melm 800		author
+melm 810$t		title,author
+melm 810		author
+melm 811$t		title,author
+melm 811		author
+melm 830		title
+
+melm 942$c      Material-type
+#melm 942$k		Call-Number
+melm 952$a		Local-classification
+melm 952$b		Record-source
+melm 952$d		Host-item
+melm 952$p		Stock-number
+melm 952$v		Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
+melm 952		Local-classification

Index: zebradb/authorities/tab/record_unimarc.abs
===================================================================
RCS file: zebradb/authorities/tab/record_unimarc.abs
diff -N zebradb/authorities/tab/record_unimarc.abs
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/authorities/tab/record_unimarc.abs	23 Oct 2006 08:51:33 -0000	1.1.2.1
@@ -0,0 +1,184 @@
+# $Id: record_unimarc.abs,v 1.1.2.1 2006/10/23 08:51:33 hdl Exp $
+
+# indexing rules. It
+# results in a server which provides a passable Bath level 0 and 1 service
+############################################################################
+# IMPORTANT : this file MUST be renamed record.abs : this name is "hardcoded" in zebra
+# the default record.abs is designed for MARC21.
+############################################################################
+# NOTE: This is designed to be used with the grs.marcxml input filter
+# for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
+# won't work for the old grs.marc input filter, which yields a different
+# internal structure.
+
+encoding utf-8
+name authorities
+attset auth1.att
+esetname F @
+esetname B @
+
+marc usmarc.mar
+systag sysno rank
+xpath disable
+
+all any
+melm 001		Local-Number
+melm 152$b		Authority/format-id
+#melm 005        Version-id
+#melm 015        IASDN
+
+
+########################
+# Coded fields
+########################
+#melm 100$a      date-entered-on-file:n:range(data,0,8),date-entered-on-file:s:range(data,0,8),auth-status:n:range(data,8,1),auth-status:s:range(data,8,1),language:n:range(data,9,3),language:s:range(data,9,3),char-encoding:w:range(data,13,4),char-encoding:s:range(data,13,4),ff100-17:w:range(data,17,3),ff100-21:w:range(data,21,2),ff100-23:w:range(data,23,1)
+
+#melm 101$a     Language
+#melm 102$a     Country-heading
+# Subject-Heading
+#melm 106$a     Vaut 0(inutilisable sujet-matiere),1 (utilisable sujet-matiere)ou 2(utilisable uniquement sujet-matiere)
+#melm 120$a Obligatoire sur Autorite NP : Sexe et discrimination
+#melm 123$a Obligatoire sur Autorite GEO : Localisation
+#melm 150$a Obligatoire sur Autorite CO : Type de collectivite
+# 4XX$3 5XX$3 7XX$3 authority number
+# 4XX$5 5XX$5 7XX$5 Linking type
+# 4XX$7 5XX$7 7XX$7 Script Cataloguing
+# 4XX$8 5XX$8 7XX$8 Language
+
+
+############ HEADINGS ##################
+melm 200$a Heading,Heading:w,Heading:p,Heading:s, personal-heading,personal-heading:w,personal-heading:s,personal-heading:p
+melm 210$a Heading,Heading:w,Heading:p,Heading:s,corporate-heading
+melm 210$a Heading,Heading:w,Heading:p,Heading:s,Conference-heading
+melm 215$a Heading,Heading:w,Heading:p,Heading:s,Name-geographic
+#melm 216 Name-corporate
+melm 220$a Heading,Heading:w,Heading:p,Heading:s,personal-heading,personal-heading:w,personal-heading:s,personal-heading:p
+melm 230$a Heading,Heading:w,Heading:p,Heading:s,Title-Uniform,Title-Uniform:w,Title-Uniform:s,Title-Uniform:p
+melm 235$a Heading,Heading:w,Heading:p,Heading:s,Title-Uniform,Title-Uniform:w,Title-Uniform:s,Title-Uniform:p
+melm 250$a Heading,Heading:w,Heading:p,Heading:s,Subject-heading, Subject-heading:w,Subject-heading:s,Subject-heading:p
+
+melm 200 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s, personal-Heading-Entity,personal-Heading-Entity:w,personal-Heading-Entity:s,personal-Heading-Entity:p
+melm 210 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,corporate-Heading-Entity
+melm 210 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Conference-Heading-Entity
+melm 215 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Name-geographic-Entity
+#melm 216 Name-corporate
+melm 220 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,personal-Heading-Entity,personal-Heading-Entity:w,personal-Heading-Entity:s,personal-Heading-Entity:p
+melm 230 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Title-Uniform-entity,Title-Uniform-entity:w,Title-Uniform:s,Title-Uniform-entity:p
+melm 235 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Title-Uniform-entity,Title-Uniform-entity:w,Title-Uniform:s,Title-Uniform-entity:p
+melm 250   Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Subject-Thesaurus
+
+#210 Heading - Corporate Body Name
+#215 Heading - Territorial or Geographical Name
+#216 Heading - Trademark
+#220 Heading - Family Name
+#230 Heading - Uniform Title
+#235 Heading - Collective Uniform Title
+#240 Heading - Name/Title
+#245 Heading - Name/Collective Uniform Title
+#250 Heading - Topical Subject
+#260 Heading - Place Access
+#280 Heading - Form, Genre or Physical Characteristics
+#melm 712		Author,Author:p,Author:s
+
+############ Rejected forms ##################
+melm 400$a See, See:w,See:p,See:s,personal-see,personal-see:w,personal-see:s,personal-see:p
+melm 410$a See, See:w,See:p,See:s,corporate-see
+melm 410$a See, See:w,See:p,See:s,Conference-see
+melm 415$a See, See:w,See:p,See:s,Name-geographic-see
+#melm 416 Name-corporate
+melm 440$a See, See:w,See:p,See:s,personal-see,personal-see:w,personal-see:s,personal-see:p
+melm 430$a See, See:w,See:p,See:s,Title-Uniform-see,Title-Uniform-see:w,Title-Uniform-see:s,Title-Uniform-see:p
+melm 435$a See, See:w,See:p,See:s,Title-Uniform-see,Title-Uniform-see:w,Title-Uniform-see:s,Title-Uniform-see:p
+melm 450$a See, See:w,See:p,See:s,Subject-see,Subject-see:w,Subject-see:s,Subject-see,:p
+melm 400 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,personal-See-Entity,personal-See-Entity:w,personal-See-Entity:s,personal-See-Entity:p
+melm 410 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,corporate-See-Entity
+melm 410 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Conference-See-Entity
+melm 415 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Name-geographic-See-Entity
+#melm 416 Name-corporate
+melm 440 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,personal-See-Entity,personal-See-Entity:w,personal-See-Entity:s,personal-See-Entity:p
+melm 430 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Title-Uniform-See-Entity,Title-Uniform-See-Entity:w,Title-Uniform-See-Entity:s,Title-Uniform-See-Entity:p
+melm 435 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Title-Uniform-See-Entity,Title-Uniform-See-Entity:w,Title-Uniform-See-Entity:s,Title-Uniform-See-Entity:p
+melm 450 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Subject-See-Entity,Subject-See-Entity:w,Subject-See-Entity:s,Subject-See-Entity,:p
+
+#410 Heading - Corporate Body Name
+#415 Heading - Territorial or Geographical Name
+#416 Heading - Trademark
+#440 Heading - Family Name
+#430 Heading - Uniform Title
+#435 Heading - Collective Uniform Title
+#440 Heading - Name/Title
+#445 Heading - Name/Collective Uniform Title
+#450 Heading - Topical Subject
+#460 Heading - Place Access
+#480 Heading - Form, Genre or Physical Characteristics
+#melm 714		Author,Author:p,Author:s
+
+############ Related forms ##################
+melm 500$a personal-see-also,personal-see-also:w,personal-see-also:s,personal-see-also:p
+melm 510$a corporate-see-also
+melm 510$a Conference-see-also
+melm 515$a Name-geographic-see-also
+#melm 416 Name-corporate
+melm 540$a personal-see-also,personal-see-also:w,personal-see-also:s,personal-see-also:p
+melm 530$a Title-Uniform-see-also,Title-Uniform-see-also:w,Title-Uniform-see-also:s,Title-Uniform-see-also:p
+melm 535$a Title-Uniform-see-also,Title-Uniform-see-also:w,Title-Uniform-see-also:s,Title-Uniform-see-also:p
+melm 550$a Subject-see-also,Subject-see-also:w,Subject-see-also:s,Subject-see-also:p
+#510 Heading - Corporate Body Name
+#515 Heading - Territorial or Geographical Name
+#516 Heading - Trademark
+#550 Heading - Family Name
+#530 Heading - Uniform Title
+#535 Heading - Collective Uniform Title
+#540 Heading - Name/Title
+#545 Heading - Name/Collective Uniform Title
+#550 Heading - Topical Subject
+#560 Heading - Place Access
+#580 Heading - Form, Genre or Physical Characteristics
+#melm 714		Author,Author:p,Author:s
+
+############ Parallel forms ##################
+melm 700$a personal-parallel,personal-parallel:w,personal-parallel:s,personal-parallel:p
+melm 710$a corporate-parallel
+melm 710$a Conference-parallel
+melm 715$a Name-geographic-parallel
+#melm 716 Name-corporate
+melm 770$a personal-parallel,personal-parallel:w,personal-parallel:s,personal-parallel:p
+melm 730$a Title-Uniform-parallel,Title-Uniform-parallel:w,Title-Uniform-parallel:s,Title-Uniform-parallel:p
+melm 735$a Title-Uniform-parallel,Title-Uniform-parallel:w,Title-Uniform-parallel:s,Title-Uniform-parallel:p
+melm 750$a Subject-parallel,Subject-parallel:w,Subject-parallel:s,Subject-parallel:p
+
+########## NOTES #################
+melm 300$a		Note	!:w,!:p
+melm 301$a		Note	!:w,!:p
+melm 302$a		Note	!:w,!:p
+melm 303$a		Note	!:w,!:p
+melm 304$a		Note	!:w,!:p
+melm 305$a		Note	!:w,!:p
+melm 306$a		Note	!:w,!:p
+melm 307$a		Note	!:w,!:p
+melm 308$a		Note	!:w,!:p
+melm 310$a		Note	!:w,!:p
+melm 311$a		Note	!:w,!:p
+melm 312$a		Note	!:w,!:p
+melm 313$a		Note	!:w,!:p
+melm 314$a		Note	!:w,!:p
+melm 315$a		Note	!:w,!:p
+melm 316$a		Note	!:w,!:p
+melm 317$a		Note	!:w,!:p
+melm 318$a		Note	!:w,!:p
+melm 320$a		Note	!:w,!:p
+melm 321$a		Note	!:w,!:p
+melm 322$a		Note	!:w,!:p
+melm 323$a		Note	!:w,!:p
+melm 324$a		Note	!:w,!:p
+melm 325$a		Note	!:w,!:p
+melm 326$a		Note	!:w,!:p
+melm 327$a		Note	!:w,!:p
+melm 328$a		Note	!:w,!:p
+melm 330$a		Note	!:w,!:p
+melm 332$a		Note	!:w,!:p
+melm 333$a		Note	!:w,!:p
+melm 336$a		Note	!:w,!:p
+melm 337$a		Note	!:w,!:p
+melm 345$a		Note	!:w,!:p
+

Index: zebradb/authorities/tab/sort-string-utf.chr
===================================================================
RCS file: zebradb/authorities/tab/sort-string-utf.chr
diff -N zebradb/authorities/tab/sort-string-utf.chr
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/authorities/tab/sort-string-utf.chr	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,48 @@
+# Generic character map.
+#
+# $Id: sort-string-utf.chr,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+
+# Define the basic value-set. *Beware* of changing this without re-indexing
+# your databases.
+lowercase {0-9}{a-y}üzæäøöå
+uppercase {0-9}{A-Y}ÜZÆÄØÖÅ
+
+# Breaking characters
+
+space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~
+
+# Characters to be considered equivalent for searching purposes.
+
+# equivalent æä(ae)
+# equivalent øö(oe)
+# equivalent å(aa)
+# equivalent uü
+
+# Supplemental mappings
+
+#map (&auml;)       ä
+#map (&aelig;)      æ
+#map (&oslash;)     ø
+#map (&aring;)      å
+#map (&ouml;)       ö
+#map (&Auml;)       Ä
+#map (&Aelig;)      Æ
+#map (&Oslash;)     Ø
+#map (&Aring;)      Å
+#map (&Ouml;)       Ö
+
+#map éÉ		e
+#map á		a
+#map ó		o
+#map í		i
+
+#map (Aa)	(AA)
+
+#map (aa)        a
+map (^The\s)    @
+map (^the\s)    @
+map (^a\s)      @
+map (^A\s)      @
+map (^An\s)     @
+map (^an\s)     @
+

Index: zebradb/authorities/tab/word-phrase-utf.chr
===================================================================
RCS file: zebradb/authorities/tab/word-phrase-utf.chr
diff -N zebradb/authorities/tab/word-phrase-utf.chr
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/authorities/tab/word-phrase-utf.chr	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,41 @@
+# Generic character map.
+#
+# $Id: word-phrase-utf.chr,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+
+# Define the basic value-set. *Beware* of changing this without re-indexing
+# your databases.
+lowercase {0-9}{a-y}üzæäøöå
+uppercase {0-9}{A-Y}ÜZÆÄØÖÅ
+
+# Breaking characters
+
+space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~
+
+# Characters to be considered equivalent for searching purposes.
+
+# equivalent æä(ae)
+# equivalent øö(oe)
+# equivalent å(aa)
+# equivalent uü
+
+# Supplemental mappings
+
+#map (&auml;)       ä
+#map (&aelig;)      æ
+#map (&oslash;)     ø
+#map (&aring;)      å
+#map (&ouml;)       ö
+#map (&Auml;)       Ä
+#map (&Aelig;)      Æ
+#map (&Oslash;)     Ø
+#map (&Aring;)      Å
+#map (&Ouml;)       Ö
+
+#map éÉ		e
+#map á		a
+#map ó		o
+#map í		i
+
+#map (Aa)	(AA)
+
+#map (aa)        a

Index: zebradb/biblios/tab/bib1.att
===================================================================
RCS file: zebradb/biblios/tab/bib1.att
diff -N zebradb/biblios/tab/bib1.att
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/biblios/tab/bib1.att	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,120 @@
+# $Id: bib1.att,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+# Bib-1 Attribute Set
+name bib1
+reference Bib-1
+
+att 1               Personal-name
+att 2               Corporate-name
+att 3               Conference-name
+att 4               Title
+att 5               Title-series
+att 6               Title-uniform
+att 7               ISBN
+att 8               ISSN
+att 9               LC-card-number
+att 10              BNB-card-number
+att 11              BGF-number
+att 12              Local-number
+att 13              Dewey-classification
+att 14              UDC-classification
+att 15              Bliss-classification
+att 16              LC-call-number
+att 17              NLM-call-number
+att 18              NAL-call-number
+att 19              MOS-call-number
+att 20              Local-classification
+att 21              Subject-heading
+att 22              Subject-Rameau
+att 23              BDI-index-subject
+att 24              INSPEC-subject
+att 25              MESH-subject
+att 26              PA-subject
+att 27              LC-subject-heading
+att 28              RVM-subject-heading
+att 29              Local-subject-index
+att 30              Date
+att 31              Date-of-publication
+att 32              Date-of-acquisition
+att 33              Title-key
+att 34              Title-collective
+att 35              Title-parallel
+att 36              Title-cover
+att 37              Title-added-title-page
+att 38              Title-caption
+att 39              Title-running
+att 40              Title-spine
+att 41              Title-other-variant
+att 42              Title-former
+att 43              Title-abbreviated
+att 44              Title-expanded
+att 45              Subject-precis
+att 46              Subject-rswk
+att 47              Subject-subdivision
+att 48              Number-natl-biblio
+att 49              Number-legal-deposit
+att 50              Number-govt-pub
+att 51              Number-music-publisher
+att 52              Number-db
+att 53              Number-local-call
+att 54              Code-language
+att 55              Code-geographic
+att 56              Code-institution
+att 57              Name-and-title
+att 58              Name-geographic
+att 59              Place-publication
+att 60              CODEN
+att 61              Microform-generation
+att 62              Abstract
+att 63              Note
+att 1000            Author-title
+att 1001            Record-type
+att 1002            Name
+att 1003            Author
+att 1004            Author-name-personal
+att 1005            Author-name-corporate
+att 1006            Author-name-conference
+att 1007            Identifier-standard
+att 1008            Subject-LC-childrens
+att 1009            Subject-name-personal
+att 1010            Body-of-text
+att 1011            Date/time-added-to-db
+att 1012            Date/time-last-modified
+att 1013            Authority/format-id
+att 1014            Concept-text
+att 1015            Concept-reference
+att 1016            Any 		1016,4,1005,62
+att 1017            Server-choice
+att 1018            Publisher
+att 1019            Record-source
+att 1020            Editor
+att 1021            Bib-level
+att 1022            Geographic-class
+att 1023            Indexed-by
+att 1024            Map-scale
+att 1025            Music-key
+att 1026            Related-periodical
+att 1027            Report-number
+att 1028            Stock-number
+att 1030            Thematic-number
+att 1031            Material-type
+att 1032            Doc-id
+att 1033            Host-item
+att 1034            Content-type
+att 1035            Anywhere
+att 1036            Author-Title-Subject
+
+# Koha Specific Stuff
+
+att 8900			Call-Number
+att 8800			date-entered-on-file
+att 8801			date1
+att 8802			date2
+att 8805			language
+att 8822			ff8-22
+att 8833			ff8-33
+att 8834			ff8-34
+
+att 8700			ff7-00
+att 8701			ff7-01
+att 8702			ff7-02
+

Index: zebradb/biblios/tab/bib1_unimarc.att
===================================================================
RCS file: zebradb/biblios/tab/bib1_unimarc.att
diff -N zebradb/biblios/tab/bib1_unimarc.att
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/biblios/tab/bib1_unimarc.att	23 Oct 2006 08:51:33 -0000	1.1.2.1
@@ -0,0 +1,120 @@
+# $Id: bib1_unimarc.att,v 1.1.2.1 2006/10/23 08:51:33 hdl Exp $
+# Bib-1 Attribute Set
+name bib1
+reference Bib-1
+
+att 1               Personal-name
+att 2               Corporate-name
+att 3               Conference-name
+att 4               Title
+att 5               Title-series
+att 6               Title-uniform
+att 7               ISBN
+att 8               ISSN
+att 9               LC-card-number
+att 10              BNB-card-number
+att 11              BGF-number
+att 12              Local-number
+att 13              Dewey-classification
+att 14              UDC-classification
+att 15              Bliss-classification
+att 16              LC-call-number
+att 17              NLM-call-number
+att 18              NAL-call-number
+att 19              MOS-call-number
+att 20              Local-classification
+att 21              Subject-heading
+att 22              Subject-Rameau
+att 23              BDI-index-subject
+att 24              INSPEC-subject
+att 25              MESH-subject
+att 26              PA-subject
+att 27              LC-subject-heading
+att 28              RVM-subject-heading
+att 29              Local-subject-index
+att 30              Date
+att 31              Date-of-publication
+att 32              Date-of-acquisition
+att 33              Title-key
+att 34              Title-collective
+att 35              Title-parallel
+att 36              Title-cover
+att 37              Title-added-title-page
+att 38              Title-caption
+att 39              Title-running
+att 40              Title-spine
+att 41              Title-other-variant
+att 42              Title-former
+att 43              Title-abbreviated
+att 44              Title-expanded
+att 45              Subject-precis
+att 46              Subject-rswk
+att 47              Subject-subdivision
+att 48              Number-natl-biblio
+att 49              Number-legal-deposit
+att 50              Number-govt-pub
+att 51              Number-music-publisher
+att 52              Number-db
+att 53              Number-local-call
+att 54              Code-language
+att 55              Code-geographic
+att 56              Code-institution
+att 57              Name-and-title
+att 58              Name-geographic
+att 59              Place-publication
+att 60              CODEN
+att 61              Microform-generation
+att 62              Abstract
+att 63              Note
+att 1000            Author-title
+att 1001            Record-type
+att 1002            Name
+att 1003            Author
+att 1004            Author-name-personal
+att 1005            Author-name-corporate
+att 1006            Author-name-conference
+att 1007            Identifier-standard
+att 1008            Subject-LC-childrens
+att 1009            Subject-name-personal
+att 1010            Body-of-text
+att 1011            Date/time-added-to-db
+att 1012            Date/time-last-modified
+att 1013            Authority/format-id
+att 1014            Concept-text
+att 1015            Concept-reference
+att 1016            Any 		1016,4,1005,62
+att 1017            Server-choice
+att 1018            Publisher
+att 1019            Record-source
+att 1020            Editor
+att 1021            Bib-level
+att 1022            Geographic-class
+att 1023            Indexed-by
+att 1024            Map-scale
+att 1025            Music-key
+att 1026            Related-periodical
+att 1027            Report-number
+att 1028            Stock-number
+att 1030            Thematic-number
+att 1031            Material-type
+att 1032            Doc-id
+att 1033            Host-item
+att 1034            Content-type
+att 1035            Anywhere
+att 1036            Author-Title-Subject
+
+# Koha Specific Stuff
+
+att 8900			Call-Number
+att 8800			date-entered-on-file
+att 8801			date1
+att 8802			date2
+att 8805			language
+att 8822			ff8-22
+att 8833			ff8-33
+att 8834			ff8-34
+
+att 8700			ff7-00
+att 8701			ff7-01
+att 8702			ff7-02
+

Index: zebradb/biblios/tab/kohalis
===================================================================
RCS file: zebradb/biblios/tab/kohalis
diff -N zebradb/biblios/tab/kohalis
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/biblios/tab/kohalis	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1 @@
+kohaadmin:K0h4R0ck$

Index: zebradb/biblios/tab/record.abs
===================================================================
RCS file: zebradb/biblios/tab/record.abs
diff -N zebradb/biblios/tab/record.abs
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/biblios/tab/record.abs	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,118 @@
+# $Id: record.abs,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+
+# This is a fairly simple example of a set of MARC21 indexing rules. It
+# results in a server which provides a passable Bath level 0 and 1 service
+# (author, title, subject, keyword and exact services). Feel free to
+# elaborate on it, and if you do, please consider sharing your additions.
+# NOTE: This is designed to be used with the grs.marcxml input filter
+# for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
+# won't work for the old grs.marc input filter, which yields a different
+# internal structure.
+encoding utf-8
+name marc21
+attset bib1.att
+attset gils.att
+esetname F @
+esetname B @
+
+marc usmarc.mar
+systag sysno rank
+xpath disable
+
+all any
+melm 008		date-entered-on-file:n:range(data,0,6),date-entered-on-file:s:range(data,0,6),date1:n:range(data,7,4),date1:s:range(data,7,4),date2:n:range(data,11,4),date2:s:range(data,11,4),ff8-22:w:range(data,22,1),language:w:range(data,35,3),ff8-33:w:range(data,33,1),ff8-34:w:range(data,34,1)
+
+melm 007		ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1)
+
+melm 082		Dewey-classification:w,Dewey-classification:s
+melm 020$a		ISBN:w
+melm 022$a		ISSN:w,ISBN:w
+melm 050$b		LC-call-number:s
+melm 050		LC-call-number
+melm 942$k		LC-card-number:s
+melm 090$c		Identifier-standard:w
+melm 100$9		Cross-Reference	!:w
+melm 100$a		author,author:p,author:s
+melm 100		author
+melm 110		author
+melm 111		author
+melm 130		title
+melm 240		title,title:p
+melm 242		title,title:p
+melm 243		title,title:p
+melm 245$a		title:w,title:p,title:s
+melm 245$c		author
+melm 245		title,title:p
+melm 246		title,title:p
+melm 247		title,title:p
+melm 260$a		Place-publication	!:w,!:p
+melm 260$b		Publisher		!:w,!:p
+melm 260$c		Date,Date:s,		!:y
+
+melm 260		Place-publication	
+melm 400$t		title,author
+melm 400		author
+melm 410$t		title,author
+melm 410		author
+melm 411$t		title,author
+melm 411		author
+melm 440$a		Title-series		!:w,!:p
+melm 440		Title-series		!:w,!:p
+melm 490$a		Title-series		!:w,!:p
+melm 490		title
+
+melm 505		Note	!:w,!:p
+
+melm 600$t		title
+melm 600		subject-heading,subject-heading:p
+melm 610$t		title
+melm 610		subject-heading
+melm 611$t		title
+melm 611		subject-heading
+melm 630		subject-heading
+melm 650$9		Controlled-Subject-Index	
+melm 650		subject-heading,subject-heading:p
+melm 651$9		Controlled-Subject-Index	
+melm 651		subject-heading,subject-heading:p
+melm 652$9		Controlled-Subject-Index	
+melm 652		subject-heading,subject-heading:p
+melm 653$9		Controlled-Subject-Index	
+melm 653		subject-heading,subject-heading:p
+melm 654$9		Controlled-Subject-Index	
+melm 654		subject-heading
+melm 655$9		Controlled-Subject-Index	
+melm 655		subject-heading
+melm 656$9		Controlled-Subject-Index	
+melm 656		subject-heading
+melm 657$9		Controlled-Subject-Index	
+melm 657		subject-heading
+melm 690$9		Controlled-Subject-Index	
+melm 690		subject-heading
+
+melm 700$9		Cross-Reference
+melm 700$t		title,author
+melm 700$a		author,author:p
+melm 700		author
+melm 710$t		title,author
+melm 710$a		author,author:p
+melm 710		author
+melm 711$t		title,author
+melm 711		author
+melm 730		title
+melm 740		title
+melm 800$t		title,author
+melm 800		author
+melm 810$t		title,author
+melm 810		author
+melm 811$t		title,author
+melm 811		author
+melm 830		title
+
+melm 942$c      Material-type
+#melm 942$k		Call-Number
+melm 952$a		Local-classification
+melm 952$b		Record-source
+melm 952$d		Host-item
+melm 952$p		Stock-number
+melm 952$v		Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
+melm 952		Local-classification

Index: zebradb/biblios/tab/record_for_unimarc.abs
===================================================================
RCS file: zebradb/biblios/tab/record_for_unimarc.abs
diff -N zebradb/biblios/tab/record_for_unimarc.abs
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/biblios/tab/record_for_unimarc.abs	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,262 @@
+# $Id: record_for_unimarc.abs,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+
+# indexing rules. It
+# results in a server which provides a passable Bath level 0 and 1 service
+############################################################################
+# IMPORTANT : this file MUST be renamed record.abs : this name is "hardcoded" in zebra
+# the default record.abs is designed for MARC21.
+############################################################################
+# NOTE: This is designed to be used with the grs.marcxml input filter
+# for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
+# won't work for the old grs.marc input filter, which yields a different
+# internal structure.
+
+encoding utf-8
+name marc21
+attset bib1.att
+attset gils.att
+esetname F @
+esetname B @
+
+marc usmarc.mar
+systag sysno rank
+xpath disable
+
+all any
+
+##################### 0XX #####################
+
+melm 001		Local-Number:n
+
+melm 010$a		Standard-Number,ISBN:w
+# wrong ISBN
+melm 010$z		Standard-Number,ISBN:w
+melm 011$a		Standard-Number,ISSN:w
+# cancelled ISSN
+melm 011$y		Standard-Number,ISSN:w
+# wrong ISSN
+melm 011$z		ISSN:w
+
+
+melm 090$a		Local-Number:w
+
+melm 200$b      Material-type
+
+#melm 100$9		Cross-Reference	!:w
+melm 100$a      date-entered-on-file:n:range(data,0,8),date-entered-on-file:s:range(data,0,8),tpubdate:s:range(data,8,1),Date-of-publication:n:range(data,9,4),Date-of-publication2:n:range(data,13,4),Date-of-publication:s:range(data,9,4),Date-of-publication2:s:range(data,13,4),audience:s:range(data,17,3),Modified-code:n:range(data,21,1),Language:s:range(data,22,3),char-encoding:n:range(data,26,2),char-encoding:n:range(data,28,2),char-encoding:n:range(data,30,2),script-title:n:range(data,34,2)
+melm 101     Language
+melm 102$a     Country-heading
+
+#Field 105 Description
+#Illustration codes 4
+#Form of contents codes 4
+#Conference or meeting code 1
+#Festschrift indicator 1
+#Index indicator 1
+#Literature code 1
+#Biography code 	1
+melm 105$a     Illustration-code:w:range(data,0,4),Content-code:w:range(data,4,4),Conference-code:w:range(data,8,1),Festschrift-indicator:w:range(data,9,1),Index-indicator:w:range(data,10,1),Literature-Code:w:range(data,11,1),Biography-Code:w:range(data,12,1)
+
+melm 106$a     Material-type
+
+#Field 110 Description
+#Name of Data Element                  Number of characters                 Character Positions
+#Type of serial designator              1                                   0
+#Frequency of issue                     1                                   1
+#Regularity                             1                                   2
+#Type of material code                  1                                   3
+#Nature of contents code                3                                   4-6
+#Conference publication indicator       1                                   7
+#Title page availability codes          1                                   8
+#Index availability code                1                                   9
+#Cumulative index availability code 	1                                   10
+melm 110$a     Type-Of-Serial:w:range(data,0,1),Frequency-code:w:range(data,1,1),Regularity-code:w:range(data,2,1),Material-type:w:range(data,3,1),Content-Code:w:range(data,4,3),Conference-publication-Code:w:range(data,7,1),Title-Page-availability-Code:w:range(data,8,1),Index-availability-Code:w:range(data,9,1),Cumulative-Index-availability-Code:w:range(data,10,1)
+
+
+############ AUTHORS ##################
+
+melm 700$9		Koha-Auth-Number:n,Controlled-Subject-Index,Controlled-Subject-Index:p
+melm 701$9		Koha-Auth-Number:n,Controlled-Subject-Index,Controlled-Subject-Index:p
+melm 702$9		Koha-Auth-Number:n,Controlled-Subject-Index,Controlled-Subject-Index:p
+melm 710$9		Koha-Auth-Number:n,Controlled-Subject-Index,Controlled-Subject-Index:p
+melm 711$9		Koha-Auth-Number:n,Controlled-Subject-Index,Controlled-Subject-Index:p
+melm 712$9		Koha-Auth-Number:n,Controlled-Subject-Index,Controlled-Subject-Index:p
+# physical Author
+melm 700		Author,Author:p,Author:s
+melm 701		Author,Author:p,Author:s
+melm 702		Author,Author:p,Author:s
+# collective Author
+melm 710		Author,Author:p,Author:s
+melm 711		Author,Author:p,Author:s
+melm 712		Author,Author:p,Author:s
+
+
+
+
+############### 2XX #####################
+# main Title
+melm 200$a		Title:w,Title:p,Title:s
+# Title 2
+melm 200$c		Title:w,Title:p,Title:s
+# // Title
+melm 200$d		Title,Title-parallel    !:w,!:p,!:s
+# subTitle
+melm 200$e		Title:w,Title:p,Title:s
+# main itemtype
+melm 200$b		Koha-ItemType
+# main Author
+melm 200$f		Author,Author:p,Author:s
+# other Authors
+melm 200$g		Author,Author:p,Author:s
+
+melm 205		Title	!:w,!:p
+
+melm 208		Serials	!:w,!:p
+melm 207		Printed-Music	!:w,!:p
+
+
+melm 210$a		pl	!:w,!:p
+melm 210$c		Publisher		!:w,!:p
+melm 210$d		Date-of-Publication,Date-of-Publication,Date !:y
+
+melm 215        Physical-detail
+
+#Series
+melm 225$a      Title-series
+melm 225$d      Title-series
+#Subtitle
+melm 225$e      Title-series 
+#Authors
+melm 225$f      Author,Author-Title-series
+#Part-Title
+melm 225$h      Title-series 
+#Part Number
+melm 225$i      Title-series 
+#Volume
+melm 225$v      Title-series 
+melm 225$x      ISSN
+
+melm 230$a      Electronic-Ressource
+
+########## NOTES #################
+melm 300$a		Note	!:w,!:p
+melm 301$a		Note	!:w,!:p
+melm 302$a		Note	!:w,!:p
+melm 303$a		Note	!:w,!:p
+melm 304$a		Note	!:w,!:p
+melm 305$a		Note	!:w,!:p
+melm 306$a		Note	!:w,!:p
+melm 307$a		Note	!:w,!:p
+melm 308		Note	!:w,!:p
+melm 308$a		Note	!:w,!:p
+melm 310$a		Note	!:w,!:p
+melm 311$a		Note	!:w,!:p
+melm 312$a		Note	!:w,!:p
+melm 313$a		Note	!:w,!:p
+melm 314$a		Note	!:w,!:p
+melm 315$a		Note	!:w,!:p
+melm 316$a		Note	!:w,!:p
+melm 317$a		Note	!:w,!:p
+melm 318$a		Note	!:w,!:p
+melm 320$a		Note	!:w,!:p
+melm 321$a		Note	!:w,!:p
+melm 322$a		Note	!:w,!:p
+melm 323$a		Note	!:w,!:p
+melm 324$a		Note	!:w,!:p
+melm 325$a		Note	!:w,!:p
+melm 326$a		Note	!:w,!:p
+melm 327$a		Note	!:w,!:p
+melm 328		Note,Thesis-Note	!:w,!:p
+melm 328$a		Note	!:w,!:p
+melm 330$a		Abstract,Note	!:w,!:p
+melm 332$a		Note	!:w,!:p
+melm 333$a		Note	!:w,!:p
+melm 336$a		Note	!:w,!:p
+melm 337$a		Note	!:w,!:p
+melm 345$a		Note	!:w,!:p
+
+############## 4XX - LINKING ##################
+# Authorities Title
+melm 400		Title
+melm 401		Title
+melm 403		Title,Title-Uniform
+melm 410		Title
+melm 412		Title
+melm 413		Title
+melm 414		Title
+melm 415		Title
+melm 416		Title
+melm 417		Title
+melm 418		Title
+melm 419		Title
+melm 420		Title
+melm 430		Title
+melm 431		Title
+melm 432		Title
+melm 440		Title
+melm 441		Title
+melm 445		Title
+
+############## 5XX - TITLE ##################
+# Authorities Title
+melm 500		Title
+melm 501		Title
+melm 503		Title,Title-Uniform
+melm 510		Title
+melm 512		Title
+melm 513		Title
+melm 514		Title
+melm 515		Title
+melm 516		Title
+melm 517		Title
+melm 518		Title
+melm 519		Title
+melm 520		Title
+melm 530		Title
+melm 531		Title
+melm 532		Title
+melm 540		Title
+melm 541		Title
+melm 545		Title
+
+########### SUBJECTS (6xx) ##################
+melm 600$a		Author
+melm 600		subject-heading,subject-heading:p
+melm 601$a		Author
+melm 601		subject-heading,subject-heading:p
+melm 604$a		Author
+melm 604$t		Title
+melm 610$t		Title
+melm 605$a		Title
+melm 606		subject-heading,subject-heading:p
+melm 610		subject-heading
+
+melm 676$a		Dewey-classification:w,Dewey-classification:s
+melm 680$b		Standard-Number,LC-call-number:s
+melm 680		Standard-Number,LC-call-number
+
+#melm 631$9		Controlled-Subject-Index,Controlled-Subject-Index:p
+#melm 600$9		Controlled-Subject-Index,Controlled-Subject-Index:p
+#melm 601$9		Controlled-Subject-Index,Controlled-Subject-Index:p
+#melm 602$9		Controlled-Subject-Index,Controlled-Subject-Index:p
+#melm 603$9		Controlled-Subject-Index,Controlled-Subject-Index:p
+#melm 604$9		Controlled-Subject-Index,Controlled-Subject-Index:p
+#melm 605$9		Controlled-Subject-Index,Controlled-Subject-Index:p
+melm 606$9		Koha-Auth-Number,Koha-Auth-Number:n,Controlled-Subject-Index,Controlled-Subject-Index:n
+#melm 607$9		Controlled-Subject-Index,Controlled-Subject-Index:p
+#melm 650$9		Controlled-Subject-Index,Controlled-Subject-Index:p
+#melm 675$9		Controlled-Subject-Index,Controlled-Subject-Index:p
+#melm 676$9		Controlled-Subject-Index,Controlled-Subject-Index:p
+melm 686$9		Koha-Auth-Number,Koha-Auth-Number:n,Controlled-Subject-Index,Controlled-Subject-Index:n
+#melm 650$9		Koha-Auth-Number	
+
+#############"# item information (based on 995) ###############
+melm 995$j		LC-card-number:s
+melm 995$k		Call-Number
+#melm 952$a		Local-classification
+#melm 995$		Record-source
+melm 995$c		Record-Source
+melm 995$d		Record-Source
+melm 995$f		Stock-number
+#melm 952$v		Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
+#melm 952		Local-classification

Index: zebradb/biblios/tab/record_unimarc.abs
===================================================================
RCS file: zebradb/biblios/tab/record_unimarc.abs
diff -N zebradb/biblios/tab/record_unimarc.abs
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/biblios/tab/record_unimarc.abs	23 Oct 2006 08:51:33 -0000	1.1.2.1
@@ -0,0 +1,184 @@
+# $Id: record_unimarc.abs,v 1.1.2.1 2006/10/23 08:51:33 hdl Exp $
+
+# indexing rules. It
+# results in a server which provides a passable Bath level 0 and 1 service
+############################################################################
+# IMPORTANT : this file MUST be renamed record.abs : this name is "hardcoded" in zebra
+# the default record.abs is designed for MARC21.
+############################################################################
+# NOTE: This is designed to be used with the grs.marcxml input filter
+# for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
+# won't work for the old grs.marc input filter, which yields a different
+# internal structure.
+
+encoding utf-8
+name authorities
+attset auth1.att
+esetname F @
+esetname B @
+
+marc usmarc.mar
+systag sysno rank
+xpath disable
+
+all any
+melm 001		Local-Number
+melm 152$b		Authority/format-id
+#melm 005        Version-id
+#melm 015        IASDN
+
+
+########################
+# Coded fields
+########################
+#melm 100$a      date-entered-on-file:n:range(data,0,8),date-entered-on-file:s:range(data,0,8),auth-status:n:range(data,8,1),auth-status:s:range(data,8,1),language:n:range(data,9,3),language:s:range(data,9,3),char-encoding:w:range(data,13,4),char-encoding:s:range(data,13,4),ff100-17:w:range(data,17,3),ff100-21:w:range(data,21,2),ff100-23:w:range(data,23,1)
+
+#melm 101$a     Language
+#melm 102$a     Country-heading
+# Subject-Heading
+#melm 106$a     Vaut 0(inutilisable sujet-matiere),1 (utilisable sujet-matiere)ou 2(utilisable uniquement sujet-matiere)
+#melm 120$a Obligatoire sur Autorite NP : Sexe et discrimination
+#melm 123$a Obligatoire sur Autorite GEO : Localisation
+#melm 150$a Obligatoire sur Autorite CO : Type de collectivite
+# 4XX$3 5XX$3 7XX$3 authority number
+# 4XX$5 5XX$5 7XX$5 Linking type
+# 4XX$7 5XX$7 7XX$7 Script Cataloguing
+# 4XX$8 5XX$8 7XX$8 Language
+
+
+############ HEADINGS ##################
+melm 200$a Heading,Heading:w,Heading:p,Heading:s, personal-heading,personal-heading:w,personal-heading:s,personal-heading:p
+melm 210$a Heading,Heading:w,Heading:p,Heading:s,corporate-heading
+melm 210$a Heading,Heading:w,Heading:p,Heading:s,Conference-heading
+melm 215$a Heading,Heading:w,Heading:p,Heading:s,Name-geographic
+#melm 216 Name-corporate
+melm 220$a Heading,Heading:w,Heading:p,Heading:s,personal-heading,personal-heading:w,personal-heading:s,personal-heading:p
+melm 230$a Heading,Heading:w,Heading:p,Heading:s,Title-Uniform,Title-Uniform:w,Title-Uniform:s,Title-Uniform:p
+melm 235$a Heading,Heading:w,Heading:p,Heading:s,Title-Uniform,Title-Uniform:w,Title-Uniform:s,Title-Uniform:p
+melm 250$a Heading,Heading:w,Heading:p,Heading:s,Subject-heading, Subject-heading:w,Subject-heading:s,Subject-heading:p
+
+melm 200 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s, personal-Heading-Entity,personal-Heading-Entity:w,personal-Heading-Entity:s,personal-Heading-Entity:p
+melm 210 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,corporate-Heading-Entity
+melm 210 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Conference-Heading-Entity
+melm 215 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Name-geographic-Entity
+#melm 216 Name-corporate
+melm 220 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,personal-Heading-Entity,personal-Heading-Entity:w,personal-Heading-Entity:s,personal-Heading-Entity:p
+melm 230 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Title-Uniform-entity,Title-Uniform-entity:w,Title-Uniform:s,Title-Uniform-entity:p
+melm 235 Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Title-Uniform-entity,Title-Uniform-entity:w,Title-Uniform:s,Title-Uniform-entity:p
+melm 250   Heading-Entity,Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Subject-Thesaurus
+
+#210 Heading - Corporate Body Name
+#215 Heading - Territorial or Geographical Name
+#216 Heading - Trademark
+#220 Heading - Family Name
+#230 Heading - Uniform Title
+#235 Heading - Collective Uniform Title
+#240 Heading - Name/Title
+#245 Heading - Name/Collective Uniform Title
+#250 Heading - Topical Subject
+#260 Heading - Place Access
+#280 Heading - Form, Genre or Physical Characteristics
+#melm 712		Author,Author:p,Author:s
+
+############ Rejected forms ##################
+melm 400$a See, See:w,See:p,See:s,personal-see,personal-see:w,personal-see:s,personal-see:p
+melm 410$a See, See:w,See:p,See:s,corporate-see
+melm 410$a See, See:w,See:p,See:s,Conference-see
+melm 415$a See, See:w,See:p,See:s,Name-geographic-see
+#melm 416 Name-corporate
+melm 440$a See, See:w,See:p,See:s,personal-see,personal-see:w,personal-see:s,personal-see:p
+melm 430$a See, See:w,See:p,See:s,Title-Uniform-see,Title-Uniform-see:w,Title-Uniform-see:s,Title-Uniform-see:p
+melm 435$a See, See:w,See:p,See:s,Title-Uniform-see,Title-Uniform-see:w,Title-Uniform-see:s,Title-Uniform-see:p
+melm 450$a See, See:w,See:p,See:s,Subject-see,Subject-see:w,Subject-see:s,Subject-see,:p
+melm 400 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,personal-See-Entity,personal-See-Entity:w,personal-See-Entity:s,personal-See-Entity:p
+melm 410 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,corporate-See-Entity
+melm 410 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Conference-See-Entity
+melm 415 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Name-geographic-See-Entity
+#melm 416 Name-corporate
+melm 440 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,personal-See-Entity,personal-See-Entity:w,personal-See-Entity:s,personal-See-Entity:p
+melm 430 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Title-Uniform-See-Entity,Title-Uniform-See-Entity:w,Title-Uniform-See-Entity:s,Title-Uniform-See-Entity:p
+melm 435 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Title-Uniform-See-Entity,Title-Uniform-See-Entity:w,Title-Uniform-See-Entity:s,Title-Uniform-See-Entity:p
+melm 450 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Subject-See-Entity,Subject-See-Entity:w,Subject-See-Entity:s,Subject-See-Entity,:p
+
+#410 Heading - Corporate Body Name
+#415 Heading - Territorial or Geographical Name
+#416 Heading - Trademark
+#440 Heading - Family Name
+#430 Heading - Uniform Title
+#435 Heading - Collective Uniform Title
+#440 Heading - Name/Title
+#445 Heading - Name/Collective Uniform Title
+#450 Heading - Topical Subject
+#460 Heading - Place Access
+#480 Heading - Form, Genre or Physical Characteristics
+#melm 714		Author,Author:p,Author:s
+
+############ Related forms ##################
+melm 500$a personal-see-also,personal-see-also:w,personal-see-also:s,personal-see-also:p
+melm 510$a corporate-see-also
+melm 510$a Conference-see-also
+melm 515$a Name-geographic-see-also
+#melm 416 Name-corporate
+melm 540$a personal-see-also,personal-see-also:w,personal-see-also:s,personal-see-also:p
+melm 530$a Title-Uniform-see-also,Title-Uniform-see-also:w,Title-Uniform-see-also:s,Title-Uniform-see-also:p
+melm 535$a Title-Uniform-see-also,Title-Uniform-see-also:w,Title-Uniform-see-also:s,Title-Uniform-see-also:p
+melm 550$a Subject-see-also,Subject-see-also:w,Subject-see-also:s,Subject-see-also:p
+#510 Heading - Corporate Body Name
+#515 Heading - Territorial or Geographical Name
+#516 Heading - Trademark
+#550 Heading - Family Name
+#530 Heading - Uniform Title
+#535 Heading - Collective Uniform Title
+#540 Heading - Name/Title
+#545 Heading - Name/Collective Uniform Title
+#550 Heading - Topical Subject
+#560 Heading - Place Access
+#580 Heading - Form, Genre or Physical Characteristics
+#melm 714		Author,Author:p,Author:s
+
+############ Parallel forms ##################
+melm 700$a personal-parallel,personal-parallel:w,personal-parallel:s,personal-parallel:p
+melm 710$a corporate-parallel
+melm 710$a Conference-parallel
+melm 715$a Name-geographic-parallel
+#melm 716 Name-corporate
+melm 770$a personal-parallel,personal-parallel:w,personal-parallel:s,personal-parallel:p
+melm 730$a Title-Uniform-parallel,Title-Uniform-parallel:w,Title-Uniform-parallel:s,Title-Uniform-parallel:p
+melm 735$a Title-Uniform-parallel,Title-Uniform-parallel:w,Title-Uniform-parallel:s,Title-Uniform-parallel:p
+melm 750$a Subject-parallel,Subject-parallel:w,Subject-parallel:s,Subject-parallel:p
+
+########## NOTES #################
+melm 300$a		Note	!:w,!:p
+melm 301$a		Note	!:w,!:p
+melm 302$a		Note	!:w,!:p
+melm 303$a		Note	!:w,!:p
+melm 304$a		Note	!:w,!:p
+melm 305$a		Note	!:w,!:p
+melm 306$a		Note	!:w,!:p
+melm 307$a		Note	!:w,!:p
+melm 308$a		Note	!:w,!:p
+melm 310$a		Note	!:w,!:p
+melm 311$a		Note	!:w,!:p
+melm 312$a		Note	!:w,!:p
+melm 313$a		Note	!:w,!:p
+melm 314$a		Note	!:w,!:p
+melm 315$a		Note	!:w,!:p
+melm 316$a		Note	!:w,!:p
+melm 317$a		Note	!:w,!:p
+melm 318$a		Note	!:w,!:p
+melm 320$a		Note	!:w,!:p
+melm 321$a		Note	!:w,!:p
+melm 322$a		Note	!:w,!:p
+melm 323$a		Note	!:w,!:p
+melm 324$a		Note	!:w,!:p
+melm 325$a		Note	!:w,!:p
+melm 326$a		Note	!:w,!:p
+melm 327$a		Note	!:w,!:p
+melm 328$a		Note	!:w,!:p
+melm 330$a		Note	!:w,!:p
+melm 332$a		Note	!:w,!:p
+melm 333$a		Note	!:w,!:p
+melm 336$a		Note	!:w,!:p
+melm 337$a		Note	!:w,!:p
+melm 345$a		Note	!:w,!:p
+

Index: zebradb/biblios/tab/sort-string-utf.chr
===================================================================
RCS file: zebradb/biblios/tab/sort-string-utf.chr
diff -N zebradb/biblios/tab/sort-string-utf.chr
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/biblios/tab/sort-string-utf.chr	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,48 @@
+# Generic character map.
+#
+# $Id: sort-string-utf.chr,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+
+# Define the basic value-set. *Beware* of changing this without re-indexing
+# your databases.
+lowercase {0-9}{a-y}üzæäøöå
+uppercase {0-9}{A-Y}ÜZÆÄØÖÅ
+
+# Breaking characters
+
+space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~
+
+# Characters to be considered equivalent for searching purposes.
+
+# equivalent æä(ae)
+# equivalent øö(oe)
+# equivalent å(aa)
+# equivalent uü
+
+# Supplemental mappings
+
+#map (&auml;)       ä
+#map (&aelig;)      æ
+#map (&oslash;)     ø
+#map (&aring;)      å
+#map (&ouml;)       ö
+#map (&Auml;)       Ä
+#map (&Aelig;)      Æ
+#map (&Oslash;)     Ø
+#map (&Aring;)      Å
+#map (&Ouml;)       Ö
+
+#map éÉ		e
+#map á		a
+#map ó		o
+#map í		i
+
+#map (Aa)	(AA)
+
+#map (aa)        a
+map (^The\s)    @
+map (^the\s)    @
+map (^a\s)      @
+map (^A\s)      @
+map (^An\s)     @
+map (^an\s)     @
+

Index: zebradb/biblios/tab/word-phrase-utf.chr
===================================================================
RCS file: zebradb/biblios/tab/word-phrase-utf.chr
diff -N zebradb/biblios/tab/word-phrase-utf.chr
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ zebradb/biblios/tab/word-phrase-utf.chr	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,41 @@
+# Generic character map.
+#
+# $Id: word-phrase-utf.chr,v 1.1.4.1 2006/10/23 08:51:33 hdl Exp $
+
+# Define the basic value-set. *Beware* of changing this without re-indexing
+# your databases.
+lowercase {0-9}{a-y}üzæäøöå
+uppercase {0-9}{A-Y}ÜZÆÄØÖÅ
+
+# Breaking characters
+
+space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~
+
+# Characters to be considered equivalent for searching purposes.
+
+# equivalent æä(ae)
+# equivalent øö(oe)
+# equivalent å(aa)
+# equivalent uü
+
+# Supplemental mappings
+
+#map (&auml;)       ä
+#map (&aelig;)      æ
+#map (&oslash;)     ø
+#map (&aring;)      å
+#map (&ouml;)       ö
+#map (&Auml;)       Ä
+#map (&Aelig;)      Æ
+#map (&Oslash;)     Ø
+#map (&Aring;)      Å
+#map (&Ouml;)       Ö
+
+#map éÉ		e
+#map á		a
+#map ó		o
+#map í		i
+
+#map (Aa)	(AA)
+
+#map (aa)        a

Index: README
===================================================================
RCS file: README
diff -N README
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ README	23 Oct 2006 08:51:33 -0000	1.1.4.1
@@ -0,0 +1,3 @@
+In this dir you'll find files related to the zebra plugin. Please
+refer to the Installing the Zebra Plugin guide for details on how
+to set them up.





More information about the Koha-cvs mailing list