Chapter 15. Cataloging timesavers and shortcuts

Table of Contents

MARC Templates
Adding MARC Templates

MARC Templates

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.

Adding MARC Templates

  1. 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>
  2. Add the template to the to the marctemplates list in the open-ils.cat section of the Evergreen configuration file opensrf.xml.
  3. Restart perl services for changes to take effect with the command /openils/bin/osrf_ctl.sh -l -a restart_perl