What’s This? Adding QR Codes to the Library Catalog

34
What’s This? Adding QR Codes to the Library Catalog Benjamin Rawlins Kentucky State University

description

Presentation for 2011 Kentucky Voyager Users Group Annual Meeting

Transcript of What’s This? Adding QR Codes to the Library Catalog

Page 1: What’s This? Adding QR Codes to the Library Catalog

What’s This? Adding QR Codes to the Library Catalog

Benjamin Rawlins

Kentucky State University

Page 2: What’s This? Adding QR Codes to the Library Catalog

Overview

• What are QR codes?

• Uses Outside of Libraries

• Adding QR codes to the Library Catalog

• Additional Uses at Kentucky State University

Page 3: What’s This? Adding QR Codes to the Library Catalog

Poll

•http://www.polleverywhere.com/multiple_choice_polls/MTYxMDI4MjI3

Page 4: What’s This? Adding QR Codes to the Library Catalog

What are QR codes?

• QR, Quick Response, codes are two dimensional barcodes that can be scanned with a mobile device that has a camera. Once the code is scanned the device is prompted to load a webpage, display text, or other data contained in the code.

• QR codes were first created by Denso-Wave, a Toyota subsidiary, in 1994 as a way to track manufactured parts. Denso-Wave holds the patent rights for QR codes, but instead of exercising them they decided to make the technology freely available.

Page 5: What’s This? Adding QR Codes to the Library Catalog

Why QR Codes are Unique

• Unlike conventional barcodes that can only store information in a horizontal manner, QR codes can store information both horizontally and vertically.

Page 6: What’s This? Adding QR Codes to the Library Catalog

• Conventional barcodes can typically store between 20 to 40 characters.

• QR codes can store up to a maximum of 7,089 characters

Page 7: What’s This? Adding QR Codes to the Library Catalog

Uses Outside of Libraries

Page 8: What’s This? Adding QR Codes to the Library Catalog

Duncan Hines

Page 9: What’s This? Adding QR Codes to the Library Catalog

Grammy Awards

Page 10: What’s This? Adding QR Codes to the Library Catalog

Best Buy

Page 11: What’s This? Adding QR Codes to the Library Catalog

New York City

• 2,200 NYC Department of Sanitation Trucks Will Feature NYC Media Quick Response (QR) Codes Linking to a “How to Recycle” Video

Page 12: What’s This? Adding QR Codes to the Library Catalog

Adding QR Codes to the Library Catalog

Page 13: What’s This? Adding QR Codes to the Library Catalog
Page 14: What’s This? Adding QR Codes to the Library Catalog

What’s This?

Page 15: What’s This? Adding QR Codes to the Library Catalog
Page 16: What’s This? Adding QR Codes to the Library Catalog

The Coding

• To get both features 2 files were edited• displayFacets.xsl

• local_callSearch.xsl• Text me this call number feature

• Renamed local_qrCode.xsl

Page 17: What’s This? Adding QR Codes to the Library Catalog

The Coding

• One file was edited to get this feature• displayFacets.xsl

Page 18: What’s This? Adding QR Codes to the Library Catalog

The Coding

<xsl:variable name="bibId" select="//@bibId"/>

<!-- QR Code --><xsl:variable name="qrCode">http://qrcode.kaywa.com/img.php?s=5&amp;d=http%3A%2F%2Fkysu.kyvl.org%2Fvwebv%2FholdingsInfo%3FbibId%3D<xsl:value-of select="$bibId"/></xsl:variable><!-- End QR Code -->

<!-- QR Code Begin --><div style="float:left;width: 120px; text-align:center; border:3px solid #000;margin: 0 10px 00;padding:10px;" class="googleBooks"><b>QR code:</b><br/><img src="{$qrCode}" width="102" height="102" alt="qrcode" /><br /><a href="http://kysu.kyvl.org/qr.html" target="_new">What's this?</a></div> <!-- QR Code End -->

Page 19: What’s This? Adding QR Codes to the Library Catalog

The Coding

• Two files edited for ‘Get Info in a QR Code’ feature• displayFacets.xsl

• Copied code local_callSearch.xsl• Renamed

local_qrCode.xsl

Page 20: What’s This? Adding QR Codes to the Library Catalog

The Coding for ‘Get Info in a QR Code’

Local_callSearch.xsl<xsl:attribute name="href">http://kysu.kyvl.org/voy2sms.php?locationhttp://kysu.kyvl.org/voy2sms.php?location=<xsl:value-of select="$location"/>&amp;callnum=<xsl:value-of select="$callnum2"/>&amp;titlename=<xsl:value-of select="$titlename2"/></xsl:attribute>>Text me this call numberText me this call number</a>

Local_qrCode.xsl<xsl:attribute name="href">http://qrcode.kaywa.com/img.php?s=5&amp;dhttp://qrcode.kaywa.com/img.php?s=5&amp;d=<xsl:value-of select="$titlename2"/>"/><xsl:text>%0D%0A</xsl:text> <xsl:text>%0D%0A</xsl:text> <xsl:value-of select="$location"/><xsl:text>%0D%0A</xsl:text> <xsl:text>%0D%0A</xsl:text> <xsl:value-of select="$callnum2"/><xsl:text>%0D%0A</xsl:text> <xsl:text>%0D%0A</xsl:text> </xsl:attribute> Get info in a QR CodeGet info in a QR Code</a></a>

dispalyFacets.xsl<xsl:include href="./local_qrCode.xsl"/>

<div id="txtMe"><xsl:call-template name="recordCallQr"/></div>

Page 21: What’s This? Adding QR Codes to the Library Catalog

Why Single Out QR Code Features?

Page 22: What’s This? Adding QR Codes to the Library Catalog

Additional Uses at KSU

Page 23: What’s This? Adding QR Codes to the Library Catalog

Mobile Services Booklet

Page 24: What’s This? Adding QR Codes to the Library Catalog
Page 25: What’s This? Adding QR Codes to the Library Catalog
Page 26: What’s This? Adding QR Codes to the Library Catalog
Page 27: What’s This? Adding QR Codes to the Library Catalog
Page 28: What’s This? Adding QR Codes to the Library Catalog
Page 29: What’s This? Adding QR Codes to the Library Catalog
Page 30: What’s This? Adding QR Codes to the Library Catalog

Mobile Website Flyer

Page 31: What’s This? Adding QR Codes to the Library Catalog

Library Trading Cards

Page 32: What’s This? Adding QR Codes to the Library Catalog

Further Reading

• Hampton, Dantrea, Amanda Peach, and Benjamin Rawlins. "Reaching Mobile Users with QR Codes." Kentucky Libraries 75.2 (2011): 6-10. Print.

Page 33: What’s This? Adding QR Codes to the Library Catalog

Questions?

Page 34: What’s This? Adding QR Codes to the Library Catalog

Thank You