Add primo tags from an external source
Tags: primo
, x-server
, tags
, intermediate
Last Updated: Oct 30, 2009 01:17
- Description
This small perl script calls the Add Tag web service. Input is an Aleph sequential file containing system number
- and information about subjects and genres (see comments in attached code). This is a first attempt at "seeding" tags.
- 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
Working example
Tags populated in batch on our test server:
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.
| 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.

