[Koha-bugs] [Bug 6440] Koha's OAI-PMH does not support sets

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 16 14:50:33 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6440

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7296|0                           |1
        is obsolete|                            |

--- Comment #9 from Julian Maurice <julian.maurice at biblibre.com> 2012-02-16 13:50:33 UTC ---
Created attachment 7689
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7689
New patch

Thanks Magnus for testing!

1) I'm on a dev install too and see no problems. Can you give me error messages
you have? (unmodified in the new patch)

2) Added documentation for admin/oai_sets.pl and admin/oai_set_mappings.pl

3) Fixed

4) Added in the doc

5) Added brief POD documentation and help message with -h

6) Added option -i to build_oai_sets.pl to embed items information in the
record before processing

8) Added options -r -l and -o
-r is for reset, it truncate table oai_sets_biblios before filling it
-l is for length, to tell the script how many biblios you want to process
-o is for offset, to tell the script where to start processing (-l is required
here)

So, to build OAI sets by chunks of 5000 for example, use
  ./build_oai_sets.pl -r -l 5000
the first time, and then
  ./build_oai_sets.pl -l 5000 -o 5000
  ./build_oai_sets.pl -l 5000 -o 10000
  ...

9) Added syspref 'OAI-PMH:AutoUpdateSets'. If ON, the sets are updated when a
biblio is created or modified

I'm sure there is a lot of improvements to do with mappings (case insensitive,
other conditions like 'not equal', 'contains', 'do not contains', ...) but I
think they can come later.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list