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

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to