source: trunk/gsdl/docs/z3950.html@ 1470

Last change on this file since 1470 was 1470, checked in by jrm21, 24 years ago

* empty log message *

  • Property svn:keywords set to Author Date Id Revision
File size: 4.7 KB
Line 
1<html>
2<head>
3<title>Using the Z39.50 Client in Greenstone</title>
4</head>
5
6<body>
7<a name=top>
8<h1>Using the Z39.50 Client in Greenstone</h1>
9</a>
10<b>Table of Contents</b><br>
11<a href="#whatis">About: What is Z39.50?</a><br>
12<a href="#config">Configuring Greenstone - Adding Servers</a><br>
13<a href="#todo">Currently known problems, and TODO list</a><br>
14<a href="#contact">Contacting Us</a><br>
15
16
17
18<a name=whatis>
19<h2>What is Z39.50?</h2>
20</a>
21Z39.50 is an international client/server protocol for searching bibliographic
22data. It can use the Internet Protocol (TCP/IP), which makes the databases
23on a server available from almost anywhere around the globe. It is widely
24used, for example, in on-line library catalogues. It allows a user to search
25one or more databases and retrieve the results of the query.
26
27<p>
28Our implementation uses the YAZ z39.50 toolkit, written by
29<a href="http://www.indexdata.dk">Index Data</a>.
30
31
32
33<a name=config>
34<h2>Adding Servers</h2>
35</a>
36The file z3950.cfg in the etc/recpt directory contains entries for
37each server. By default, Greenstone comes with one Z39.50 server
38already configured, that of the United States' <b>Library of Congress</b>.
39<p>
40Each entry consists of:
41<ul>
42<li>A unique "short name" for internal use by Greenstone.</li>
43<li>The internet name or address of the server, and optionally the
44port that the server is running on if not the default port 210.</li>
45<li>The name of the database to search on that server.</li>
46<li>A string that provides a meaningful name for the "collection".</li>
47<li>An optional "About" string, providing some information about the database
48and/or server.</li>
49<li>Optional icon fields, which are displayed instead of the text on the
50front page.</li>
51</ul>
52The entries need only be separated by whitespace, but for the purposes of
53clarity the sample entry uses newlines and tabs.
54<p>
55The sample Library of Congress entry looks like this:
56<pre>
57LOC
58 z3950.loc.gov:7090 Voyager
59 "Library of Congress z39.50 server"
60 About en "This is the z39.50 interface to the US LoC catalogue
61 system. It contains approximately 12 million bibliographic records.
62 For server capabilities, look at
63 &lt;a href=\"http://lcweb.loc.gov/z3950/lcserver.html\"&gt;their web pages&lt;/a&gt;."
64</pre>
65See the file for another (commented out) example. There is a list at the
66Library Of Congress website containing some
67<a href="http://lcweb.loc.gov/z3950/agency/resources/testport.html">servers
68publicly available for testing</a>.
69
70
71<a name=todo>
72<h2>Known Problems/Issues and Todo list</h2>
73</a>
74Note - a more up-to-date list (and possibly even fixes...) may be available
75on the main website at <a href="http://www.nzdl.org/">www.nzdl.org</a>.
76<ul>
77<li>The query syntax is currently undergoing review.</li>
78<li>Because of the open nature of the standard, our client may not work with
79some servers. Please notify the author (contact details below) of any
80such problems.</li>
81<li>Because of the large number of Marc fields, only the most frequently
82used fields have been given explicit names in the results. </li>
83<li><b>The z39.50 client will not work when fast-cgi is used!</b>. Currently,
84the use of the fast-cgi package (off by default) will disable the
85use of the z39.50 client code for Greenstone.</li>
86<li>There are spurious &lt;B&gt; tags in the title of the window when
87viewing an individual record.</li>
88<li>Greenstone will claim there are no collections if there are no
89sub-directories in the "collect" directory, even if there are configured
90z39.50 servers, although it will work if there are unbuilt collections.</li>
91</ul>
92
93<b>History</b><br>
94Aug 2000 - Various bug fixes and minor modifications.<br>
95Fri Aug 4 2000 - The z39.50 code is now "stable" in the main source code (in CVS).<br>
96Tue 1 Aug 2000 - selecting a field from the drop-down box now actually works.
97This results in both quicker replies and more accurate results.<br>
98Mon 24 Jul 2000 - queries are now "AND"ed - for example, the query "computer
99science" will now only return records that contain both words.<br>
100May-June 2000 - Code written.<br>
101
102<a name=contact>
103<h2>Contact Details</h2>
104</a>
105For general comments about Greenstone, or suggestions for improvements, send
106email to
107<a href="mailto:[email protected]?subject=z39.50 client in Greenstone">[email protected]</a><br>
108<br>
109For bug reports or questions about the z39.50 code itself, send email to
110the author, John McPherson -
111<a href="mailto:[email protected]?subject=z39.50 client in Greenstone"
112>[email protected]</a>. (I am currently at the University of Waikato
113until June 2001)
114
115<p>
116<a href="#top">Back to top</a>
117<p>
118<address>Last modified: August 7, 2000 by John McPherson</address>
119</body>
120</html>
Note: See TracBrowser for help on using the repository browser.