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