1 / 6

API Tools: Best Practices

API Tools: Best Practices. Margaret Pelfrey SIRSI CORPORATION October 2004. Global Editing. Capture stderr Capture keys & Original values selitem –tREFBOOK –gFIC,NONFIC –oIg 2>sel.err >orig.keys cat orig.keys | edititem –gREF 2>edit.err cat orig.keys | touchkeys 2>t.err

donoma
Télécharger la présentation

API Tools: Best Practices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. API Tools:Best Practices Margaret Pelfrey SIRSI CORPORATION October 2004

  2. Global Editing Capture stderr Capture keys & Original values selitem –tREFBOOK –gFIC,NONFIC –oIg 2>sel.err >orig.keys cat orig.keys | edititem –gREF 2>edit.err cat orig.keys | touchkeys 2>t.err cat orig.keys | editcatalog –u4 2>editstat.err

  3. Global Editing • Use apiserver • Use editrawmarc against sample data before using editmarc against database

  4. General Practices • Document • Seltools – start with lowest common denominator • Keep copies of delivered & custom scripts • scriptname.pl.deliv.2003.1.3.0 • scriptname.pl.custom.2003.1.3.0

  5. Extracting MARC Data • prtentry • seltools (First occurrence of field) • marcprint catalogdump | marcprint –t650 • prtitem prtitem -iC -e245,500,710 -cf -ln -z

  6. Editing VED Data • edituserved • catalogmerge • veddump & reload • editmarc & updsubfield • apiserver

More Related