User Tools

Site Tools


en:user_advanced:z3950

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:user_advanced:z3950 [2020/11/11 23:14] – [Download through Z39.50] kjdonen:user_advanced:z3950 [2020/11/11 23:35] – [Using the Z39.50 client] kjdon
Line 17: Line 17:
 |Port (''-port'')|(REQUIRED) port number of the server, for example //210//| |Port (''-port'')|(REQUIRED) port number of the server, for example //210//|
 |Database (''-database'')|(REQUIRED) name of the database to which the query will be sent, for example // LCDB_MARC8//| |Database (''-database'')|(REQUIRED) name of the database to which the query will be sent, for example // LCDB_MARC8//|
-|Find (''-find'')| (REQUIRED) query (//[[#querying in YAZ|see below]]//)|+|Find (''-find'')| (REQUIRED) query, for example //mozart// (//[[#querying in YAZ|see below]]//)|
 |Max records (''-max_records'')|Select to limit the size of result set; Default: 500| |Max records (''-max_records'')|Select to limit the size of result set; Default: 500|
  
Line 41: 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:
 <code> <code>
- host: http://z3950.loc.gov + host: http://lx2.loc.gov 
- port: 7090/voyager?+ port: 210/LCDB?
 </code> </code>
  
Line 53: Line 53:
 To build a collection using the downloaded XML files, [[en:plugin:MARCXMLPlugin|MARCXMLPlugin]] must be added to the collection plugin list.  To build a collection using the downloaded XML files, [[en:plugin:MARCXMLPlugin|MARCXMLPlugin]] must be added to the collection plugin list. 
  
-===== Compiling Greenstone with Z39.50 support =====+===== Compiling Greenstone with Z39.50 support =====
  
   * Linux/MacOS: in the top level greenstone directory, run   * Linux/MacOS: in the top level greenstone directory, run
Line 75: 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 has Z39.50 support compiled in, it can act as a client to multiple z39.50 servers. The file ''Greenstone/etc/packages/z3950/z3950.cfg'' 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' Library of Congress.
-<TABAREA tabs="Greenstone3,Greenstone2"> +
-<TAB>''Greenstone/gs2build/etc/packages/z3950/z3950.cfg''</TAB> +
-<TAB>''Greenstone/etc/packages/z3950/z3950.cfg''</TAB> +
-</TABAREA> +
- +
- 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' Library of Congress.+
  
 Each entry consists of: Each entry consists of:
en/user_advanced/z3950.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1