List Info

Thread: opacxml




opacxml
user name
2006-12-19 13:25:57
I don't understand how to set up the OPAC xml syntax in the 
configuration file.

when I try to set opacxml as a format, in the client, I just
get:
Z> format opacxml
unknown record syntax: opacxml

when I set the format  xml, I just get a regular xml record,
and when I use 'opac' I get the desired 'OPAC' information 
- but
I need this in xml format.

If someone has this working, what does your syntax entry
look like?

Thanks,
Rick

-- 
******************************
Enrico Silterra
Meta Data Engineer
107-E Olin Library
Cornell University
Ithaca NY 14853

Voice: 607-255-6851
Fax:     607-255-6110
E-mail: es287cornell.edu
http://www.librar
y.cornell.edu/cts/
"We must walk consciously only part way toward our
goal, and then leap in the dark to our success."  - -
Thoreau
******************************


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
opacxml
user name
2006-12-20 13:26:30
Rick,
I assume that you have installed the YAZ Proxy in front of
your
Voyager Z39.50 server.  As I recall, you will need to make a
couple of small changes to your config.xml file.  I will
send
you a copy of (what I believe to be) our current version of
our
proxy's config.xml file (in a few minutes).  You can compare
that with the out-of-the-box file.

However, "opacxml" is requested as an
elementSetName and not
as a format.  See the following (from a transaction log).

All the best.  More in a few minutes.
Larry

-------------------------------------------------------

Z> format marc21

Z> s 1
Sent presentRequest (1+1).
Records: 1
[VOYAGER]Record type: USmarc
00531cam  2200181u  4500
001 8412353
005 20030530101509.0
008 810904s1958    nyua   j      000 0 eng
035    $9 (DLC)   58009017
906    $a 0 $b cbc $c premunv $d u $e ncip $f 19 $g
y-gencatlg
010    $a    58009017
040    $a DLC $c CarP $d DLC
050 00 $a PZ8.3.G276 $b Cav
100 1  $a Seuss, $c Dr.
245 14 $a The cat in the hat comes back!
260    $a New York] $b Beginner Books; $c [1958]
300    $a 61 p. $b illus. $c 24 cm.
991    $b c-GenColl $h PZ8.3.G276 $i Cav $t Copy 1 $w PREM
nextResultSetPosition = 2


Z> format opac

Z> s 1
Sent presentRequest (1+1).
Records: 1
[VOYAGER]Record type: OPAC
Record type: USmarc
00531cam  2200181u  4500
001 8412353
005 20030530101509.0
008 810904s1958    nyua   j      000 0 eng
035    $9 (DLC)   58009017
906    $a 0 $b cbc $c premunv $d u $e ncip $f 19 $g
y-gencatlg
010    $a    58009017
040    $a DLC $c CarP $d DLC
050 00 $a PZ8.3.G276 $b Cav
100 1  $a Seuss, $c Dr.
245 14 $a The cat in the hat comes back!
260    $a New York] $b Beginner Books; $c [1958]
300    $a 61 p. $b illus. $c 24 cm.
991    $b c-GenColl $h PZ8.3.G276 $i Cav $t Copy 1 $w PREM
Data holdings 0
typeOfRecord: u
encodingLevel: u
receiptAcqStatus: 0
generalRetention: |
completeness: 0
dateOfReport: 000000
nucCode: c-GenColl
localLocation: Jefferson or Adams Bldg General or Area
Studies Reading Rms
callNumber: PZ8.3.G276 Cav
copyNumber: Copy 1
circulation 0
 availableNow: 0
 itemId: 8124151
 renewable: 0
 onHold: 0
nextResultSetPosition = 2


Z> format xml

Z> elements opacxml

Z> s 1
Sent presentRequest (1+1).
Records: 1
[VOYAGER]Record type: XML
<opacRecord>
  <bibliographicRecord>
<record xmlns="http://www.l
oc.gov/MARC21/slim">
  <leader>00531cam a2200181u  4500</leader>
  <controlfield
tag="001">8412353</controlfield>
  <controlfield
tag="005">20030530101509.0</controlfield>
  <controlfield tag="008">810904s1958   
nyua   j      000 0 eng
</controlfield>
  <datafield tag="035" ind1=" "
ind2=" ">
    <subfield code="9">(DLC)  
