Recent Events

Tag Archives | QR Codes

QR Codes on the Fly

At Computers in Libraries 2010 and for the upcoming Internet Librarian 2010 conferences we have provided links to the attendee blogger’s websites via QR Codes. We have discussed QR codes in the past here in a post called QR Brain Dump. That post links to a very comprehensive QR Code guide by Mark Sprague.

When I first implemented the codes in primitive days of early 2010 I actually created each graphic, stored it, and added them to posts and pages via normal html <img> tags. Jump ahead to this week and as I was setting up the bloggers page for Internet Librarian 2010 I had one of those AH HAH! moments when you realize you have been ‘doing it wrong’ all along.

In the last year the Google Charts API has both greatly expanded in functionality and received a lot of Google Love in the form of  better documentation and easy to use end-user tools to make using this powerful system easy for web developers.  The single biggest boons to end users have to be the Live Chart Playground for advanced users and the Chart Wizard for everyone else.

While a QR code is not a chart, per se, the Google Chart API can create URL QR codes as easily as it makes a pie chart.    You can use the Chart Wizard for this but after I break down a URL for you it may not be necessary.

This is the QR code for Polly-Alida Farrington’s site.

I picked her’s because I messed it up on my first try yesterday.  She DM’d me on Twitter and let me know I had encoded it as http:///   That third slash was not desirable.

Before switching to this method, fixing it would have meant generating a new image, uploading it to the server or changing the page to point to the new image URL.

This time, all I had to do was remove the extra slash from the URL I use to embed the QR Code.

The URL looks like this:

It breaks down like this:

Chart API Base URL:
Specify Chart Type as QR Code: cht=qr
Specify Chart Size: &chs=200×200
Specify URL to Encode: &chl=

So you can just save:×200&chl=

In your bag of tricks and tack on the URL you want to encode in realtime.  For regular use on a website this works fine.  If you need to store this in a database, JavaScript, or using a mechanism that may mangle the URL &chl= parameter you should encode it safely.

Using the above info you can adapt it so the URL is in this form:'

This is needed on because I use the images in a Javascript based on-click event so they pop-up in the little windows on

All About Quick Response (QR) Codes

Paul Coyne

Paul Coyne, VP of Innovation, Emerald Group Publishing Ltd. showed how Quick Response (QR) Codes can give readers a “sixth sense” of information.  QR codes were developed in Japan and are coming rapidly to cell phones worldwide.  They can add contact details and present information to users.  You simply take a photo of the QR code, and software on the phone will decode the information and display it on the screen.  (The decoding software can be downloaded if your phone is not QR equipped.)  You can even create your own QR codes using a code generator which you can save as an image to your PC and then embed the code into a book or in the library.

QR codes bridge the gap between the physical and the digital world.  Many libraries and publishters are beginning to tap into the potential of QR codes because they are data-rich and easy to use. 

Here is an example from Huddersfield University Library in the UK, where the codes are  posted next to signs in the library.  Library users can simply take a photo of the code, and the information is stored in their phone.  There is no need to write down the information, or enter a phone number to initiate a call.

Here is another example from the Brooklyn Public Library:

And here at CIL, a directory of the bloggers at the conference with their URLs has been posted on the message board:

QR Codes can extend the life of print content for the mobile audience.  The information can be kept up to date, provide reviews and ratings, other works by the same author, advanced title information, etc., and new information since publication can be added to a website.

Here is Paul’s contact data:

Don Hawkins
Columnist, Information Today, and CIL 2010 Blog  Coordinator