[squeak-dev] [ANN] Z39.50 FFI Client (ZOOM binding)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] [ANN] Z39.50 FFI Client (ZOOM binding)

hernanmd
This is a binding of the ZOOM Yaz client for Squeak and Pharo [1].

To install:

1) Download the compiled library (DLL or SO) from
http://www.indexdata.dk/yaz/ and copy the yaz3.dll (or equivalent in
Unix) to your Squeak directory.
2) Make sure you have installed FFI package in your image:
3) If you have Installer in your image doIt this:

Installer ss project: 'Z3950';
  install: 'Z3950';
  install: 'Z3950Tests'.

To use:

Right now you must know the infamous PQF/PQN query syntax (I'm working
on it). Connect to a Z39.50 server and make a query for records with
author Foucault :

Z3950Client new
  server: #Alameda;
  query: '@attr 1=1003 foucault'.

or using a random server for Kant

Z3950Client new
  query: '@attr 1=1003 kant'.


Best regards

HernĂ¡n

[1] SqueakSource page link : http://www.squeaksource.com/Z3950.html