Closed (fixed)
Project:
Millennium OPAC Integration
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2009 at 20:10 UTC
Updated:
13 Nov 2009 at 22:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
janusman commentedNow that availability is fetched during crawls or manual import, we could tag the nodes then.
How to tag?
- simple "is available": Flag.module? Taxonomy term?
- availability using the location from the holdings table; each location is a taxonomy term. On refresh, remove all terms then only add those that are "available".
I like the 2nd best, but Will It Scale? =)
Comment #2
janusman commentedRe: Tagging items as "Available online"... See http://roytennant.com/proto/856 and the articles cited there to see some tested methods. It seems the method "007/0 = 'c'" might was the most reliable in the case of Worldcat-extracted records.
Comment #3
janusman commentedThinking that using a tax. term as a location available should, in the long run, allow terms to have parent terms (in order to group them somehow).
As for the actual code, testing this for storing the item availability:
... and this function would be called inside millennium_marc_to_nodeobject() right after millennium_add_taxonomy_to_node(). Since millennium_get_holdings_info() is statically cached, this works quite well when doing batch imports.
Comment #4
janusman commentedThe above code would need the admin to tell the module what strings to accept as "Available" (in the status column in the holdings table). For instance, our OPAC shows them as the spanish word "DISPONIBLE".
Besides the word's translation, it might also be desirable to show items as "available" when the status is something else, like: "just checked in", "in stacks", etc.
Comment #5
janusman commentedThe above function was committed along with others in #576784: An option to use b-identifiers as an alternative.
The end result is that you can associate a vocabulary with the found item locations in each bib record's holdings.
For instance if your item says it's available in location "General Stacks" and "Reserves", then those two locations get added to the vocabulary (if they don't exist yet) and then associated to the node.
Note: the location term is only added when more or more items for that bib is shown "AVAILABLE".
