This is a follow-up to “How I Handle My RSS Queue On The Mac And iOS”. When I wrote the post I struggled to find a good solution for filing away RSS articles on the iPhone since no RSS reader offers support for a kind of advanced automation (aka x-callback-url support).
This post is about a bookmarklet which enables you to send an inline Markdown link to Launch Center Pro which prompts you to select one of your plain text lists and prepend or append the link.
Previously, I’d open the article in Safari and press my bookmarklet for saving an inline markdown link to my clipboard. Then I’d open up Drafts and send the link to one of my plain text lists. That might read like a few taps but it feels slow and tedious.
I love my list workflow on the Mac…
… but I really struggle with getting automation done on my iOS devices.1 Anyway, I managed to port my filing browser links workflow to TaskPaper. I now have a bookmarklet that I can fire up in Safari and end up with this:
What this does is it sends the URL as a Markdown Link to one of my Taskpaper lists formated like this:
- [Automating iOS: A Comprehensive Guide to URL Schemes and Drafts Actions](http://www.macstories.net/tutorials/guide-url-scheme-ios-drafts) - [Share your clipboard among your devices with Command-C](http://philgr.com/blog/share-your-clipboard-among-your-devices-with-command-c) - [SearchLink for Editorial](http://olemoritz.net/searchlink-for-editorial.html)
I struggled at some point, but iOS automation wizard Eric Pramono from Geeks With Juniors was kind enough to help me out on Twitter. Although I did my own research and Eric gave me a working example which closely resembled what I tried to accomplish, there where still some bolders in my way.
Here’s the end result:
Basically you can copy everything until line 3 (and don’t forget to remove the line-breaks). Then customize the script and encode it the part you just edited.
I struggled a bit since Launch Center Pro wouldn’t accept my list. The problem was that the URL title (more precisely the spaces in a title). I tried double and triple encoding it, but failed. Adding the URL encoder helper `` around the fetched
document.title and double-encode them proofed to be the solution.
To keep it simple, here’s an older YouTube video on how to install bookmarklets on iOS: http://youtu.be/BG9TXlJ5pts.
If you use iCloud to sync your bookmarks you can modify the code to your liking and copy it to a new bookmark.
Bookmarklet for getting an inline Markdown link into Drafts:
Bookmarklet for getting an inline Markdown link into Drafts and use the apps “Copy to Clipboard” action:
Bookmarklet for getting an inline Markdown link into the clipboard via Launch Center Pro: