Delicious Will Eat Itself!
Almost two years ago, Jason Kottke published del.icio.us will eat itself. I was intrigued by this recursive process on delicious, and wanted to find out how deep this chain went, so a year later, I decided to write an app to descend the del.icio.us hierarchy.
Well, almost twelve months, one OS bug, and one new laptop later, here it is.
Caveats:
- You’ll need to fill in a delicious username and password in three places in MPAppController.m: I tried to implement a dialog and Keychain caching for credentials, but never succeeded. (See the three #warning‑s for these locations).
- The app uses a combination of synchronous and asynchronous NSURLConnections to work with delicious. Your mileage may vary on how responsive the app stays.
- This code is pretty old. Things in OS X have changed, and I’ve gotten better at Obj‑C and Cocoa since then, so apologies for any particularly ugly or wrong parts.
- I hardcoded a five second delay between API requests to avoid smashing delicious to bits. If you remove this and I get nasty emails from them as a result, I’ll find you and punch you for it.
Feel free to pull it, fork it, run it, whatever. I’m done with it, so I figured I’d kick it out into the world. There’s an Excel sheet in the root that’s got the bookmark numbers I found when I ran it back in August. Again, it’s all available on github.