User Tools

Site Tools


en:user_advanced:oai

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:user_advanced:oai [2018/07/30 23:11] – [Downloading source documents] kjdonen:user_advanced:oai [2018/07/30 23:12] – [Downloading on the command line] kjdon
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:user_advanced:command_line_download|downloading from the command line]] page. 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:user_advanced:command_line_download|downloading from the command line]] page.
  
-  * Set up the Greenstone environment in the terminal by running one of the following:+  * **Set up the Greenstone environment** in the terminal by running one of the following:
 <code> <code>
 source gs3-setup.sh (linux/MacOS, gs3) source gs3-setup.sh (linux/MacOS, gs3)
Line 58: Line 58:
 </code> </code>
  
-  * To see the options available, run:+  * **To see the options available**, run:
  
 <code> <code>
Line 73: Line 73:
   * **-max_records <int>**: Maximum number of records to download. If not specified, will download all records.   * **-max_records <int>**: Maximum number of records to download. If not specified, will download all records.
  
-An example usage would be:+  ***An example usage would be:**
 <code> <code>
  perl -S downloadfrom.pl -mode OAI -url http://www.nzdl.org/cgi-bin/oaiserver.cgi -set demo -max_records 5  perl -S downloadfrom.pl -mode OAI -url http://www.nzdl.org/cgi-bin/oaiserver.cgi -set demo -max_records 5
en/user_advanced/oai.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1