A few days ago, I introduced you to Ashes, the Fever client for iPhone with actions. Soon after, I went deeper and used Pythonista to create Kirby-ready blog posts directly from selected text in Ashes. Not everyone has either Fever or Kirby, however, I'll show you the bookmarklets required to trigger this action from Safari.
If you want to use this action on iPad Safari, the script remains the same because you can select text and call a bookmarklet on the iPad. The script is long and this is supposed to be a short article, so grab it in this post. The bookmarklet you must add to Safari is the following:
If you're on the iPhone, you must use the clipboard. This needs a different bookmarklet and changes to our Pythonista script. First, the bookmarklet:
And now a few changes to our Pythonista script, please open it as I won't paste everything here. It's just a few lines, I promise. You gotta replace this part of the script:
quote = sys.argv title = sys.argv link = sys.argv
For this one:
from clipboard import get quote = get() title = sys.argv link = sys.argv