Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.46 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.46 KB

web-z3950

This tool is a binding to access Z39.50 protocol over HTTP. It is a proof-of-concept of using NodeJS to perform Z39.50 requests with IndexData's Yaz-client and to serve the resulting Marc records.

A demo of this service can be found online at https://web-z3950.herokuapp.com/

Called with no parameter, this help is displayed.

The service must be fed three mandatory parameters:

  • server: the server to connect, in the form address:port/database
  • isbn: a list of ISBN, comma-separated
  • format: the desired MARC output format, usually usmarc or unimarc

In case there are some queries without results, they are signaled through the "Void" response header.

Sample query

In order to query the Library of Congress' Z39.50 server for two MARC21 records describing the books identified by ISBN 0596001312 & 0066620724, the following URL must be called:

https://web-z3950.herokuapp.com/?server=lx2.loc.gov:210/LCDB&isbn=0066620724,0596001312&format=usmarc

/!\ As for now, this tool only handles basic ISBN searches (@attr1=7), it should be updated to handle all Z39.50 commands. Anyway this tool is not production-ready. /!\

Credits

This whole thing is obviously based on the Zoom API, used through YAZ by IndexData.