en:user_advanced:z3950
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:user_advanced:z3950 [2018/03/26 01:29] – [Known Problems/Issues list] kjdon | en:user_advanced:z3950 [2020/11/11 23:36] – [Using the z3950 server] kjdon | ||
---|---|---|---|
Line 2: | Line 2: | ||
**[[http:// | **[[http:// | ||
- | Greenstone has support for Z39.50, both as a client and a server. GLI can download MARC records using Z39.50 and MARCXML records using SRU. These records can then be included in a collection. This support is enabled by default. | + | Greenstone has support for Z39.50, both as a client |
- | The Greenstone run-time can also act as a client to multiple Z39.50 servers, and a Z39.50 server program is also available. | + | The Greenstone |
- | Z39.50 support in Greenstone is based around the YAZ toolkit, written by [[http:// | + | Z39.50 support in Greenstone is based around the YAZ toolkit, written by [[http:// |
===== Download through Z39.50 ===== | ===== Download through Z39.50 ===== | ||
Line 14: | Line 14: | ||
^Argument^Description^ | ^Argument^Description^ | ||
- | |Host ('' | + | |Host ('' |
- | |Port ('' | + | |Port ('' |
- | |Database ('' | + | |Database ('' |
- | |Find ('' | + | |Find ('' |
|Max records ('' | |Max records ('' | ||
Line 26: | Line 26: | ||
As the files downloaded via Z39.50 are in MARC format, they can be processed by [[en: | As the files downloaded via Z39.50 are in MARC format, they can be processed by [[en: | ||
+ | |||
+ | [[https:// | ||
+ | |||
==== Querying in YAZ ==== | ==== Querying in YAZ ==== | ||
Line 38: | Line 41: | ||
Greenstone also supports downloading from a Z39.50 server through SRU. If using the GLI, select SRU on the Download panel. The options for SRU are the same as for Z39.50 download, but different //host// and //port// values should be used here. For example, to connect to the Library of Congress Z39.50 server through SRU, the following host and port should be specified: | Greenstone also supports downloading from a Z39.50 server through SRU. If using the GLI, select SRU on the Download panel. The options for SRU are the same as for Z39.50 download, but different //host// and //port// values should be used here. For example, to connect to the Library of Congress Z39.50 server through SRU, the following host and port should be specified: | ||
< | < | ||
- | host: http://z3950.loc.gov | + | host: http://lx2.loc.gov |
- | | + | |
</ | </ | ||
Line 50: | Line 53: | ||
To build a collection using the downloaded XML files, [[en: | To build a collection using the downloaded XML files, [[en: | ||
- | ===== Compiling Greenstone with Z39.50 support ===== | + | ===== Compiling Greenstone |
* Linux/ | * Linux/ | ||
Line 72: | Line 75: | ||
===== Using the Z39.50 client ===== | ===== Using the Z39.50 client ===== | ||
- | Once Greenstone has Z39.50 support compiled in, it can act as a client to multiple z39.50 servers. The file | + | Once Greenstone |
- | <TABAREA tabs=" | + | |
- | <TAB>'' | + | |
- | < | + | |
- | </ | + | |
- | + | ||
- | specifies a list of servers to connect to. By default, no servers are set up, although the config file comes with one (commented out) example Z39.50 server, for the United States' | + | |
Each entry consists of: | Each entry consists of: | ||
Line 100: | Line 97: | ||
* The '' | * The '' | ||
* Before running the server, set up your Greenstone environment in the terminal by running the following in your top level Greenstone directory: | * Before running the server, set up your Greenstone environment in the terminal by running the following in your top level Greenstone directory: | ||
- | <TABAREA tabs=" | + | Linux/Mac |
- | < | + | |
- | < | + | |
- | source gs3-setup.bash | + | |
- | </ | + | |
- | Windows | + | |
- | < | + | |
- | gs3-setup.bat | + | |
- | </ | + | |
- | <TAB>Linux/Mac | + | |
< | < | ||
source setup.bash | source setup.bash | ||
Line 116: | Line 104: | ||
< | < | ||
setup.bat | setup.bat | ||
- | </code></ | + | </ |
- | </ | + | |
* By default, the server listens on localhost: | * By default, the server listens on localhost: | ||
< | < |
en/user_advanced/z3950.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1