Monthly Archives: August 2008

User-friendly 404 pages

If a user types in or follows a URL that does not exist on a website they are usually taken to a 404 (page not found) page.  Returning a standard 404 page to your user tends to provide a less-than-optimal user experience and may cause you to lose them altogether.  A solution is now at [...]

Using the Google Static Maps API to include maps in your emails

The Google Maps API is a great way to utilise Google’s Maps platform on your own website. The standard Maps API, however, does not work in e-mails as it is reliant on JavaScript which most (if not all) e-mail clients block. Luckily there is a solution thanks to the Google Static Maps API. The Static [...]

Python: Inserting characters into a string

Disclaimer: I’m a Python newbie … if you know of a more efficient way let me know! I needed to take a sequence of 4 digits (eg 1145) and modify it to look like clock-time (eg “11:45″). After a bit of online (what else?) research I decided to take the approach of converting the integer [...]