This script build OAI-PMH sets (to be used by opac/oai.pl) according to sets and mappings defined in Koha. It reads informations from oai_sets and oai_sets_mappings, and then fill table oai_sets_biblios with builded infos.
build_oai_sets.pl [-h] [-v] [-r] [-i] [-l LENGTH [-o OFFSET]] -h Print help message; -v Be verbose -r Truncate table oai_sets_biblios before inserting new rows -i Embed items informations, mandatory if you defined mappings on item fields -l LENGTH Process LENGTH biblios -o OFFSET If LENGTH is defined, start processing from OFFSET