Software As She’s Developed

Mahemoff’s Podcast/Blog – Web, Programming, Usability from the Author of ‘Ajax Design Patterns’ (AjaxPatterns.org)

Software As She’s Developed header image 2

Instalicious: Push Delicious “ToRead” Items Into Instapaper

July 14th, 2009 · 6 Comments

Update: Moved intalicious to GitHub. The main change I made since posting this was to stop items reappearing in Instapaper once you’ve deleted them; the sync process was causing them to be pushed from Delicious again. The script now changes the “toread” tag to “instaliciousd” (configurable name), so “toread” items will only be pushed once.

Instapaper lets me read stuff later – I hit a bookmarklet when I’m reading it and I can see it later on my browser or in iphone, or print articles in a newspaper format. The problem is, I’d rather add that stuff to my Delicious stream so I have a permanent record, others can see it, and it plays nicely with in mashups.

So I decided I want a way to bookmark things in Delicious as normal, but still have them appear in Instapaper. Here’s the script repo:

Instalicious repository at GitHub

Instalicious is a little Python script that plucks out items tagged “toread” – or some other configurable tag – and pushes them to Instapaper. Fortunately, both services have easy APIs (Instapaper API; Delicious API), and in the case of Delicious, there was even a pleasant Python binding to the API. Also, the Instapaper API happily doesn’t create duplicates when you send it something you’ve already sent…so Instalicious doesn’t have to remember what it sent. It just dumbly polls Delicious and sends it over to Instapaper.

Now you can have your cake and eat it :) .

Categories: SoftwareDev

Tags:

6 responses so far ↓

  • 1 BenJam // Jul 15, 2009 at 10:12 am

    That is…. perfect!

  • 2 MichaelC // Oct 10, 2009 at 4:26 am

    Nicely done!! Easy to setup, and it works flawlessly. Many thanks for a great script. :)

  • 3 links for 2010-01-01 « weblinkstream // Jan 2, 2010 at 5:05 am

    [...] Instalicious: Push Delicious “ToRead” Items Into Instapaper (tags: x20ltfuod delicious python iphone mashup script code news project bookmarking instapaper) [...]

  • 4 links for 2010-01-01 « LinkStream // Jan 2, 2010 at 5:11 am

    [...] Instalicious: Push Delicious “ToRead” Items Into Instapaper (tags: x20ltfuod delicious python iphone mashup script code news project bookmarking instapaper) [...]

  • 5 Henry Huang // Mar 7, 2010 at 12:59 pm

    Actually this Python Script is based on the “old school” of delicious. After it has been acquired by Yahoo, this Python API could not used in new accounts registered through Yahoo Account.

  • 6 mahemoff // Mar 8, 2010 at 11:39 am

    Henry, thanks for the heads-up. That’s unfortunate to hear. My own account is old-school so I hadn’t picked up on that. I’ll realistically need more interest in the project to consider making it Yahoo-friendly, but I’ll happily accept patches.

Leave a Comment