Story[BF2Marc]: Convert Illustrations Category to marc field 008, char 18-21
Description
Purpose of this story is to Update Marc4ld conversion Java library to convert “illustrations” edge of the Work to characters 18-21 (both inclusive; zero based indexing) of Control field 008.
For each “illustrations” edge, get the character from the “code” property of the target Category resource and append it to position 18-21 of 008. If there are more than 4 “illustrations” edge from the Work, take only four edges and discard the remaining. (as MARC 008 can hold only upto 4 illustrations in chars 18-21.
The MARC code corresponding to each illustration type is given below
a - Illustrations b - Maps c - Portraits d - Charts e - Plans f - Plates g - Music h - Facsimiles i - Coats of arms j - Genealogical tables k - Forms l - Samples m - Phonodisc, phonowire, etc. o - Photographs p - Illuminations
Example:
Consider the below graph.
The resulting 008 should be as follows, where characters in position 18-21 is “bcde“
Purpose of this story is to Update Marc4ld conversion Java library to convert “illustrations” edge of the Work to characters 18-21 (both inclusive; zero based indexing) of Control field 008.
For each “illustrations” edge, get the character from the “code” property of the target Category resource and append it to position 18-21 of 008. If there are more than 4 “illustrations” edge from the Work, take only four edges and discard the remaining. (as MARC 008 can hold only upto 4 illustrations in chars 18-21.
The MARC code corresponding to each illustration type is given below
a - Illustrations
b - Maps
c - Portraits
d - Charts
e - Plans
f - Plates
g - Music
h - Facsimiles
i - Coats of arms
j - Genealogical tables
k - Forms
l - Samples
m - Phonodisc, phonowire, etc.
o - Photographs
p - Illuminations
Example:
Consider the below graph.
The resulting 008 should be as follows, where characters in position 18-21 is “bcde“
200221c201u9999ja bcde f0 d0jpn