NetNewsWire to FriendFeed

After building an applescript to post items from NetNewsWire to FriendFeed, I settled on using FriendFeed’s own bookmarklet from within NetNewsWire. Here’s the how and why. I’ve been using NetNewsWire’s Clippings feature as a sort of light-weight alternative to posting links to my del.icio.us account. It makes for a one-click bookmarking experience, without having to [...]

Date math and documentation

The other day I found this little nugget in the comments of the date page of PHP manual. The real lesson is in the first paragraph: “One of the most useful skills you can utilize when performing date math is taking full advantage of the UNIX timestamp. The UNIX timestamp was built for this kind [...]

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 [...]

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.

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 [...]

Upcoming.org API wrapper for PHP4

Sounds like Upcoming.org is set for some upgrades (does version 2.0 of a Web 2.0 application == 4.0? :) ) next week. Aside from a yahoo account merge, they are keeping things pretty close to the vest. Maybe the documentation wiki will be reincarnated. The suggestion board is nice, but doesn’t have the same information. [...]