[Yazlist] How to format marc record on server side to return with holdings in yaz client?

jbchurn at gmail.com jbchurn at gmail.com
Sat Jan 9 00:13:42 CET 2010


I see. Is the OPAC record that I need to format looks exactly like what I paste earlier in this email? Or the format I see in yaz client has been formatted by yaz client.

I just start learning abt this OPAC record and using simpleserver to build Z39.50 server, so I would like some advice on the exact OPAC record format that I should pass back via simpleserver.

Can you help me by illustrate using an example? Really appreciate the help.

Thanks.

- original message -
Subject: Re: [Yazlist] How to format marc record on server side to return with holdings in yaz client?
From: Mike Taylor <mike at indexdata.com>
Date: 08.01.2010 7:00 PM

You need to return an OPAC record rather than a MARC record.  OPAC
records contain an embedded MARC record, together with holdings
information.


2010/1/8 Jap Boon Churn <jbchurn at gmail.com>:
> Hi,
>
> Below is what I get when searching others Z39.50 server using Yaz client.
> After the MARC, it contains the holdings information.
>
> Can someone give me some advise on how should I format my marc record
> on server side so that it will return with holdings info like below?
>
> Record type: USmarc
> 00698nam  2200229 a 4500
> 008 891003s1988    cauab    b   z00100 eng
> 010    $a    87023247
> 020    $a 0803926022 (v.1)
> 020    $a 08039326030 (v.2)
> 035    $a (SWIN)110004
> 089 00 $a 307.764 $s MET
> 245 04 $a The Metropolis era / $c editors, Mattei Dogan, John D. Kasarda
> 260    $a Newbury Park, Calif. : $b Sage, $c 1988
> 300    $a 2 v. : $b ill., maps
> 505 0  $a v. 1 A world of giant cities -- v. 2 Mega-cities
> 650  0 $a Metropolitan areas
> 650  0 $a Cities and towns $x Growth
> 700 1  $a Dogan, Mattei
> 700 1  $a Kasarda, John D.
> 740 2  $a A world of giant cities
> 740 0  $a Mega-cities
> 984 00 $a 2740 $c 242413
>
> Data holdings 0
> localLocation: Hawthorn
> circulation 0
>  availableNow: 255
>  restrictions: Hawthorn
>  itemId: Hawthorn
>  renewable: 255
>  onHold: 0
>  midspine: 307.764 MET
>  temporaryLocation: 307.764 MET
> nextResultSetPosition = 2
>
>
> Thanks.
>
> _______________________________________________
> Yazlist mailing list
> Yazlist at lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
>
>

_______________________________________________
Yazlist mailing list
Yazlist at lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist




More information about the Yazlist mailing list