A serendipity of clouds

Insipired by the BBC Radio 1 tag cloud mentioned by Richard Wallis on the Panlibus blog, I quickly threw a couple together for the most recent search keywords used on our OPAC:


http://library.hud.ac.uk/perl/ajax5.pl


http://library.hud.ac.uk/perl/ajax5b.pl

The pages use Ajax and should automatically refresh with updated content every few seconds (assuming that someone has been searching the OPAC recently).

No points for guessing that the larger the font, the more times the word has been used in recent searches!

Advertisements
4 comments
  1. Just a couple of notes…

    1) it only displays keywords that gave results, and each keyword must have been used at least a couple of times recently

    2) in a crude attempt to remove stop words, it ignores any keywords that are less than 4 characters long

  2. Just in case anyone’s been looking at the cloud in the last couple of hours and wondering why nothing was changing, we had to evacuate the entire Library building this afternoon!

    I’ve also added some proper checks for stop words, so shorter keywords might start appearing now.

  3. Mike said:

    This is great! Now I just have to figure out how to get this live search data out of our crappy Innovative system… 😉

  4. Pingback: ex libris

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: