MiniHarvest is used to harvest sets of MARCXML records from an OAI-PMH endpoint.The records are appended to a single MARCXML file that can be ingested with SolrMarc or other used with other sofware.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install miniharvest
On the command line:
miniharvest http://oai-pmh/endpoint/ setname 201607 marc.xml
The first argument is the OAI-PMH endpoint, the second is the set you want to harvest, the third is a from date, and the last is the file to write the output to.
The gem is available as open source under the terms of the MIT License.