mik icon indicating copy to clipboard operation
mik copied to clipboard

OAI toolchain: Use multiple set_spec options

Open bondjimbond opened this issue 7 years ago • 3 comments

Goal: run multiple OAI requests from one config file, once for each set_spec. The output of each request would go into a separate subdirectory below output_directory, each named for the set.

Related is an option to run without specifying sets individually, but still split the output into directories based on set.

bondjimbond avatar Mar 07 '17 23:03 bondjimbond

From what I can tell, the OAI-PMH spec only allows for a single setSpec per request (more here). I'd have to think about how to implement allowing multiple setSpec values in MIK's configuration. If we allowed multiple values, we'd need to perform all of the harvesting from within a loop.

mjordan avatar Mar 07 '17 23:03 mjordan

That sounds about right. You'd want to send an OAI request once per set; otherwise, even if OAI allowed multiple sets in a request, you'd get them all in one list. Looping makes sense.

bondjimbond avatar Mar 08 '17 17:03 bondjimbond

Potentially related issue: #248.

mjordan avatar Mar 22 '17 22:03 mjordan