en:user_advanced:oai
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:user_advanced:oai [2018/07/30 23:11] – [Downloading source documents] kjdon | en:user_advanced:oai [2023/03/13 01:46] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
====== OAI ====== | ====== OAI ====== | ||
The [[http:// | The [[http:// | ||
Line 20: | Line 23: | ||
^Option^Description^ | ^Option^Description^ | ||
|Source URL ('' | |Source URL ('' | ||
- | |Metadata prefix ('' | + | |Metadata prefix ('' |
|Restrict to set ('' | |Restrict to set ('' | ||
|Get document ('' | |Get document ('' | ||
- | |Only include file types ('' | + | |Only include file types ('' |
|Max records ('' | |Max records ('' | ||
Line 50: | Line 53: | ||
You can also download OAI records on the command line, using the perl script that GLI uses in the background: **downloadfrom.pl**. There is lots of information about command line downloading on [[en: | You can also download OAI records on the command line, using the perl script that GLI uses in the background: **downloadfrom.pl**. There is lots of information about command line downloading on [[en: | ||
- | * Set up the Greenstone environment in the terminal by running one of the following: | + | |
< | < | ||
source gs3-setup.sh (linux/ | source gs3-setup.sh (linux/ | ||
Line 58: | Line 61: | ||
</ | </ | ||
- | * To see the options available, run: | + | |
< | < | ||
Line 64: | Line 67: | ||
</ | </ | ||
- | The options are the same as you can see in the GLI OAI download panel. | + | The options are the same as you can see in the GLI OAI download panel, listed above. |
- | * **-url < | + | ***An example usage would be:** |
- | * **-metadata_prefix < | + | |
- | * **-set < | + | |
- | * **-get_doc**: | + | |
- | * **-get_doc_exts < | + | |
- | * **-max_records < | + | |
- | + | ||
- | An example usage would be: | + | |
< | < | ||
perl -S downloadfrom.pl -mode OAI -url http:// | perl -S downloadfrom.pl -mode OAI -url http:// | ||
Line 88: | Line 84: | ||
* [[oai_server_gs2|Greenstone 2 OAI server setup and configuration]] | * [[oai_server_gs2|Greenstone 2 OAI server setup and configuration]] | ||
- | |||
- | ====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. | ||
===== Additional Resources ===== | ===== Additional Resources ===== | ||
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | |
There are several tutorials concerning using OAI in Greenstone: | There are several tutorials concerning using OAI in Greenstone: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | </TAB> | + | <tabbox Greenstone2> |
- | <TAB> | + | |
There are several tutorials concerning using OAI in Greenstone: | There are several tutorials concerning using OAI in Greenstone: | ||
Line 118: | Line 104: | ||
a library built from OAI records. | a library built from OAI records. | ||
- | </TAB> | + | </tabbox> |
- | </ | + |
en/user_advanced/oai.1532992305.txt.gz · Last modified: 2018/07/30 23:11 (external edit)