Whether you are Ian or someone pretending to be Ian
Home
May25
Pictures
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:
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.
2009 :: Comment / reply
Paul Clarke's blog - I live and work in Folkestone. Married to Clare and father to Harry, I am a web dev, and I like javascript, PHP, Folkestone Gerald, pubs, restaurants, history, genealogy, TV, music, popbitch, squirrels, pirates ☠, time travel, stained glass...
Google the site here