This repository builds on a vanilla Blacklight deployment to add features based on support for third party discovery systems in Alma.
To populate the Blacklight Solr index, a rake task called
oai_harvest is provided. The task stores its last run date to enable incremental harvesting.
Real Time Availability
When search results are displayed, a call to the Get BIBs Alma REST API is performed with all of the returned document IDs and the
d_avail flag. Availability is indicated by the color of the physical and online buttons.
Fulfillment options (such as location information, request options, full text availability) are provided using the Alma "mash-up". The "mash-up" is integrated directly into the search results and can be accessed by clicking on the availability buttons.
This repository is integrated with the Alma Social Authentication feature. Users are taken to the Alma social login screen to authenticate and then redirected back to Blacklight where a user session is created. Once logged in, fulfillment options appropriate to the authenticated user are displayed. Details from Alma are displayed on the user information page.
- Clone this repository:
git clone https://github.com/jweisman/alma-blacklight.git
- Install dependencies:
- Copy the
application.ymland replace the placeholder values.
- Run the rake task to populate the index:
- Run the application:
bin\rails serverfor WEBrick
The code for these samples is made available under the MIT license.