Hi David,
Thanks for the heads-up. I believe you're right, and I've added a
comment in the bug. Additionally, it should be possible to configure
this per OAI-PMH set so that the provider can provide suppressed records
to harvesters that actually need them while keeping them away from
harvesters in "OPAC" context.
Best,
Ere
David Cook kirjoitti 10.10.2022 klo 3.32:
Hi Ere,
There’s been some discussion on Bug 31161
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31161
<https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31161> about
hiding records/items in OAI-PMH output, and I was keen to get your thoughts.
I’ve had a few different ideas over time, but right now I’m thinking
that the best way to deal with hiding bib records is to mark them as
“deleted” in the OAI-PMH feed.
Firstly, it would be a very easy change to make, which would probably
not affect performance much at all.
Secondly, it would allow records that have been hidden to be removed
from downstream systems automatically via OAI-PMH harvesters that
support deletions.
Since it’s a small code change, I’m tempted to trial it locally using
the OAI Config file to turn on this hiding mechanism.
Since you’re the person who has done the most work on the OAI-PMH server
recently, I figured you’d be a good person to ask for feedback!
David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
--
Ere Maijala
Kansalliskirjasto / The National Library of Finland
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/