Cataloging Templates

Cataloging templates are essential for making the cataloging process more efficient. Templates are used so that the basic structure of specific types of cataloging records can be loaded when the cataloger adds a new record

Adding Cataloging 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.

    /openils/bin/osrf_ctl.sh -l -a restart_perl

Report any errors in this documentation using Launchpad.
Documentation for Evergreen version 2.1
Copyright © 2007-2011, Memebers of the Evergreen Project