Koha/misc/zebra/record_biblios_unimarc.abs
Paul POULAIN da9e4001e5 Note was declared twice + XXX :w,:p is illegal, one must write XXX:w,XXX:p
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 19:42:09 -05:00

336 lines
12 KiB
Text

# 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
melm 001 Local-number,Local-number:n
# Local-number (biblionumber can be either in 090$9 or, on some setup, on 001)
melm 090$9 Local-number,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 200$b Material-type,Koha-ItemType
#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-publication:n:range(data,13,4),Date-of-publication:s:range(data,9,4),Date-of-publication:s:range(data,13,4),audience:s:range(data,17,1),audience:s:range(data,18,1),audience:s:range(data,19,1),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)
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),audience:s:range(data,17,1),audience:s:range(data,18,1),audience:s:range(data,19,1),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-type:w:range(data,4,1),Content-type:w:range(data,5,1),Content-type:w:range(data,6,1),Content-type:w:range(data,7,1),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),Content-type:w:range(data,3,1),Content-type: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)
melm 115$a Video-mt:w:range(data,0,1)
melm 116$a Graphics-type:w:range(data,0,1),Graphics-support:w:range(data,1,1),Graphics-support:w:range(data,2,1),
melm 680$b LC-call-number:s
melm 680 LC-call-number
#melm 001 Identifier-standard:w
melm 200$b Material-type
#melm 200$b Koha-Itemtype
#melm 100$9 Cross-Reference !:w
melm 101$a Code-Language:w
############ AUTHORS ##################
# main Author
melm 200$f Author:w,Author:p,Author:s
# other Authors
melm 200$g Author:w,Author:p
# physical Author
melm 700$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 700$a Author,Author-name-personal,Author:p,Author-name-personal:p melm 700 Author,Author-name-personal,Author:p,Author-name-personal:p
melm 701$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 701 Author,Author-name-personal,Author:p,Author-name-personal:p
melm 702$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 702 Author,Author-name-personal,Author:p,Author-name-personal:p
# collective Author
melm 710$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 710 Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
melm 711$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 711 Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
melm 712$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 712 Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
############## TITLE ##################
# main Title
melm 200$a Title:w,Title:p,Title:s
# Title 2
melm 200$c Title:w,Title:p
# // Title
melm 200$d Title:w,Title:p
# subTitle
melm 200$e Title:w,Title:p
melm 205 Title,Title:p
melm 208 Serials,Serials:p
melm 207 Printed-Music,Printed-Music:p
melm 210$a Place-Publication,Place-Publication:p
melm 210$c Publisher,Publisher:p
melm 210$d Date-of-Publication:y,Date:y,Date-of-Publication:s,Date:s
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:p,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, Note !:p
melm 301$a Note !:w, Note !:p
melm 302$a Note !:w, Note !:p
melm 303$a Note !:w, Note !:p
melm 304$a Note !:w, Note !:p
melm 305$a Note !:w, Note !:p
melm 306$a Note !:w, Note !:p
melm 307$a Note !:w, Note !:p
melm 308 Note !:w, Note !:p
melm 308$a Note !:w, Note !:p
melm 310$a Note !:w, Note !:p
melm 311$a Note !:w, Note !:p
melm 312$a Note !:w, Note !:p
melm 313$a Note !:w, Note !:p
melm 314$a Note !:w, Note !:p
melm 315$a Note !:w, Note !:p
melm 316$a Note !:w, Note !:p
melm 317$a Note !:w, Note !:p
melm 318$a Note !:w, Note !:p
melm 320$a Note !:w, Note !:p
melm 321$a Note !:w, Note !:p
melm 322$a Note !:w, Note !:p
melm 323$a Note !:w, Note !:p
melm 324$a Note !:w, Note !:p
melm 325$a Note !:w, Note !:p
melm 326$a Note !:w, Note !:p
melm 327$a Note !:w, Note !:p
melm 328 Note, Thesis-Note !:w, Note !:p
melm 328$a Note !:w, Note !:p
melm 330$a Abstract,Note !:w,!:p
melm 332$a Note !:w, Note !:p
melm 333$a Note !:w, Note !:p
melm 336$a Note !:w, Note !:p
melm 337$a Note !:w, Note !:p
melm 345$a Note !:w, Note !:p
############## 4XX - LINKING ##################
# Authorities Title
melm 400$t Title
melm 401$t Title
melm 403$t Title,Title-Uniform
melm 410$t Title
melm 412$t Title
melm 413$t Title
melm 414$t Title
melm 415$t Title
melm 416$t Title
melm 417$t Title
melm 418$t Title
melm 419$t Title
melm 420$t Title
melm 430$t Title
melm 431$t Title
melm 432$t Title
melm 440$t Title
melm 441$t Title
melm 445$t Title
melm 400$d Date-of-Publication:n,Date-of-Publication:s
melm 401$d Date-of-Publication:n,Date-of-Publication:s
melm 403$d Date-of-Publication:n,Date-of-Publication:s
melm 410$d Date-of-Publication:n,Date-of-Publication:s
melm 412$d Date-of-Publication:n,Date-of-Publication:s
melm 413$d Date-of-Publication:n,Date-of-Publication:s
melm 414$d Date-of-Publication:n,Date-of-Publication:s
melm 415$d Date-of-Publication:n,Date-of-Publication:s
melm 416$d Date-of-Publication:n,Date-of-Publication:s
melm 417$d Date-of-Publication:n,Date-of-Publication:s
melm 418$d Date-of-Publication:n,Date-of-Publication:s
melm 419$d Date-of-Publication:n,Date-of-Publication:s
melm 420$d Date-of-Publication:n,Date-of-Publication:s
melm 430$d Date-of-Publication:n,Date-of-Publication:s
melm 431$d Date-of-Publication:n,Date-of-Publication:s
melm 432$d Date-of-Publication:n,Date-of-Publication:s
melm 440$d Date-of-Publication:n,Date-of-Publication:s
melm 441$d Date-of-Publication:n,Date-of-Publication:s
melm 445$d Date-of-Publication:n,Date-of-Publication:s
melm 400 Link
melm 401 Link
melm 403 Link
melm 410 Link
melm 412 Link
melm 413 Link
melm 414 Link
melm 415 Link
melm 416 Link
melm 417 Link
melm 418 Link
melm 419 Link
melm 420 Link
melm 430 Link
melm 431 Link
melm 432 Link
melm 440 Link
melm 441 Link
melm 445 Link
# Authorities Title
melm 500$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 501$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 503$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 510$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 512$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 513$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 514$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 515$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 516$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 517$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 518$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 519$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 520$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 530$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 531$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 532$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 540$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 541$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 545$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 500 Title,Title:p
melm 501 Title,Title:p
melm 503 Title,Title:p
melm 510 Title,Title:p
melm 512 Title,Title:p
melm 513 Title,Title:p
melm 514 Title,Title:p
melm 515 Title,Title:p
melm 516 Title,Title:p
melm 517 Title,Title:p
melm 518 Title,Title:p
melm 519 Title,Title:p
melm 520 Title,Title:p
melm 530 Title,Title:p
melm 531 Title,Title:p
melm 532 Title,Title:p
melm 540 Title,Title:p
melm 541 Title,Title:p
melm 545 Title,Title:p
########### SUBJECTS (6xx) ##################
melm 600$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 601$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 602$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 603$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 604$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 605$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 606$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 610$9 Koha-Auth-Number,Koha-Auth-Number:n
melm 600$a Author,Author-name-personal,Author:p,Author-name-personal:p
melm 600 subject-heading,subject-heading:p
melm 601$a Author,Author-name-personal,Author:p,Author-name-personal:p
melm 601 subject-heading,subject-heading:p
melm 604$a Author,Author-name-personal,Author:p,Author-name-personal:p
melm 604$t Title
melm 610$t Title
melm 605$a Title
melm 606 subject-heading,subject-heading:p
melm 610 subject-heading
######################
#melm 650$9 Controlled-Subject-Index
melm 676$a Dewey-classification:w,Dewey-classification:s
#############"# item information (based on 995) ###############
melm 995$j LC-card-number:s
#melm 952$a Local-classification
#melm 995$a Record-source
melm 995$a Branch,Host-item
melm 995$c Branch,Record-Source
melm 995$d Branch,Record-Source
melm 995$f Stock-number
melm 995$k Call-Number,Local-Classification,lcn,Call-Number:p,Local-Classification:p,lcn:p
melm 995$s popularity:n,popularity:s
melm 995$n onloan:d,onloan:n,onloan:s
melm 995$u Note !:w, Note !:p
#melm 952$v Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
#melm 952 Local-classification