evergreen-admin:sru_and_z39.50
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
evergreen-admin:sru_and_z39.50 [2012/05/09 16:03] – change "format marcxml" to "format xml" in example dbw2 | evergreen-admin:sru_and_z39.50 [2025/06/13 14:21] (current) – stompro | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Evergreen: | ======Evergreen: | ||
- | [[http:// | + | [[http:// |
Line 71: | Line 71: | ||
</ | </ | ||
</ | </ | ||
- | - Then we need to create a configuration file that will tell YAZ how to transform marcxml to binary MARC21. Along the way, we force the output character set to be MARC-8, because in the dinosaur world of library technology some major Z39.50 clients such as RefWorks and OCLC VDX still appear to be unable to support Unicode UTF-8 encoding. We will call this one '' | + | =====Using your z39.50 server to access remote databases===== |
+ | - Simple2zoom is not concerned if your data is local or remote, so you can use your server to query remote data as well as local holdings. | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | - To query that from the Evergreen staff-client you would add " | ||
+ | |||
+ | =====Setting up Yaz Configuration===== | ||
+ | - We need to create a configuration file that will tell YAZ how to transform marcxml to binary MARC21. Along the way, we force the output character set to be MARC-8, because in the dinosaur world of library technology some major Z39.50 clients such as RefWorks and OCLC VDX still appear to be unable to support Unicode UTF-8 encoding. We will call this one '' | ||
+ | <code xml> | ||
< | < | ||
<server id=" | <server id=" | ||
Line 85: | Line 107: | ||
</ | </ | ||
</ | </ | ||
- | - Run simple2ZOOM as a daemon, specifying the configuration files and one or more listener addresses that the Z39.50 server will be accessible on. If you do not specify a port, it will automatically run on port 9999. In the following example, we tell it to listen both to localhost on port 2210, and on dev.gapines.org on port 210:< | + | - As root, run simple2ZOOM as a daemon, specifying the configuration files and one or more listener addresses that the Z39.50 server will be accessible on. If you do not specify a port, it will automatically run on port 9999. In the following example, we tell it to listen both to localhost on port 2210, and on dev.gapines.org on port 210:< |
- | simple2zoom -c dgo.conf -- -f xml2marc-yaz.cfg localhost: | + | simple2zoom -c dgo.conf -- -f xml2marc-yaz.cfg localhost: |
To test the Z39.50 server, we can use yaz-client again:< | To test the Z39.50 server, we can use yaz-client again:< | ||
Line 119: | Line 141: | ||
[]Record type: XML | []Record type: XML | ||
<record xmlns:... (rest of record deliberately truncated) | <record xmlns:... (rest of record deliberately truncated) | ||
+ | |||
+ | (Example using Z39.50 Attribute codes - ISBN Search) | ||
+ | Z> find @attr 1=7 9781476770383 | ||
+ | Sent searchRequest. | ||
+ | Received SearchResponse. | ||
+ | Search was a success. | ||
+ | Number of hits: 1, setno 6 | ||
+ | records returned: 0 | ||
+ | Elapsed: 0.201841 | ||
</ | </ | ||
+ | =====Adding an Index for Z39.50 Searching===== | ||
+ | Example of adding an index. | ||
evergreen-admin/sru_and_z39.50.1336593813.txt.gz · Last modified: 2022/02/10 13:33 (external edit)