Whether you are Ian or someone pretending to be Ian

Home

Searching for something on my site? Not found it? Try here:

Kent libraries Amazon Firefox Greasemonkey mashup

May252009
Recommended / related
Can you call it a mash up if you used greasemonkey? Works anyway

I've made a firefox plugin, to look up if a book's available in the library when you're viewing its page on Amazon. Normally I'd be sending people TO Amazon rather than from Amazon, hoping to make a commission, but here's where I give something back. To you, if not to Amazon. Here's how to see what I've done - Use Firefox as your web browser, install Greasemonkey, install my script, then go to a book page on amazon. Then if all has gone smoothly you should see something like this appear below the title of the book:

From Flickr

Those (Deal + East Peckham + Lenham + Pembury + Riverview Park + West Malling) all being the local libraries that have a copy of the book, no Folkestone on that example.

Anyone still with me..?

I will tidy it up a bit when I've done the rest of my chores... Don't try it on that greasemonkey book, as nowhere in Kent has it.

Firefox is a web browser, Greasemonkey is a plugin for Firefox that makes it easy for people to write little bits of code that run when you visit a page. Next stop, write a real plugin so people don't need Greasemonkey installed. Also add more features like this Seattle library search that is smart enough to know that if the hardback is not available look for the paperback and so on.

UPDATE: Get rid of my library json lookup which I wrote because the original library data was not that easy to work with... so new version goes direct from your browser to the library, without going via my server... Saves me some bandwidth but does mean I can't really log things now or monitor when it's going wrong.

Glossary:

javascript: a major programming language of the internets, mostly how I make my living
json: json is a lightweight system for encoding information, useful for moving it around the internets
:: Comment / reply

Over to you, discussion about anything local, but please please be thoughtful... Folkestone on TV, Kent gigs, Find a flatmate, rent a room, property queries, current news, what's new, local events, for sale, local services, what I like about Folkestone, ask a question, offer advice, plug yourself... the more it's used the more better a site it will become. If you want a gig listed click here to add it (fixed now!), or just click here to post a message...

Also from the same week

Some more posts from the same week as .

Is Folkestone Harbour Festival on in 2009? [Friday 22 May 2009]

lysistrata/bacchae [Friday 22 May 2009]

Haguelands farm [Friday 22 May 2009]

Folkestone Library / Amazon plugin Automaticlaly see if you can get a book for free while browsing Amazon [Monday 25 May 2009]

Why don't local venues send me listings like this? Update from... York? [Thursday 28 May 2009]

folkestone harbour festival 2008 [Thursday 21 May 2009]