43503b37b657edc72c480328abcded9a6ee20e2a
[koha.git] / misc / zebra / record_biblios_unimarc.abs
1 # $Id$
2
3 # indexing rules. It
4 # results in a server which provides a passable Bath level 0 and 1 service
5 ############################################################################
6 # IMPORTANT : this file MUST be renamed record.abs : this name is "hardcoded" in zebra
7 # the default record.abs is designed for MARC21.
8 ############################################################################
9 # NOTE: This is designed to be used with the grs.marcxml input filter
10 # for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
11 # won't work for the old grs.marc input filter, which yields a different
12 # internal structure.
13
14 encoding utf-8
15 name marc21
16 attset bib1.att
17 attset gils.att
18 esetname F @
19 esetname B @
20
21 marc usmarc.mar
22 systag sysno rank
23 xpath disable
24
25 all any
26 melm 001        Local-number,Local-number:n
27 # Local-number (biblionumber can be either in 090$9 or, on some setup, on 001)
28 melm 090$9      Local-number,Local-number:n
29
30 melm 010$a    Standard-Number,ISBN:w
31 # wrong ISBN
32 melm 010$z    Standard-Number,ISBN:w
33 melm 011$a    Standard-Number,ISSN:w
34 # cancelled ISSN
35 melm 011$y    Standard-Number,ISSN:w
36 # wrong ISSN
37 melm 011$z    ISSN:w
38
39 melm 200$b      Material-type,Koha-ItemType
40
41
42 #melm 100$9   Cross-Reference !:w
43 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)
44 #,char-encoding:n:range(data,30,2),script-title:n:range(data,34,2)
45 melm 101     Language
46 melm 102$a     Country-heading
47
48 #Field 105 Description
49 #Illustration codes 4
50 #Form of contents codes 4
51 #Conference or meeting code 1
52 #Festschrift indicator 1
53 #Index indicator 1
54 #Literature code 1
55 #Biography code   1
56 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)
57
58 melm 106$a     Material-type
59
60 #Field 110 Description
61 #Name of Data Element                  Number of characters                 Character Positions
62 #Type of serial designator              1                                   0
63 #Frequency of issue                     1                                   1
64 #Regularity                             1                                   2
65 #Type of material code                  1                                   3
66 #Nature of contents code                3                                   4-6
67 #Conference publication indicator       1                                   7
68 #Title page availability codes          1                                   8
69 #Index availability code                1                                   9
70 #Cumulative index availability code   1                                   10
71 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)
72
73 melm 115$a     Video-mt:w:range(data,0,1)
74
75 melm 116$a     Graphics-type:w:range(data,0,1),Graphics-support:w:range(data,1,1),Graphics-support:w:range(data,2,1),
76
77
78 melm 680$b              LC-call-number:s
79 melm 680                LC-call-number
80 #melm 001               Identifier-standard:w
81
82 melm 200$b      Material-type
83 #melm 200$b      Koha-Itemtype
84
85 #melm 100$9             Cross-Reference !:w
86
87 melm 101$a              Code-Language:w
88
89 ############ AUTHORS ##################
90 # main author
91 melm 200$f              author:w,author:p,author:s
92 # other authors
93 melm 200$g              author:w,author:p
94 # physical author
95 melm 700$9        Koha-Auth-Number,Koha-Auth-Number:n
96 melm 700$a    author,Author-name-personal                                                       !:w,!:p
97 melm 700    author,Author-name-personal                                                       !:w,!:p
98
99 melm 701$9        Koha-Auth-Number,Koha-Auth-Number:n
100 melm 701    author,Author-name-personal                                                       !:w,!:p
101 melm 702$9        Koha-Auth-Number,Koha-Auth-Number:n
102 melm 702    author,Author-name-personal                                                       !:w,!:p
103 # collective author
104 melm 710$9        Koha-Auth-Number,Koha-Auth-Number:n
105 melm 710    author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name !:w,!:p
106 melm 711$9        Koha-Auth-Number,Koha-Auth-Number:n
107 melm 711    author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name !:w,!:p
108 melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n
109 melm 712    author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name !:w,!:p
110
111
112 ############## TITLE ##################
113 # main title
114 melm 200$a              title:w,title:p,title:s
115 # title 2
116 melm 200$c              title:w,title:p
117 # // title
118 melm 200$d              title:w,title:p
119 # subtitle
120 melm 200$e              title:w,title:p
121
122 melm 205    Title !:w,!:p
123
124 melm 208    Serials !:w,!:p
125 melm 207    Printed-Music !:w,!:p
126
127
128
129 melm 210$a    Place-Publication !:w,!:p
130 melm 210$c    Publisher   !:w,!:p
131 melm 210$d    Date-of-Publication,Date-of-Publication,Date !:y:s
132
133 melm 215        Physical-detail
134
135 #Series
136 melm 225$a      Title-series
137 melm 225$d      Title-series
138 #Subtitle
139 melm 225$e      Title-series 
140 #Authors
141 melm 225$f      Author,Author-Title-series
142 #Part-Title
143 melm 225$h      Title-series 
144 #Part Number
145 melm 225$i      Title-series 
146 #Volume
147 melm 225$v      Title-series 
148 melm 225$x      ISSN
149
150 melm 230$a      Electronic-Ressource
151
152 ########## NOTES #################
153 melm 300$a    Note  !:w,!:p
154 melm 301$a    Note  !:w,!:p
155 melm 302$a    Note  !:w,!:p
156 melm 303$a    Note  !:w,!:p
157 melm 304$a    Note  !:w,!:p
158 melm 305$a    Note  !:w,!:p
159 melm 306$a    Note  !:w,!:p
160 melm 307$a    Note  !:w,!:p
161 melm 308    Note  !:w,!:p
162 melm 308$a    Note  !:w,!:p
163 melm 310$a    Note  !:w,!:p
164 melm 311$a    Note  !:w,!:p
165 melm 312$a    Note  !:w,!:p
166 melm 313$a    Note  !:w,!:p
167 melm 314$a    Note  !:w,!:p
168 melm 315$a    Note  !:w,!:p
169 melm 316$a    Note  !:w,!:p
170 melm 317$a    Note  !:w,!:p
171 melm 318$a    Note  !:w,!:p
172 melm 320$a    Note  !:w,!:p
173 melm 321$a    Note  !:w,!:p
174 melm 322$a    Note  !:w,!:p
175 melm 323$a    Note  !:w,!:p
176 melm 324$a    Note  !:w,!:p
177 melm 325$a    Note  !:w,!:p
178 melm 326$a    Note  !:w,!:p
179 melm 327$a    Note  !:w,!:p
180 melm 328    Note,Thesis-Note  !:w,!:p
181 melm 328$a    Note  !:w,!:p
182 melm 330$a    Abstract,Note !:w,!:p
183 melm 332$a    Note  !:w,!:p
184 melm 333$a    Note  !:w,!:p
185 melm 336$a    Note  !:w,!:p
186 melm 337$a    Note  !:w,!:p
187 melm 345$a    Note  !:w,!:p
188
189 ############## 4XX - LINKING ##################
190 # Authorities Title
191 melm 400$t    Title
192 melm 401$t    Title
193 melm 403$t    Title,Title-Uniform
194 melm 410$t    Title
195 melm 412$t    Title
196 melm 413$t    Title
197 melm 414$t    Title
198 melm 415$t    Title
199 melm 416$t    Title
200 melm 417$t    Title
201 melm 418$t    Title
202 melm 419$t    Title
203 melm 420$t    Title
204 melm 430$t    Title
205 melm 431$t    Title
206 melm 432$t    Title
207 melm 440$t    Title
208 melm 441$t    Title
209 melm 445$t    Title
210 melm 400$d    Date-of-Publication !:n,!:s
211 melm 401$d    Date-of-Publication !:n,!:s
212 melm 403$d    Date-of-Publication !:n,!:s
213 melm 410$d    Date-of-Publication !:n,!:s
214 melm 412$d    Date-of-Publication !:n,!:s
215 melm 413$d    Date-of-Publication !:n,!:s
216 melm 414$d    Date-of-Publication !:n,!:s
217 melm 415$d    Date-of-Publication !:n,!:s
218 melm 416$d    Date-of-Publication !:n,!:s
219 melm 417$d    Date-of-Publication !:n,!:s
220 melm 418$d    Date-of-Publication !:n,!:s
221 melm 419$d    Date-of-Publication !:n,!:s
222 melm 420$d    Date-of-Publication !:n,!:s
223 melm 430$d    Date-of-Publication !:n,!:s
224 melm 431$d    Date-of-Publication !:n,!:s
225 melm 432$d    Date-of-Publication !:n,!:s
226 melm 440$d    Date-of-Publication !:n,!:s
227 melm 441$d    Date-of-Publication !:n,!:s
228 melm 445$d    Date-of-Publication !:n,!:s
229 melm 400    Link
230 melm 401    Link
231 melm 403    Link
232 melm 410    Link
233 melm 412    Link
234 melm 413    Link
235 melm 414    Link
236 melm 415    Link
237 melm 416    Link
238 melm 417    Link
239 melm 418    Link
240 melm 419    Link
241 melm 420    Link
242 melm 430    Link
243 melm 431    Link
244 melm 432    Link
245 melm 440    Link
246 melm 441    Link
247 melm 445    Link
248
249 # authorities title
250 melm 500$9    Koha-Auth-Number,Koha-Auth-Number:n
251 melm 501$9    Koha-Auth-Number,Koha-Auth-Number:n
252 melm 503$9    Koha-Auth-Number,Koha-Auth-Number:n
253 melm 510$9    Koha-Auth-Number,Koha-Auth-Number:n
254 melm 512$9    Koha-Auth-Number,Koha-Auth-Number:n
255 melm 513$9    Koha-Auth-Number,Koha-Auth-Number:n
256 melm 514$9    Koha-Auth-Number,Koha-Auth-Number:n
257 melm 515$9    Koha-Auth-Number,Koha-Auth-Number:n
258 melm 516$9    Koha-Auth-Number,Koha-Auth-Number:n
259 melm 517$9    Koha-Auth-Number,Koha-Auth-Number:n
260 melm 518$9    Koha-Auth-Number,Koha-Auth-Number:n
261 melm 519$9    Koha-Auth-Number,Koha-Auth-Number:n
262 melm 520$9    Koha-Auth-Number,Koha-Auth-Number:n
263 melm 530$9    Koha-Auth-Number,Koha-Auth-Number:n
264 melm 531$9    Koha-Auth-Number,Koha-Auth-Number:n
265 melm 532$9    Koha-Auth-Number,Koha-Auth-Number:n
266 melm 540$9    Koha-Auth-Number,Koha-Auth-Number:n
267 melm 541$9    Koha-Auth-Number,Koha-Auth-Number:n
268 melm 545$9    Koha-Auth-Number,Koha-Auth-Number:n
269
270 melm 500                title
271 melm 501                title
272 melm 503                title
273 melm 510                title
274 melm 512                title
275 melm 513                title
276 melm 514                title
277 melm 515                title
278 melm 516                title
279 melm 517                title
280 melm 518                title
281 melm 519                title
282 melm 520                title
283 melm 530                title
284 melm 531                title
285 melm 532                title
286 melm 540                title
287 melm 541                title
288 melm 545                title
289
290
291 ########## NOTES #################
292 melm 300$a              Note    !:w,!:p
293 melm 301$a              Note    !:w,!:p
294 melm 302$a              Note    !:w,!:p
295 melm 303$a              Note    !:w,!:p
296 melm 304$a              Note    !:w,!:p
297 melm 305$a              Note    !:w,!:p
298 melm 306$a              Note    !:w,!:p
299 melm 307$a              Note    !:w,!:p
300 melm 308$a              Note    !:w,!:p
301 melm 309$a              Note    !:w,!:p
302 melm 310$a              Note    !:w,!:p
303 melm 311$a              Note    !:w,!:p
304 melm 312$a              Note    !:w,!:p
305 melm 313$a              Note    !:w,!:p
306 melm 314$a              Note    !:w,!:p
307 melm 315$a              Note    !:w,!:p
308 melm 316$a              Note    !:w,!:p
309 melm 317$a              Note    !:w,!:p
310 melm 318$a              Note    !:w,!:p
311 melm 320$a              Note    !:w,!:p
312 melm 321$a              Note    !:w,!:p
313 melm 322$a              Note    !:w,!:p
314 melm 323$a              Note    !:w,!:p
315 melm 324$a              Note    !:w,!:p
316 melm 325$a              Note    !:w,!:p
317 melm 326$a              Note    !:w,!:p
318 melm 327$a              Note    !:w,!:p
319 melm 328$a              Note    !:w,!:p
320 melm 330$a              Note    !:w,!:p
321 melm 332$a              Note    !:w,!:p
322 melm 333$a              Note    !:w,!:p
323 melm 336$a              Note    !:w,!:p
324 melm 337$a              Note    !:w,!:p
325 melm 345$a              Note    !:w,!:p
326
327 ########### SUBJECTS (6xx) ##################
328 melm 600$9      Koha-Auth-Number,Koha-Auth-Number:n
329 melm 601$9      Koha-Auth-Number,Koha-Auth-Number:n
330 melm 602$9      Koha-Auth-Number,Koha-Auth-Number:n
331 melm 603$9      Koha-Auth-Number,Koha-Auth-Number:n
332 melm 604$9      Koha-Auth-Number,Koha-Auth-Number:n
333 melm 605$9      Koha-Auth-Number,Koha-Auth-Number:n
334 melm 606$9      Koha-Auth-Number,Koha-Auth-Number:n
335 melm 610$9      Koha-Auth-Number,Koha-Auth-Number:n
336
337 melm 600$a              author,Author-name-personal                                                       !:w,!:p
338 melm 600                subject-heading,subject-heading:p
339 melm 601$a              author,Author-name-personal                                                       !:w,!:p
340 melm 601                subject-heading,subject-heading:p
341 melm 604$a              author,Author-name-personal                                                       !:w,!:p
342 melm 604$t              title
343 melm 610$t              title
344 melm 605$a              title
345 melm 606                subject-heading,subject-heading:p
346 melm 610                subject-heading
347
348
349
350
351 ######################
352
353
354
355
356 #melm 650$9             Controlled-Subject-Index        
357
358 melm 676$a              Dewey-classification:w,Dewey-classification:s
359
360 #############"# item information (based on 995) ###############
361 melm 995$j              LC-card-number:s
362
363 melm 995$k              Call-Number:p,Local-classification:p,lcn:p
364
365 #melm 952$a             Local-classification
366 #melm 995$a             Record-source
367 melm 995$a              Branch,Host-item
368 melm 995$c              Branch,Record-Source
369 melm 995$d              Branch,Record-Source
370 melm 995$f              Stock-number
371 melm 995$s      popularity:n,popularity:s
372 melm 995$n    onloan:d,onloan:n,onloan:s
373 #melm 952$v             Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
374 #melm 952               Local-classification