![]() Note: I’m posting this in an attempt to revive my blog. Luckily Tapbots are working on an iOS Mastodon client, that I managed to get on the latest round of TestFlight beta apps yesterday. So far I’ve been using an iOS Mastodon app, Metatext, on iOS and macOS (Apple Silicon right!). I opened a Mastodon account when Space Karen first hinted he wanted to buy Twitter (thanks Raj!) but never really used it. My work account, a campaign account and a village news account. I’m reluctant to delete it as it’s been active since 2006, but it’s not been much fun over the past few years. ![]() Since the buyout I’ve more or less stopped using my personal account. ![]() I used the web client, then Tweetdeck and finally settling on Tapbots set of iOS/macOS clients (which have also stopped working). It’s all because of Space Karen’s blocking of most popular third party Twitter clients from their API. Subscribers get access to an exclusive podcast, members-only stories, and a special community.Craig Hockenberry’s blog post about the last day of Twitteriffic working is acerbic and brilliant. If you appreciate articles like this one, support us by becoming a Six Colors subscriber. Who knows how many people in the world this will garner interest from, but the larger point is that if there’s a web API, you can probably control it via Shortcuts! Below, I present how I use Shortcuts to post content to Movable Type via the XML-RPC API in annotated form. Yet somehow, there I was on a December day in 2018, sitting in my local Starbucks working on an iPad, and once I read Allen’s post I logged in to my server (via Panic’s Prompt app), edited the mt.cfg settings file with vi, and-just like that-the whole thing worked perfectly. In the post, Allen wrote “I expect this to garner interest from about three or four people in the entire world”-and that was written fifteen years ago. The shortcut picks up the baton, loads that file from my Stories folder in Dropbox, parses it, asks a couple of questions, and sends the result to Movable Type.Īlong the way I had to dig up a Jay Allen post that detailed an obscure Movable Type preference that I had to change in order to control whether a post sent by this method would automatically go live or be saved as a draft, to be published later. In 1Writer I’ve created a very basic custom action that runs this URL: shortcuts://run-shortcut?name=Post%20to%20Six%20Colors&input=Īll this action does is tell a specific Shortcut named Post to Six Colors to run, and passes along a single item as input-the name of the current file I’m working on. The second one is built around my current iOS text editor of choice, 1Writer. The item yesterday highlighting this week’s episode of Download was posted from this Shortcut. The first one, which lets me post the latest episodes of my podcasts to the site, is a total knockoff of Cassinelli’s, so I’ll suggest you read his post for inspiration. I now have two different Shortcuts that post directly into my Movable Type setup. I got stuck a couple of times along the way-thanks to Matthew Cassinelli himself for giving me a couple of pointers, and to MarsEdit author Daniel Jalkut for reminding me of the best way to encode web content in CDATA statements so that an XML parser will accept it-but in the end, I made it happen. And I wondered if I might be able to figure out how to build a Shortcut that did all the interfacing with my blogging software’s ancient API and allowed me to post stories from my iPad without using the Movable Type web interface. Movable Type has an external posting interface, a web API that lets apps like MarsEdit post into it. ![]() If I want to post a story from my iPad, I end up loading a page template that was designed years before the iPad was a glimmer in Steve Jobs’s eye and pasting and tapping and zooming.īut wait, I thought. So I don’t have fancy iOS apps or even fancy iOS-friendly web templates. Through nobody’s fault but my own, this site is built on Movable Type 4, the ancient blogging tool that I know by heart, which explains why I still use it when it’s woefully out of date. His blog, you see, is WordPress-and there’s a WordPress app with Shortcuts support. This week I got a little envious of Matthew Cassinelli, who was proudly posting how he’s building all these Shortcuts on iOS that let him do cool stuff involving automatically posting things to his blog. Note: This story has not been updated since 2020. Adventures in Shortcuts: Posting content using ancient web APIs
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |