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:01] – [Serving OAI Data using Greenstone] kjdon | en:user_advanced:oai [2024/05/01 00:22] (current) – [Additional Resources] kjdon | ||
---|---|---|---|
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 46: | Line 49: | ||
then Greenstone downloads the page and scans though it looking for '' | then Greenstone downloads the page and scans though it looking for '' | ||
- | ===== Serving OAI Data using Greenstone===== | + | ==== Downloading on the command line ==== |
- | Greenstone comes with a built-in | + | You can also download |
- | * [[oai_server_gs3|Greenstone | + | * **Set up the Greenstone |
- | * [[oai_server_gs2|Greenstone 2 OAI server | + | < |
+ | source gs3-setup.sh (linux/ | ||
+ | gs3-setup (Windows, gs3) | ||
+ | source setup.bash (Linux/ | ||
+ | setup (Windows, gs2) | ||
+ | </ | ||
+ | * **To see the options available**, | ||
- | ====Testing==== | + | < |
+ | perl -S downloadinfo.pl OAIDownload | ||
+ | </ | ||
- | Once you have your OAI service in place, testing | + | The options are the same as you can see in the GLI OAI download panel, listed above. |
- | The former only verifies the Identify command, while extensive testing can be performed via the later one (called | + | ***An example usage would be:** |
+ | < | ||
+ | perl -S downloadfrom.pl -mode OAI -url http:// | ||
+ | </ | ||
+ | |||
+ | This will try to download 5 records from the set //demo// at the nzdl.org' | ||
+ | |||
+ | The records (and optionally documents) will be downloaded into the folder the script is run from. To change this, use the **-cache_dir full-path-to-folder** option. | ||
+ | ===== Serving OAI Data using Greenstone===== | ||
+ | |||
+ | Greenstone comes with a built-in OAI data provider, called **oaiserver**. A configuration file provides options for the set up of the server. Collections can opt in or out of the server, and each collection will be advertised as an OAI set. Multiple collections can be grouped into a single OAI set using Greenstone' | ||
+ | |||
+ | * [[oai_server_gs3|Greenstone 3 OAI server setup and configuration]] | ||
+ | * [[oai_server_gs2|Greenstone 2 OAI server setup and configuration]] | ||
- | 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: | ||
- | * [[http:// | + | * [[http:// |
- | * [[http:// | + | * [[http:// |
- | * [[http:// | + | * [[http:// |
Line 83: | Line 104: | ||
a library built from OAI records. | a library built from OAI records. | ||
- | </TAB> | + | </tabbox> |
- | </ | + |
en/user_advanced/oai.1532991691.txt.gz · Last modified: 2018/07/30 23:01 (external edit)