Questions tagged [z39.50]

Z39.50 is an international communications protocol for information retrieval

Z39.50 specifically refers to the International Standard, ISO 23950: "Information Retrieval (Z39.50): Application Service Definition and Protocol Specification".

Full documentation available at Library of Congress

15 questions
11
votes
2 answers

How to retrieve book's information in XML/JSON from library of congress by ISBN

The Library of Congress has a site to search books by ISBN. A simple way to retrive book's information is using a URL like: http://lccn.loc.gov/2009019559/mods where it returns a XML structure that may parse easily. The URL requires a unique LCCN…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
3
votes
1 answer

Z39.50 Unreadable Response From Server

I am creating a client using C#, Visual Studio 2010 and Zoom.net to get data from a Z39.50 server but I am getting an unreadable response. I noticed that the response contains numbers like this response but the content of every line is in some…
Apostolos
  • 187
  • 1
  • 11
2
votes
1 answer

PyZ3950 - EncodingError: Bad type to bytes_write after porting to Python 3

I am trying to connect to a database using PyZ3950 in a django application to retrieve data. This module is very old, and it has been working for Python 2, but I can't find a working version for Python 3. https://github.com/danizen/PyZ3950 repo on…
2
votes
0 answers

z39.50 python 3.6 package

Is there a Python 3.6 compatible Z39.50 stack? I need to get XML-formatted MARC records from library databases that do not support SRU.
1
vote
0 answers

Z3950 PresentResponse for OPAC

Any idea how I can set the OPACRecord object on PresentResponse in Z39.50? PresentResponse only accepts Records which is a list of NamePlusRecords and each NamePlusRecord object only allows an External object. Any inputs would be helpful.…
Prasad
  • 45
  • 1
  • 11
1
vote
1 answer

How to connect Z39.50 with YAZ client in JAVA?

My requirement is to connect to Z39.50 server from Java code. For connecting to Z39.50 server, I used YAZ client for Windows System which connects to the server and gives the response in MARC/XML format. There is command prompt which takes command…
sandy
  • 93
  • 2
  • 9
1
vote
0 answers

Z39.50 Zoom.Net.YazSharp Set sort, start and offset record to Retrieve part of results only

I am using Zoom.Net.YazSharp to communicate with other libraries using Z39.50 protocol. The issue when I send a query and the results returns with many records, my application hanging if you try to loop on those records. So I need a way to limit the…
1
vote
2 answers

where to start with z3950 and Java

I'm writing Java web project, main goal is - searching in libraries with z39.50 protocol.(it's client not server) I've found that there is ZOOM library. from this project born series of projects: JZKit, YAZ4J, JAFER. I tried Yaz-client (in Windows),…
miroque
  • 320
  • 1
  • 5
  • 21
0
votes
0 answers

How to change Z39.50 port in Geonetwork fixing the error "Address already in use"?

I have deployed two portals (on two tomcat instances) each of which are based on Geonetwork 2.6.0.0 which use Z39.50 protocol. By default the port for both of them is 2100 which causes the second portal to give the following error: ERROR…
0
votes
0 answers

PHP 7.2 says Yaz functions are undefined

I have installed yaz library (see phpinfo below). The yaz.so is in the proper extension folder, it shows up in my phpinfo (see below). Yet when I attempt to use any of the functions, php says undefined. What am I missing? From phpInfo() PHP Version…
Keith Sorbo
  • 25
  • 1
  • 10
0
votes
1 answer

Problems installing yaz extension on php5 using XAMPP (Windows 64 bit)

I can't install the YAZ extension on php. I'm running php5 (Version 5.6.19) on a local installation of XAMPP on my computer. My OS is windows 7 (64 bit). I already tried the following: 1) Downloaded the extension from pecl, and placed it in the…
qwerty1234
  • 11
  • 4
0
votes
1 answer

How to connect to database using z39.50

from PyZ3950 import zoom conn = zoom.Connection ('z3950.iacentre.com', 210,user='gaurishankar') conn.databaseName = 'itke' conn.preferredRecordSyntax = 'USMARC' query = zoom.Query ('CCL', 'mango') res = conn.search (query) print res [0] This is my…
Dark Matter
  • 190
  • 2
  • 13
0
votes
1 answer

PyMarc Invalid Literal Error

I'm trying to parse a MARC file downloaded from the Library of Congress. I've successfully downloaded the record using the PyZ3950, but when I try to parse the file using PyMarc, I get the following error: Traceback (most recent call last): File…
0
votes
3 answers

How do I decode garbled text from the Library of Congress?

I am making a z39.50 search in python, but have a problem with decoding search results. The first search result for "harry potter" is apparantly a hebrew version of the book. How can I make this into unicode? This is the minimal code I use to get a…
Hobhouse
  • 15,463
  • 12
  • 35
  • 43
-1
votes
1 answer

Symfony 3 - Looking for a Bundle to interacte with a serveur using z39.50 protocol

I'm looking for a bundle to interacte with a serveur using z39.50 protocol. I have found this link on git hub but the latest modified on 2009.. https://github.com/Symfony-Plugins/sfZ3950Plugin/blob/master/README $ symfony plugin-install…
Camille Colvray
  • 420
  • 3
  • 16