[OPEN-ILS-DEV] z39.50 again

Dan Scott dan at coffeecode.net
Tue Sep 7 15:45:02 EDT 2010


On Tue, 2010-09-07 at 16:30 -0300, Grant Johnson wrote:
> Any idea's?
> 
> Racer  and Refworks and some Z39.50 clients have problems retrieving
> records.
> 
> Here's is the config for clients to connect:
> http://library.upei.ca/z3950
> 
> I've tried dgo.conf as <charset>marc-8</charset> and
> <charset>utf8</charset> and restarted.
> 
> $ less dgo.conf 
> 
> <client>
>    <database name="evergreen">
>     
> <zurl>http://islandpines.roblib.upei.ca/opac/extras/sru/upei/holdings</zurl>
>      <option name="sru">get</option>
>      <charset>marc-8</charset>
>      <search>
>        <querytype>cql</querytype>
>        <map use="4"><index>eg.title</index></map>
>        <map use="7"><index>eg.keyword</index></map>
>        <map use="8"><index>eg.keyword</index></map>
>        <map use="21"><index>eg.subject</index></map>
>        <map use="1003"><index>eg.creator</index></map>
>        <map use="1018"><index>eg.publisher</index></map>
>        <map use="1035"><index>eg.keyword</index></map>
>        <map use="1016"><index>eg.keyword</index></map>
>      </search>
>    </database>
> </client>

Ours is roughly the same; we created a keyword|identifer index and
labeled that eg.identifier, so our 7 / 8 values point to that instead.
But that only affects search accuracy, not encoding.

> $ less xml2marc-yaz.cfg 
> 
> <yazgfs>
>     <server id="islandpines">
>     <retrievalinfo>
>         <retrieval syntax="xml"/>
>         <retrieval syntax="marc21">
>             <backend syntax="xml">
>                 <marc inputformat="xml" outputformat="marc"
> outputcharset="marc-8"/>
>             </backend>
>         </retrieval>
>     </retrievalinfo>
>     </server>
> </yazgfs>
> 

Our <marc> element also includes an inputcharset="utf-8" attribute;
perhaps that's a significant difference?

Also, what version of yaz and Simple2ZOOM are you running?

$ yaz-config --version
3.0.47

perl -MNet::Z3950::Simple2ZOOM -e 'print
$Net::Z3950::Simple2ZOOM::VERSION . "\n"'
1.04

Dan



More information about the Open-ils-dev mailing list