Category Archives: code

The subtle power of microformats

Drew McLellan describes a great example of microformats in action: This is a superb example of the utility of hAtom. Last.fm doesn’t have a dedicated feed for their shoutboxes, but because they’re nicely marked up with hAtom, it can be converted to Atom on the fly. Awesome. In other words: Last.fm outputs their content in [...]

Finding and deleting old files

Here’s a nifty little unix command line snippet that I found a while back while trying to find a way to clear images from a directory on a regular basis. It lets you manipulate files that are more than a specified age. For example, if you wanted to see all files in the /var/log directory [...]

Directory Digger

Update (2007-06-27): Directory Digger is a featured download on Apple.com‘s main dashboard widget site. Cool! (thanks Rob, for the tip) In my spare time (heh), I’ve built an Apple dashboard widget that lets one search an LDAP directory. For me, the tool is filling a number of needs. The project page summarizes some of them: [...]

Caching and zooming your Flickr images

I’ve made a few changes and additions to Dan Coulter‘s phpFlickr API class. These modifications address the retrieval of image URL’s, and allow the caching of images locally. In the process, I also created a little helper class to complement existing phpFlickr interface methods.

ZoomifyImage ported to PHP

Wes Wright has ported Adam Smith‘s ZoomifyImage processor from Python to PHP. This is a tool that lets you convert images to a format that can be viewed using the flash based Zoomify viewer. Wes gave me the go-ahead to write a bit about his work on this and put it up for download. Additionally, [...]

The Upcoming API as a CakePHP Model

As part of a calendar-of-events application, I needed a way to easily publish and update our events to external services, such as Upcoming or Eventful. Here are a few tools to help you integrate your CakePHP application with the community events service formerly known as upcoming.org (now known as just simply, Upcoming). Felix Geisendörfer has [...]