Several mobile friendly initiatives which improve mobile user’s experience with library resources will be discussed. These initiatives include creation of a mobile library website, development of mobile friendly authentication user interface, implementation of a computer availability mobile page, offering of texting reference service and QR code.
Mobile Patrons: Better Services on the Go (For Novice)
1. Mobile Patrons: Better Services
on the Go
Vincci Kwong and Gary Browning
Indiana University South Bend
10th
Brick & Click Libraries
November 5, 2010
20. Central Authentication System (CAS)
Central Authentication Service (CAS) is a login
service that allows you to access multiple
password-protected web systems after logging
in once on a central authentication server; this
is often referred to as single sign-on.
http://www.jasig.org/cas
21. CAS vs IU CAS
Standard CAS response – XML
<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
<cas:authenticationSuccess> <cas:user>username</cas:user>
<cas:proxyGrantingTicket>PGTIOU-84678-8a9d...
</cas:proxyGrantingTicket> </cas:authenticationSuccess>
</cas:serviceResponse>
IU CAS response –
If validation is successful, CAS sends back a two-line response with
'yes' on the first and 'username' on the second.
22. Connecting Ezproxy with IU CAS
1. Detect mobile or desktop
• http://detectmobilebrowsers.mobi/
2. Set CASSVC (service)
• If detect mobile, set service to mobile
3. Check with CAS to see if already
authenticated
4. If authenticated, display database; otherwise
present a login screen
24. Sample Code – casauth.php
<?php
session_start(); //start session
if( isset($_GET['casticket']) ){ //check to see if a ticket has been passed
$ticket = $_GET['casticket'];
} else {
$ticket = "";
}
25. Sample Code – casauth.php cont.
/*
* check CAS ticket authenticity and get the user's uid back
* the variable $contents will have the string
* "ticket '<ticket value>' not recognized" if a bad ticket
* has been provided.
*/
$casXML = fopen("https://cas.iu.edu/cas/validate?
cassvc=IU&casticket=$ticket&service=https://www.domain.edu/~site/cas/c
asauth.php","r");
$contents = fread($casXML, 1024);
fclose($casXML);
27. A Better Idea – Can IU Mobile do it?
IU Mobile is already connected to IU CAS
Need ability to
• Check if authenticated
• Display alternative information if not
• Restrict to campus level
28. Yes, IU Mobile Can do it!
<authenticated>
<list-item>
<link type="xml" xml="http://it.iusb.edu/demo2.php" title="Subscription
Databases" />
</list-item>
</authenticated>
<not-authenticated>
<list-item>
<link type="xml" xml="http://library.iusb.edu/miuxml/oopsSubscribed.xml"
title="Subscription Databases" />
</list-item>
</not-authenticated>
38. Planning for Mobile Website
1. Needs assessments
2. Integrate with existing library services
3. Project planning
4. Build the site
5. Testing, marketing, launching
6. Keeping up
39. Mobile Services Offered by
Other Libraries
SMS notification services
• Kansas State University Libraries
Mobile collections
• Duke University
Mobile instruction
• Open University Library
• LibGuides
Library tour
• Temple Universities Libraries
• University of Illinois at Urbana-Champaign
40. QR Code
• Two-dimensional barcode readable by QR
scanners, mobile phones with camera, and
smartphones.
• Stores text, URL or other data.