Adding usmarc zebra configuration files.
authorkados <kados>
Sun, 11 Dec 2005 00:57:08 +0000 (00:57 +0000)
committerkados <kados>
Sun, 11 Dec 2005 00:57:08 +0000 (00:57 +0000)
misc/zebra/usmarc/explain.att [new file with mode: 0644]
misc/zebra/usmarc/usmarc.abs [new file with mode: 0644]
misc/zebra/usmarc/usmarc.mar [new file with mode: 0644]
misc/zebra/usmarc/usmarc.tag [new file with mode: 0644]
misc/zebra/usmarc/zebra.cfg [new file with mode: 0644]

diff --git a/misc/zebra/usmarc/explain.att b/misc/zebra/usmarc/explain.att
new file mode 100644 (file)
index 0000000..04eb034
--- /dev/null
@@ -0,0 +1,27 @@
+# The Explain Attribute Set
+#
+# $Id$
+name explain
+reference Exp-1
+
+att 1                  ExplainCategory
+att 2                  HumanStringLanguage
+att 3                  DatabaseName
+att 4                  Targetname
+att 5                  AttributeSetOID
+att 6                  RecordSyntaxOID
+att 7                  TagSetOID
+att 8                  ExtendedServicesOID
+att 9                  DateAdded
+att 10                 DateChanged
+att 11                 DateExpired
+att 12                 ElementSetName
+att 13                 ProcessingContext
+att 14                 ProcessingName
+att 15                 TermListName
+att 16                 SchemaOID
+att 17                 Producer
+att 18                 Supplier
+att 19                 Availability
+att 20                 Proprietary
+att 21                 UserFee
diff --git a/misc/zebra/usmarc/usmarc.abs b/misc/zebra/usmarc/usmarc.abs
new file mode 100644 (file)
index 0000000..681070c
--- /dev/null
@@ -0,0 +1,46 @@
+# $Id$
+name usmarc
+reference USmarc
+attset bib1.att
+tagset usmarc.tag
+
+marc usmarc.mar
+
+esetname B usmarc-b.est
+esetname F @
+
+# 020a is isbn
+elm 020                 isbn            -
+elm 020/?               isbn            !:w
+elm 020/?/a             isbn            !:w,!:p
+
+# 090 is mapped to biblionumber in Koha
+elm 090            Local-number            -
+elm 090/?          Local-number            -
+elm 090/?/9        Local-number            !:w
+
+# All 245 subfields mapped to title (word) and
+# 245 subfield a mapped to tile (phrase).
+elm 245                 title           -
+elm 245/?               title           !:w
+elm 245/?/a             title           !:w,!:p
+
+# 100 mapped to Author-name-personal and Author.
+elm 100                 Author-name-personal    -
+elm 100/?               Author-name-personal    !:w,!:p,Author:w,Author:p
+
+# 110 mapped to Author-name-corporate and Author
+elm 110                 Author-name-corporate   -
+elm 110/?               Author-name-corporate   !:w,!:p,Author:w,Author:p
+
+# 111 mapped to Author-name-conference and Author
+elm 111                 Author-name-conference  -
+elm 111/?               Author-name-conference  !:w,!:p,Author:w,Author:p
+
+# Tag 260 subfield a mapped to Place-publication
+elm 260                 Place-publication       -
+elm 260/?               Place-publication       -
+elm 260/?/a             Place-publication       !:w
+elm 260/?/b             Publisher               !:w
+elm 260/?/c             Date                    !:w
+
diff --git a/misc/zebra/usmarc/usmarc.mar b/misc/zebra/usmarc/usmarc.mar
new file mode 100644 (file)
index 0000000..2555968
--- /dev/null
@@ -0,0 +1,3 @@
+# $Id$
+name usmarc
+reference USmarc
diff --git a/misc/zebra/usmarc/usmarc.tag b/misc/zebra/usmarc/usmarc.tag
new file mode 100644 (file)
index 0000000..4a0b9cd
--- /dev/null
@@ -0,0 +1,13 @@
+# Pseudo-tagset for USMARC
+#
+# $Id$
+
+name usmarc
+type 4
+include tagsetm.tag
+
+#tag 1          a               string
+#tag 2          b               string
+tag 245         245             string
+tag 100         100             string
+tag 090         c               string
diff --git a/misc/zebra/usmarc/zebra.cfg b/misc/zebra/usmarc/zebra.cfg
new file mode 100644 (file)
index 0000000..4922b61
--- /dev/null
@@ -0,0 +1,32 @@
+# Simple Zebra configuration file that defines
+# a database with USMARC records for Koha
+# Joshua Ferraro < jmf at liblime dot com >
+#
+# Where are the config files located?
+profilePath: ${srcdir:-.}:${srcdir:-.}/../../tab
+recordId: (bib1,Local-number)
+storeKeys:1
+
+# Files that describe the attribute sets supported.
+attset: bib1.att
+attset: explain.att
+
+# Specify record type
+recordType: grs.marc.usmarc
+
+# Lock File Area
+lockDir: lock
+
+# Temp File area for result sets
+setTmpDir: tmp
+
+# Temp File area for index program
+keyTmpDir: tmp
+
+# Approx. Memory usage during indexing
+memMax: 400
+
+database: NPLKoha
+
+systag rank rank
+systag sysno sysno