[ipac] weird hip question

Tod Olson tod at uchicago.edu
Thu Apr 26 17:39:10 EDT 2007


On Apr 26, 2007, at Apr 26, 3:28 PM, Jonathan Rochkind wrote:

> Okay, this is a weird HIP question, part of my continuing project  
> to do
> weird things with HIP that it never intended.
>
> I want to put a line from the MARC record on the HIP "non marc"  
> full bib
> display, in it's entirety, with sub-tag codes. Like: "780: 00 $a
> American Society for Information Science. $t Journal of the American
> Society for Information Science $x 0002-8231 $w (DLC) 75640174 $w
> (OCoLC)1798118"
>
> Is there any way anyone can think of to get that on the HIP full bib
> display?
>
> I know it's an odd question.  Basically, I want to get this  
> information
> from my external software for a particular tag, but making yet another
> HTTP request to ask for the MARC display is dissapointing to me. So  
> I'm
> trying to think of any possible weird workarounds.

In that display you get everything that the marc maps give you to  
work with, which is more than most people realize. I think you can  
get all the subfields, but not the indicators. For a model, look at  
the marc_map display for the 856 (whatever it's called). It uses what  
is effectively a minimal macro language. Some of the entries for some  
of the subfields, like maybe subfield u, will have some text and a $_  
notation. The $_ is replaced by the value of the current subfield. So  
for the field of interest, you could define for every subfield a  
pattern like " $a $_" (Actually, that probably inserts a space, the  
value of subfield a, another space, and the value of the current  
subfield. You probably need to escape that first $ somehow, probably  
using either "$$" or "\$".) And you could just define the display  
label to be the name of the subfield, or include it in the text of  
the subfield a display or something. But you can't get the indicator  
values using this method.

Tod Olson <tod at uchicago.edu>
Systems Librarian
University of Chicago Library




More information about the ipac mailing list