in General, Libraries/Info Sci, Tech

More widgets

Richard over at CISTI took the library widget idea seriously.

He got a colleague who is obviously better at picking up XML than I to pull together a catalog searching widget. There’s a couple other nice features too, such as direct links to hold requests and books checked out.

But the absolute best part is that this provides a jumping off point for other library widget developers! The best way to learn any kind of web programming/scripting/etc is to have existing source code to look at and play with. Thankfully, Konfabulator’s widgets do not hide the source XML. I’ve already modified the CISTI widget to work on a basic level with the UAH catalog.

And then I noticed that Stephen, who actually coded the CISTI widget, made it even more accessable! In the widget preferences, the base URL for catalog searches can be changed! I spent 2 minutes playing with the UAH catalog to find the correct formatted URL, and voila! Instant access without even touching the underlying XML.

I hope Stephen doesn’t mind – I’m going to see about modifying the graphics and other features to make it more specific to UAH. I’d been trying to teach myself how to make widgets based on Konfabulator’s documentation. Seeing Stephen’s code makes so many things fall into place!

update: I’ve hit a snag… UAH’s catalog uses sessions. So once a session times out no more searches can be done without logging back in, even as a guest. I’ll have to put in some thought on how to get around the problem.