Show Instapaper Articles in Editorial

I use Instapaper for pretty much anything these days. Whenever I stumble upon an interesting link, be it something readable or an utility, I drop it on Instapaper to be dealt with later. Therefore, Instapaper is an essential tool while I research for new articles and having those at arm's length when I'm writing in Editorial seemed like a no-brainer.

The first thing you have to do is grab the RSS feed for your Home screen. Since its latest update dumped the quick access for it, we gotta dig the source code until we find a certain tag under the <head>:

<link rel="alternate" type="application/rss+xml" title="RSS" href="/rss/2776392/sUMfE4D38oySoUk16Smxll">

That's a random example, but you want the url inside the href parameter. Prepend http://instapaper.com to it and you get your URL feed. You'll end up with something like this:

http://instapaper.com/rss/2776392/sUMfE4D38oySoUk16Smxll

You must edit the first step of the workflow (a Set Variable item) to this url. The workflow will create a dictionary with the links and titles from your Instapaper Home folder. If you peek at the Python scripts you'll find our use for the json module, it allows us to store this dictionary as an Editorial variable, which requires a string, and turn it back into a dictionary later, after you select an article, so we can match the title to the url and open the latter at Editorial's browser.

You can download this workflow here. Remember to edit the first step and lets hope for more Editorial workflows yet to come in this blog.