58009017</subfield>
  </datafield>
  <datafield tag="906" ind1=" "
ind2=" ">
    <subfield code="a">0</subfield>
    <subfield code="b">cbc</subfield>
    <subfield
code="c">premunv</subfield>
    <subfield code="d">u</subfield>
    <subfield code="e">ncip</subfield>
    <subfield code="f">19</subfield>
    <subfield
code="g">y-gencatlg</subfield>
  </datafield>
  <datafield tag="010" ind1=" "
ind2=" ">
    <subfield code="a">   58009017
</subfield>
  </datafield>
  <datafield tag="040" ind1=" "
ind2=" ">
    <subfield code="a">DLC</subfield>
    <subfield code="c">CarP</subfield>
    <subfield code="d">DLC</subfield>
  </datafield>
  <datafield tag="050" ind1="0"
ind2="0">
    <subfield
code="a">PZ8.3.G276</subfield>
    <subfield code="b">Cav</subfield>
  </datafield>
  <datafield tag="100" ind1="1"
ind2=" ">
    <subfield
code="a">Seuss,</subfield>
    <subfield code="c">Dr.</subfield>
  </datafield>
  <datafield tag="245" ind1="1"
ind2="4">
    <subfield code="a">The cat in the hat
comes back!</subfield>
  </datafield>
  <datafield tag="260" ind1=" "
ind2=" ">
    <subfield code="a">New
York]</subfield>
    <subfield code="b">Beginner
Books;</subfield>
    <subfield
code="c">[1958]</subfield>
  </datafield>
  <datafield tag="300" ind1=" "
ind2=" ">
    <subfield code="a">61
p.</subfield>
    <subfield
code="b">illus.</subfield>
    <subfield code="c">24
cm.</subfield>
  </datafield>
  <datafield tag="991" ind1=" "
ind2=" ">
    <subfield
code="b">c-GenColl</subfield>
    <subfield
code="h">PZ8.3.G276</subfield>
    <subfield code="i">Cav</subfield>
    <subfield code="t">Copy
1</subfield>
    <subfield code="w">PREM</subfield>
  </datafield>
</record>
  </bibliographicRecord>
<holdings>
 <holding>
  <typeOfRecord>u</typeOfRecord>
  <encodingLevel>u</encodingLevel>
  <receiptAcqStatus>0</receiptAcqStatus>
  <generalRetention>|</generalRetention>
  <completeness>0</completeness>
  <dateOfReport>000000</dateOfReport>
  <nucCode>c-GenColl</nucCode>
  <localLocation>Jefferson or Adams Bldg General or
Area Studies Reading
Rms</lo
calLocation>
  <callNumber>PZ8.3.G276 Cav</callNumber>
  <copyNumber>Copy 1</copyNumber>
  <circulations>
   <circulation>
    <availableNow value="0"/>
    <itemId>8124151</itemId>
    <renewable value="0"/>
    <onHold value="0"/>
   </circulation>
  </circulations>
 </holding>
</holdings>
</opacRecord>
nextResultSetPosition = 2

Z> close
Sent close request.
Target closed connection


On Tue, 19 Dec 2006, Enrico Silterra wrote:

> I don't understand how to set up the OPAC xml syntax in
the 
> configuration file.
> 
> when I try to set opacxml as a format, in the client, I
just get:
> Z> format opacxml
> unknown record syntax: opacxml
> 
> when I set the format  xml, I just get a regular xml
record,
> and when I use 'opac' I get the desired 'OPAC'
information  - but
> I need this in xml format.
> 
> If someone has this working, what does your syntax
entry look like?
> 
> Thanks,
> Rick
> 
> -- 
> ******************************
> Enrico Silterra
> Meta Data Engineer
> 107-E Olin Library
> Cornell University
> Ithaca NY 14853
> 
> Voice: 607-255-6851
> Fax:     607-255-6110
> E-mail: es287cornell.edu
> http://www.librar
y.cornell.edu/cts/
> "We must walk consciously only part way toward our
goal, and then leap in the dark to our success."  - -
Thoreau
> ******************************


------------------------------------------------------------
Larry E. Dixson                    Internet:    ldixloc.gov
Network Development and MARC
   Standards Office, LA327
Library of Congress                Telephone: (202) 707-5807
Washington, D.C.  20540-4402       Fax:       (202) 707-0115


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )