About Bookmarks Contact Library Map Photos Search Talks
September
14
2005
8:34 pm
Tags:
Post Meta :

There are lots of great ways to find out if your library has a book you want, but what do you do when your library doesn’t a have a book? In the case of popular books that have been recently released, you know your library will get them soon, but you also know there will be a long waiting list. You probably want to put a hold on the item as soon as possible. Your library might even provide a webpage listing the newest items. But by the time you get around to checking, the list of holds will likely be very long. Some libraries will email you when a book comes in, and a few even have feeds of new items. But even that isn’t perfect because for large libraries, the list of new items can be big.

What you want is an RSS feed that lists items that your library does not have yet. You want that RSS feed to be empty until the item is available. As soon as the item is in the catalogue it will show up in your feed and you can put a hold on it.

A year or two ago, I wrote a program that searches a catalogue, and returns the newest 20 items. I made the program so I could see the latest DVDs, Videos, and CDs. I recently modified that program so that it would search for books that my library does not have but I know they will get. In particular I was interested in the new, and positively scandalous, book by Peter C. Newman about Brian Mulroney. The book was kept secret until it was released and I knew the library would be ordering it any day, and I also knew there would be a long long line up for it.

Well, my program worked perfectly. I managed to get in the hold queue in position 50 (realize, that staff get to put in holds before patrons so you can never get in position #1. I’ve never managed to be any higher than position 8 at my public library for new items).

By this afternoon, mere hours after the item was ordered and added to the catalogue, the number of holds has grown greatly. While I am in position 50, there are 33 copies on order, so I should have the book about a month after the order arrives!

The nuts and bolts of the program works like this. I have a perl program that uses the Yaz Z39.50 library and an RSS library. I connect to my libraries Z39.50 server and perform a search for the item. I then generate an RSS feed as output. It contains some of the fields from the Z39.50 search results. In the case of searching for non-existent items, I generate an RSS file with no items. The program is run hourly from cron on my webserver.

I choose to configure firefox to pick up the RSS as a “live bookmark” and when the item was available, it was right there in firefox.

Now you might say, wouldn’t it be better to get these kinds of notices by email? I agree, email might be better. Instant Message or Text Message (SMS on a PCS phone) might also be better. Lots of people read RSS feeds all day so RSS is also a good candidate.

It would be interesting to have libraries start offering something like this to patrons as a service. The patron logs in and enters a list of items they want to search and when there are no hits, they can request to be informed when the library gets the item. The patron gets to choose how they want to be informed: email, RSS feed, text message or just by checking back on the web page. This would have a side-effect of letting the library see the most in-demand items.

My public library has a “request an item” form, but when you use it, you get a prompt response. Usually, the response is, “sorry, due to budget limits we will not be adding this item to our collection.” Of course that is just non-sense. Just because they are choosing not to add it at this very minute, does not mean they won’t add it. For example, I once requested that they add the video Colossus: The Forbin Project. It is an ideal compliment to many other films they have and is required viewing for some studies of philosophy, technology, embodiment, cyberphilosophy, etc. They will add this item some day, they just do not realize it yet. I’d like an automatic way to find out without having to manually search for it from time to time. I also know that someday they will offer the TV series Six Feet Under on DVD at my public library. Maybe not for a few years, but they will get it. When they do, there will be lots of holds. I’d like to be first in line.

Someday soon, before the Access 2005 conference I will clean up my perl code and release it as open-source. Subscribe to my RSS feed to find it when it is available!

Comments
September
15
2005
12:22 pm
Type:
Pingback

[...] Read how he did it! The Paranoid Agnostic » Using RSS and Z39.50 to Find Books Your Library Doesn’t Have… Yet. [...]

September
15
2005
10:56 pm
Type:
Comment
maryanne

As a Web Admin. for a public library, I’m really excited by your Perl program. This is the sort of service I’d like to see us offering.

I’ll be keeping an eye on it for sure.

Cheers, Maryanne

September
16
2005
1:04 pm
Type:
Comment

I’m glad you liked it Maryanne!

My original perl program for converting Z39.50 search results to RSS 1.0 feeds, can be found at http://winterstorm.ca/download/newvideo.rss.txt.

My plan is to update that code over the next month and release a new version that is more flexible. The new version will be able to conduct more than one search, read search terms from an input file, and generate valid RSS (the current RSS is not always valid).

Once those changes are complete, it should be easier to use this script as part of a multi-user system. One would only need to create a mechanism for users to submit their search terms and save them so that this program could generate RSS feeds for them.

September
25
2005
4:28 pm
Type:
Pingback

[...] The Paranoid Agnostic: Using RSS and Z39.50 to Find Books Your Library Doesn’t Have… Yet. [...]

October
15
2005
10:36 pm
Type:
Trackback

Library Catalogs and Feeds

Many libraries are doing neat things with XML feeds and their catalogs.

December
21
2005
8:20 am
Type:
Comment

I am very curious and have been anxiously awaiting your new code. I have figured out how to query my library’s Sirsi ILS server using Z39.50 etc. but have not quite figured out how you were able to find the “most recently added items”? I was only able to pull down MARC records with the client and, to my knowledge, MARC doesn’t provide info on date added, or item status. Do you make a data list of all the items and then, when running a new search, compare those to the item list and extract the differences? I see you use a Sirsi ILS yourself so I am curios as to how this was accomplished. Can you provide any more details?

Thanks,
Mike

January
23
2006
10:51 am
Type:
Comment

Wow,that sounds great. I’m a Collection Development librarian here at Sno-Isle and I’ve been asking off and on about an RSS feed for new titles for about a year. I don’t know anything about Perl, but this would be great for my library. Right now we put up a list of new titles once a month based on a report we get from OCLC. Would you be willing to give more details about your program, so that I can share it with our webmaster. Our library is in the early stages of designing a new website so this would be a wonderful service to offer to our patrons. Thanks!

April
24
2007
10:09 am
Type:
Comment
Jay

Did you ever finish this? I would even like to just see the old version, but the link you posted isn’t working anymore…

April
24
2007
10:40 am
Type:
Comment

Hi Jay, I never did get around to cleaning up the whole thing. However, the source code is still available. There was a typo in the link above (now fixed). The correct URL is:

http://winterstorm.ca/download/newvideo.rss.txt

Participate! Leave your comment.