source: tags/gsdl-2_30d-distribution/gsdl/docs/z3950.html@ 2308

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

updated history.

  • Property svn:keywords set to Author Date Id Revision
File size: 4.8 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>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>
94Oct 2000 - cache results from server, so cut down the number of connections for
95a single query/document. Also added href for MARC field 856.<br>
96Aug 2000 - Various bug fixes and minor modifications.<br>
97Fri Aug 4 2000 - The z39.50 code is now "stable" in the main source code (in CVS).<br>
98Tue 1 Aug 2000 - selecting a field from the drop-down box now actually works.
99This results in both quicker replies and more accurate results.<br>
100Mon 24 Jul 2000 - queries are now "AND"ed - for example, the query "computer
101science" will now only return records that contain both words.<br>
102May-June 2000 - Code written.<br>
103
104<a name=contact>
105<h2>Contact Details</h2>
106</a>
107For general comments about Greenstone, or suggestions for improvements, send
108email to
109<a href="mailto:[email protected]?subject=z39.50 client in Greenstone">[email protected]</a><br>
110<br>
111For bug reports or questions about the z39.50 code itself, send email to
112the author, John McPherson -
113<a href="mailto:[email protected]?subject=z39.50 client in Greenstone"
114>[email protected]</a>. (I am currently at the University of Waikato
115until June 2001)
116
117<p>
118<a href="#top">Back to top</a>
119<p>
120<address>Last modified: October 27, 2000 by John McPherson</address>
121</body>
122</html>
Note: See TracBrowser for help on using the repository browser.