Kyle's suggestion to try the III listserv is a good one.  Trying to use III's 
tokens within a script I would
figure is challenging  at best given their proprietary nature.and their quirks 
-- not the least of which are that
when used on a web page  the token must be on a line by itself and must start 
in column 1.
 
My best guess is that if your statement were to work at all it would probably 
have to be formatted in 3 separate lines
similar to this:
 
<a href="http://testingserver.cwu.edu/myapp.php?callnum= 
<http://testingserver.cwu.edu/myapp.php?callnum=> 
<!--{itemcallno}-->
">TEST-LINK</a>

and even then it might not work the code is not on the III server.
 
Lots of luck trying.

 
Giles W. Riesner, Jr.
Lead Library Technician, Library Technology
Community College of Baltimore County
Catonsville Campus Library

________________________________

From: Code for Libraries on behalf of Gavin Spomer
Sent: Tue 10/9/2012 2:28 PM
To: [email protected]
Subject: [CODE4LIB] Getting The Call Number In bib_display.html On III System



Hello folks,

I'm trying to figure out the III web dev interface in the Millenium java 
client. What a clunky, rinky-dink interface, IMHO! :)

I want to be able to display an item's call number in bib_display.html so I can 
feed it to a php script on another web server. It was suggested to me that the 
token for that was:

   <!--{itemcallno}-->

I tried that on our staging site, but it does not display anything. 
Specifically, I put in:

   <a 
href="http://testingserver.cwu.edu/myapp.php?callnum=<!--{itemcallno}-->">TEST-LINK</a>

The link with text "TEST-LINK" displayed, but the callnum parameter wasn't 
added.

Can anyone point this guy in the right direction?
Gavin Spomer
Systems Programmer
Brooks Library
Central Washington University

Reply via email to