Access Keys:
Skip to content (Access Key - 0)
My Area (Access Key - 2)


Toggle Sidebar
Your Rating: Results: PatheticBadOKGoodOutstanding! 6 rates

Labels

primo primo Delete
intermediate intermediate Delete
tags tags Delete
x-server x-server Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add primo tags from an external source

Tags: , , ,
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

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.

Page Attachments

File NameCommentSizeNumber of Downloads
addTags.pl2 kB57

Added by John Osborn on Nov 20, 2008 00:15, last edited by Conf Admin on Oct 30, 2009 01:17

Adaptavist Theme Builder Powered by Atlassian Confluence