[OPEN-ILS-DEV] Drupal OpenSRF Modules
Rogan Hamby
rhamby at statelibrary.sc.gov
Fri Dec 2 11:48:51 EST 2011
There is some level of interest. A library who is interested in migrating to Evergreen recently approached me and asked about Drupal integration so I that's at least one potential future user.
Rogan Hamby
Information Technology Director
South Carolina State Library
1500 Senate St., Columbia SC 29211
803.734.8651 | Fax 803.734.4757
www.statelibrary.sc.gov
The South Carolina State Library is a national model for innovation, collaboration, leadership and effectiveness. It is the keystone in South Carolina's intellectual landscape.
-----Original Message-----
From: Bob Wicksall [mailto:bwicksall at pls-net.org]
Sent: Friday, December 02, 2011 11:37 AM
To: Evergreen Development Discussion List
Subject: [OPEN-ILS-DEV] Drupal OpenSRF Modules
Is anyone interested in interfacing Drupal with Evergreen? I've built two Drupal 6 modules. They are currently Drupal 6 only since I haven't yet upgraded to Drupal 7. The first module provides basic OpenSRF request functionality while the second integrates Evergreen authentication into Drupal. I haven't yet created an official Drupal project but I'd like to get some feedback before I go much further.
You can get the modules here:
http://download.pls-net.org/evergreen_opensrf-6.x-1.0.tar.gz
http://download.pls-net.org/evergreen_auth-6.x-1.0.tar.gz
I consider the auth module Alpha quality so I recommend only installing it on a test system. The OpenSRF module is pretty harmless.
The Auth module allows a user to logon to Drupal with their Evergreen barcode or username. A new user is created in Drupal and keyed to Evergreen on the users id number.
The OpenSRF module provides two functions. OpenSRFRequest is for a single request while OpenSRFRequest_multi submits multiple requests.
here is an example of how to fetch a MARC record in HTML format just like the OPAC:
$marc_result = json_decode(OpenSRFRequest('evergreen-test.owwl.org', FALSE, FETCH_MARC_HTML, 167339, '' ));
Bob Wicksall
Systems Administrator
Pioneer Library System
2557 State Rt. 21
Canandaigua, New York 14424
Voice: (585) 394-8260
Fax: (585) 394-1935
More information about the Open-ils-dev
mailing list