After Google turning off Latitude, a bunch of people are looking for an easy solution to sharing their current location online. While I never used that service, because I didn't want a gross Google app on my phone, I wanted to do that for a while, too. This post describes a simple way to do that with your iOS device, without the need for a dedicated app.
Tyler Hall has build a tool for getting the location from your
MobileMe Apple account, or rather the Find My iPhone part of it. Helmut Poppen created a Ruby version of it, called rosumi, which I am using for my solution.
Sticking those bits together, I made a Ruby script using rosumi which writes a GeoJSON file with my current location. This gets commited to a Gist every ten minutes via a Cronjob. That can be embedded into a webpage pretty easily, you can see the result here. The pretty minimal code and a short usage description is up on GitHub here.