OAI-PMH - Custom Set Support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
Hello, I'm looking into using the OAI-PMH support with our new state wide ILL sharing system (Minnesota MNLINK, ReShare with Index Data as the vendor).
See Bug #1729620 for details about the current OAI-PMH implementation.
I'm seeing that the built in setSpecs are related to catalog visibility based on owning lib of copies. For our systems, this won't exactly match the set of materials that we want to offer up for ILL loans.
I'm wondering if any ideas for how defining a custom setspec might work have been thought through yet?
The sorts of adjustments to the system visible set we would need to make are things like.
* Exclude all non holdable copies. (Reference)
* Exclude copies with a certain circ_modifier. (Wifi-Hotspots)
* Exclude copies with a certain shelving location and with an active date less than 6 months old. (New Items).
I'm thinking about maybe trying to use a record buckets to hold the list of records added and removed from a custom set. Then I can populate the record bucket based off of whatever criteria I want. The bucket_item create_time can be used to keep track of recent changes, and the pos could be used to indicate deletes. A custom bib bucket type could be used to flag buckets that represent OAI-PMH Sets. This wouldn't deal with copy changes, but for our purposes we don't need to track every copy status change, only ones that would make the bib no longer catalog visible.
Thanks
Josh
Here is a working branch that adds in the ability to base an OAI set of bibs on the contents of a bib bucket.
user/stompro/ lp2030066_ oai_custom_ sets
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ stompro/ lp2030066_ oai_custom_ sets
Filling up the buckets with what you want is left to the user, but I included an example script that shows one method of tracking changes.
The bucket contents controls if a bib is reported deleted or not, so that a bib can be reported deleted whenever the user want, unrelated to the actual bib status.
Let me know what you all think of this method. I think this meets my goal of ReShare being able to harvest only the bibs with copies that we are willing to lend out via ILL if they use our custom setspec.
Josh