Table of Contents
MARC Templates make the cataloging process more efficient for catalogers. At this time, MARC Templates have to be created on the server, rather than in the Web client.
Create a marc template in the directory /openils/var/templates/marc/. It should be in xml format. Here is an
example file k_book.xml
:
<record> <leader>00620cam a2200205Ka 4500</leader> <controlfield tag="008">070101s eng d</controlfield> <datafield tag="010" ind1="" ind2=""> <subfield code="a"></subfield> </datafield> <datafield tag="020" ind1="" ind2=""> <subfield code="a"></subfield> </datafield> <datafield tag="082" ind1="0" ind2="4"> <subfield code="a"></subfield> </datafield> <datafield tag="092" ind1="" ind2=""> <subfield code="a"></subfield> </datafield> <datafield tag="100" ind1="" ind2=""> <subfield code="a"></subfield> </datafield> <datafield tag="245" ind1="" ind2=""> <subfield code="a"></subfield> <subfield code="b"></subfield> <subfield code="c"></subfield> </datafield> <datafield tag="260" ind1="" ind2=""> <subfield code="a"></subfield> <subfield code="b"></subfield> <subfield code="c"></subfield> </datafield> <datafield tag="300" ind1="" ind2=""> <subfield code="a"></subfield> <subfield code="b"></subfield> <subfield code="c"></subfield> </datafield> <datafield tag="500" ind1="" ind2=""> <subfield code="a"></subfield> </datafield> <datafield tag="650" ind1="" ind2=""> <subfield code="a"></subfield> <subfield code="v"></subfield> </datafield> <datafield tag="650" ind1="" ind2=""> <subfield code="a"></subfield> </datafield> </record>
opensrf.xml
.
/openils/bin/osrf_control -l --restart --service=open-ils.cat