Bug 39440 - Add option to OAI-PMH harvester for bibliographic framework
Summary: Add option to OAI-PMH harvester for bibliographic framework
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-24 22:34 UTC by David Cook
Modified: 2025-04-02 07:52 UTC (History)
4 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cook 2025-03-24 22:34:47 UTC
On Mattermost, Mathieu Saby suggested adding an option to the OAI-PMH harvester for providing a bibliographic framework.

At the moment, it adds all new records using the Default framework, but it would be useful to specify a different framework.

--

It looks like the way to do it would be to add a column to the oai_servers table, update the web form, and then update Koha/OAI/Client/Harvester.pm to pass the framework to AddBiblio().

I suppose another option would be to add a CLI parameter. That would be faster/easier, but... it would be incongruent with how most of the config works, so probably the oai_servers table.
Comment 1 David Cook 2025-03-24 22:36:36 UTC
I don't plan to write patches for this one at this time, but happy to test/QA it.