Adding usmarc zebra configuration files.
This commit is contained in:
parent
af8f19ca56
commit
67134b5feb
5 changed files with 121 additions and 0 deletions
27
misc/zebra/usmarc/explain.att
Normal file
27
misc/zebra/usmarc/explain.att
Normal file
|
@ -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
|
46
misc/zebra/usmarc/usmarc.abs
Normal file
46
misc/zebra/usmarc/usmarc.abs
Normal file
|
@ -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
|
||||
|
3
misc/zebra/usmarc/usmarc.mar
Normal file
3
misc/zebra/usmarc/usmarc.mar
Normal file
|
@ -0,0 +1,3 @@
|
|||
# $Id$
|
||||
name usmarc
|
||||
reference USmarc
|
13
misc/zebra/usmarc/usmarc.tag
Normal file
13
misc/zebra/usmarc/usmarc.tag
Normal file
|
@ -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
|
32
misc/zebra/usmarc/zebra.cfg
Normal file
32
misc/zebra/usmarc/zebra.cfg
Normal file
|
@ -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
|
Loading…
Reference in a new issue