|
A mechanism to support this new functionality has been tested and checked in (revision 46169).
This has been tested by several people using the local Sakaibrary QA server at IU Bloomington.
At this point it seems safe to say the basic functionality seems to work as intended. We can recognize preferred URLs in the search results, pass them through the Citations software stack, and provide them to the end user as desired. Included in the initial Sakai 2.6 release.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Logically, the out-of-band agreement between the producer and the consumer was amended to include the concept
of "preferred" URL that can override the OpenURL normally used as the persistent link. How an OSID search component
determines which URLs are preferred is left to the individual implementation.
The Citation Tool was updated to render preferred URLS as part of the search results page: the primary URL is used
as the title link; the OpenURL and preferred URL (if present) are also rendered as smaller links below that.
The Citation Management service was updated to recognize the presence of a preferred URL in search result data, and
to save that information as it creates a new Citation. In addition, a getPrimaryUrl() method was added, to allow the
caller to request the "best" URL for a given Citation.
The SingleSearch OSID implementation was updated to add:
-- A new Repository part structure (PreferredUrlPartStructure) which represents a preferred URL
-- A new handler that can identify preferred URLs (PreferredUrlHandler.java).
A reference implementation for American Social History Online was established.