| Subcribe via RSS

URL Editor

September 15th, 2009 | No Comments | Posted in Development, JavaScript, Tools

On a few occasions recently I’ve had to deal with long URLs, or more accurately, URLs with long querystrings. Each time it was a chore: strings that are a few hundred characters in length are unwieldy, hard to read and tricky to edit. So I decided to make my life easier and build a tool. More »

Tags: , , , ,

HTML images using long GET strings

June 21st, 2009 | No Comments | Posted in Development, JavaScript, PHP

The Problem

You’ve got a piece of code that creates an image in your web page by passing a bunch of parameters in a GET string to some server-side process:

$('tile').src = 'http://img.com/generate.php?a=1&b=2&c=3';

But what do you do when the URL goes beyond the limit? Practically, for cross-browser solutions, the limit is around 2000 characters (thanks to IE), and I recently had to find a workaround when generating images via a WMS. More »

Tags: , , , , ,

Bookmarklets

May 16th, 2009 | No Comments | Posted in Development, JavaScript

Not a day goes by without the need at some point to look up a location on Google Maps (UK). Despite the obvious benefits of the quick search bars in All Modern Browsers, I’ve not really taken to them. In theory they’re a great feature, but I find that they make me think too much. More »

Tags: