Add primo tags from an external source
Tags: primo, intermediate, tags, x-server
Last Updated: Oct 30, 2009 01:17
- Author: John Osborn
- Additional author(s):
- Institution:
University of Iowa
- Year: 2008
- License: BSD style
- Short description: Use, modification and distribution of the code are permitted provided the copyright notice, list of conditions and disclaimer appear in all related material.
- Link to terms: [Detailed license terms]
- Skill required for using this code:
intermediate
State
In development
Programming language
perl
Software requirements
perl must be installed
Screen captures

Download
addTags.pl
Working example
Tags populated in batch on our test server:
http://primo6.lib.uiowa.edu:1701/primo_library/libweb/action/tagsAction.do?menuitem=1&fn=showTagsPage
Using the following Ex Libris open interfaces
Add Tag X-Service
Changes
Release notes
Installation instructions
Modify perl script according to the format of the input from which the tags will be derived.
<Code sample>Text...</Code sample>
 | Tip sample |
 | Info sample |
TO DO list
Known issues
Comments
This script reads an Aleph Sequential file and sends xservice requests to add tags.
In this case, the Aleph records were derived from a SQL Server database where we store information about our miscellaneous E-Resources.
Included in the database tables is information about subjects and genres. We have stored that information in local 930 fields in Aleph.
The script uses the information from the 930 field to create the tag value. User ID is hard-coded at this point.
The PNX RECORDID is derived from the Aleph system number in the file.