Micro.blog Image and Podcast Posting with Workflow and Drafts
While I use this site primarily for microposts, I host my blog and podcast, @theclassnerd, here on Micro.blog as well. There I post longer form content that includes multiple images which has never been easy with Micro.blog hosted sites, especially as an iOS only user.
I’ve finally put together something I’ve wanted to do for a long time, a combination of Drafts actions and workflows to upload images and mp3s to Micro.blog using the micropub API. The Drafts actions then insert the markdown for the image or html for the audio into my Draft right where the cursor is.
I’ve been posting everything I possibly can from Drafts since the Drafts 5 beta launched. Now, I really can do all of my posting there.
Special thanks to @manton for adapting Micro.blog’s implementation of the micropub API so that the URLs don’t just come back through the response header (which Workflow can’t see), but also in JSON so I can extract it.
You can get all of my actions and workflows here:
Note: To run the workflows, you will need an app token from your Micro.blog account.
Updated 2019-03-17: Workflow links now no longer work in the age of Shortcuts. here are the updated links for the Shortcuts (the Drafts Actions should still work fine):