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

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

Updated z3950 documentation a bit.

  • 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, no servers are set up, although the config file
38comes with two (commented out) example Z39.50 servers, both for servers
39of the United States' <b>Library of Congress</b>.
40<p>
41Each entry consists of:
42<ul>
43<li>A unique "short name" for internal use by Greenstone.</li>
44<li>The internet name or address of the server, and optionally the
45port that the server is running on if not the default port 210.</li>
46<li>The name of the database to search on that server.</li>
47<li>A string that provides a meaningful name for the "collection".</li>
48<li>An optional "About" string, providing some information about the database
49and/or server.</li>
50<li>Optional icon fields, which are displayed instead of the text on the
51front page.</li>
52</ul>
53The entries need only be separated by whitespace, but for the purposes of
54clarity the sample entry uses newlines and tabs.
55<p>
56The sample Library of Congress entry looks like this:
57<pre>
58LOC
59 z3950.loc.gov:7090
60 Voyager
61 "Library of Congress z39.50 server"
62 About en "This is the z39.50 interface to the US LoC catalogue
63 system. It contains approximately 12 million bibliographic records.
64 For server capabilities, look at
65 &lt;a href=\"http://lcweb.loc.gov/z3950/lcserver.html\"&gt;their web pages&lt;/a&gt;."
66</pre>
67There is a list at the Library Of Congress website containing some
68<a href="http://lcweb.loc.gov/z3950/agency/resources/testport.html">servers
69publicly available for testing</a>.
70
71
72<a name=todo>
73<h2>Known Problems/Issues and Todo list</h2>
74</a>
75Note - a more up-to-date list (and possibly even fixes...) may be available
76on the main website at <a href="http://www.nzdl.org/">www.nzdl.org</a>.
77<ul>
78<li>The query syntax is currently undergoing review.</li>
79<li>Because of the open nature of the standard, our client may not work with
80some servers. Please notify the author (contact details below) of any
81such problems.</li>
82<li>Because of the large number of Marc fields, only the most frequently
83used fields have been given explicit names in the results. </li>
84<li><b>The z39.50 client will not work when fast-cgi is used!</b>. Currently,
85the use of the fast-cgi package (off by default) will disable the
86use of the z39.50 client code for Greenstone.</li>
87<li>There are spurious &lt;B&gt; tags in the title of the window when
88viewing an individual record.</li>
89<li>Greenstone will claim there are no collections if there are no
90sub-directories in the "collect" directory, even if there are configured
91z39.50 servers, although it will work if there are unbuilt collections.</li>
92</ul>
93
94<b>History</b><br>
95Aug 2000 - Various bug fixes and minor modifications.<br>
96Fri Aug 4 2000 - The z39.50 code is now "stable" in the main source code (in CVS).<br>
97Tue 1 Aug 2000 - selecting a field from the drop-down box now actually works.
98This results in both quicker replies and more accurate results.<br>
99Mon 24 Jul 2000 - queries are now "AND"ed - for example, the query "computer
100science" will now only return records that contain both words.<br>
101May-June 2000 - Code written.<br>
102
103<a name=contact>
104<h2>Contact Details</h2>
105</a>
106For general comments about Greenstone, or suggestions for improvements, send
107email to
108<a href="mailto:[email protected]?subject=z39.50 client in Greenstone">[email protected]</a><br>
109<br>
110For bug reports or questions about the z39.50 code itself, send email to
111the author, John McPherson -
112<a href="mailto:[email protected]?subject=z39.50 client in Greenstone"
113>[email protected]</a>. (I am currently at the University of Waikato
114until June 2001)
115
116<p>
117<a href="#top">Back to top</a>
118<p>
119<address>Last modified: August 7, 2000 by John McPherson</address>
120</body>
121</html>
Note: See TracBrowser for help on using the repository browser.