en:user_advanced:oai_server_gs3
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:user_advanced:oai_server_gs3 [2018/07/30 22:59] – created kjdon | en:user_advanced:oai_server_gs3 [2023/03/13 01:46] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
====== Greenstone 3 OAI server ====== | ====== Greenstone 3 OAI server ====== | ||
The Greenstone3 OAI data provider facility comes enabled by default. It runs as a servlet called " | The Greenstone3 OAI data provider facility comes enabled by default. It runs as a servlet called " | ||
- | by replacing library with oaiserver. For example, ''< | + | by replacing library with oaiserver. For example, ''< |
+ | |||
+ | You can see a demonstration OAI server at [[http:// | ||
==== Configuration ==== | ==== Configuration ==== | ||
Line 100: | Line 105: | ||
< | < | ||
< | < | ||
+ | <element name=" | ||
+ | elements=" | ||
+ | select=" | ||
< | < | ||
< | < | ||
Line 154: | Line 162: | ||
< | < | ||
This will output all dc.Dates and gs.Dates as dc:date. | This will output all dc.Dates and gs.Dates as dc:date. | ||
+ | |||
+ | === OAI Identifiers === | ||
+ | |||
+ | Prior to July 2018, an extra oai_dc: | ||
+ | * gs.OAIResourceURL - if this metadata was set for a document, this would be used as the identifier URL. This enables you to link to the document outside of Greenstone. | ||
+ | * a link to the source document, eg PDF, Word files. (gsf:link type=" | ||
+ | * a link to the Greenstone version of the document. (< | ||
+ | |||
+ | After July 2018, this was modified to be specified via the OAIConfig in the same way as other metadata mappings are specified. **gsflink.source** and **gsflink.document** are keywords specifying the source url and the Greenstone documemnt URL, respectively. | ||
+ | < | ||
+ | </ | ||
+ | This way, users can customize further which identifiers they want - they can use all of them, as the above mapping specifies. | ||
Line 204: | Line 224: | ||
If you have rebuilt collections then you need to reset the server. This can either be done by restarting it (stop the server and run gs3-server.sh/ | If you have rebuilt collections then you need to reset the server. This can either be done by restarting it (stop the server and run gs3-server.sh/ | ||
+ | |||
+ | ====Testing==== | ||
+ | |||
+ | Once you have your OAI service in place, testing can be done via online validation facilities such as the following: http:// | ||
+ | |||
+ | The former only verifies the Identify command, while extensive testing can be performed via the later one (called // | ||
+ | |||
+ | The Greenstone OAI server must be publically accessible over the Internet to use these validation tools. | ||
+ |
en/user_advanced/oai_server_gs3.1532991552.txt.gz · Last modified: 2018/07/30 22:59 by kjdon