en:user_advanced:oai
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:user_advanced:oai [2018/07/30 23:11] – [Downloading source documents] kjdon | en:user_advanced:oai [2018/07/30 23:15] – [Downloading records from an OAI repository] kjdon | ||
---|---|---|---|
Line 20: | Line 20: | ||
^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 50: | ||
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 58: | ||
</ | </ | ||
- | * To see the options available, run: | + | |
< | < | ||
Line 64: | Line 64: | ||
</ | </ | ||
- | 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:// |
en/user_advanced/oai.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1