Posts in "Tech"

If all they do is bring back the 30 pin connector for the iPhone 15, then I’ll call that a win. 😁

Missed the iPadOS, watchOS, and tvOS announcements in the WWDC keynote. Will have to recap those before the State of the Union.

#wwdc23

Prepping all of my devices for loading the betas today. 😬

#wwdc23

Took me a little longer than I intended, but I finally pushed out some updates to my Drafts action for posting to Micro.blog.

  • Fixed a but with the authentication toke, where it was possible to include an empty space at the beginning or end. This would cause it to fail. Stripped out these spaces to avoid this issue.
  • Fixed an issue with cross posting. If you unchecked all options, it would cross post everywhere. Sorry about that. Now it should allow you to properly cross post how you choose.
  • New feature, Scheduled Posts. You can now schedule a post directly from Drafts. When creating the post just set the date and time that you would like the post to publish. At the moment you cannot change the scheduled date in Drafts, you will need to update that on the website for now.

I am a bit jealous that iOS doesn’t have a fun little mascot, like Android.

Photo of two little Android characters standing on a desk.

Posting to Micro.blog with Drafts

There are a few Drafts actions that allow you to post to Micro.blog, but none of them did everything that I wanted in one place. That led me to create the Post/Update to Micro.blog action. This action will allow you to do a lot for a post, directly in Drafts.

Features

Blog Selection

If you have multiple domains configured for your account, such as a main domain and the provided test domain from Micro.blog, then you will be able to select which one that you would like to post to.

Fun with Draft Actions

I’m having some fun working on this Drafts action for Micro.blog. I’m horrible with JavaScript, but I’m fumbling my way through it and feel like it’s coming along nicely.

I’ve still got some ideas for it, but wanted share a little bit, to give myself a push, so that I don’t keep it hidden forever.

I wanted to have one spot to post to my primary or test blog, so I added a prompt that will let you choose which blog that you want to post to.

That moment when everything falls in place and I have a working Drafts action and I’m using it to post this. 😃

Figured out my issue that I was having. Apparently I shouldn’t be trusted with JavaScript. I was adding the query parameter to the request object incorrectly. 🤦🏼‍♂️

I’m working on a Drafts action for Micro.blog, but having some issues with the category selection. I added a prompt to select the blog to post to, however, when requesting the categories it continues to show the categories based on my main blog. I tried setting the mp-destination to the selected blog on the Micropub request for the categories, but that doesn’t seem to work. Or I’m setting that request up wrong. Does anyone have any suggestions to try out?