About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:architecture:real_time_availability_status

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
development:architecture:real_time_availability_status [2016/02/23 18:42] demiankatzdevelopment:architecture:real_time_availability_status [2020/09/22 14:29] (current) demiankatz
Line 16: Line 16:
  
 VuFind 3.0 introduces a new ILS driver feature: the 'services' key of the [[development:plugins:ils_drivers#getstatus|getStatus()]] response. When this data is provided, VuFind's boolean availability display is extended to include more detailed information. VuFind 3.0 introduces a new ILS driver feature: the 'services' key of the [[development:plugins:ils_drivers#getstatus|getStatus()]] response. When this data is provided, VuFind's boolean availability display is extended to include more detailed information.
 +
 +The concept of available services was based on how services were defined in the Document Availability Information API ([[http://gbv.github.io/daia/daia.html|DAIA]]): "a service is something that an item is currently accessible or unaccessible for" (e.g. presentation, loan, interloan). Services are explicit, i.e. there should be no "assumed implications between service types (for instance most times an item is available for loan it is also available for presentation)".
 +
 +Supported services right now are ''presentation'' and ''loan''. Other services can be added by modifying the ILS-driver (right now only the DAIA driver supports this feature) and its return values for the services key of [[development:plugins:ils_drivers#getstatus|getStatus()]] response.
 +As translations-tokens and styling-classes for services are generated during runtime you will also need to add a translation-token ''service_available_{service}'' to the [[development:architecture:localization#text_domains|TextDomain]] ''HoldingStatus'' and styling for class ''service_{service}'' for proper display of additional services. The enclosing span for the services my also be styled via the class ''services-{-delimited services}''.
 +
 +Please refer also to the respective template [[https://github.com/vufind-org/vufind/blob/dev/themes/bootstrap3/templates/ajax/status-available-services.phtml|vufind/themes/bootstrap3/templates/ajax/status-available-services.phtml]].
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
development/architecture/real_time_availability_status.1456252945.txt.gz · Last modified: 2016/02/23 18:42 by demiankatz