Skip to main content
 

Android Q's Focus Mode is a good idea. Hope something like that comes to iOS.

 

End Game was so good!

 

Micropub via iOS Shortcuts

3 min read

Inspired by this post by Jason Snell on Six Colors, I've managed to create a few different shortcuts that allow me to post to my WithKnown instance through the micropub endpoint.

I've created 5 different shortcuts:

  1. Post to blog
  2. Share link to blog
  3. Share link post to blog
  4. Post photo to blog
  5. Check-in

Post to Blog

The first one allows me to just create a blog post, either a status update or an article depending on the contents of the post. It takes a markdown file, or markdown text as input, converts it to HTML and posts it to my micropub endpoint. If the markdown contains a heading, then it makes that the title of the post, otherwise it just creates a status update post with no title. This is really great, because it allows me to use any text editor I want, I'm not confined to using something that has shortcuts integration or any other special features.

Share Link to Blog

This one just lets me share a link, without any commentary. This shortcut isn't very interesting, it just gets the title of the website and the URL and creates a bookmark post through the micropub endpoint.

Share Link Post to Blog

This shortcut allows me to share a link with commentary. It is almost a combination of the first and second shortcuts. It takes the URL passed to it, gets the title of the article as well as any selected text. It then creates a markdown file with the URL at the top, the title as a heading and the selected text as a pull quote. I can then add any comments I want and share the post to my blog. This creates a bookmark post with an optional pull quote and comment.

Post Photo to Blog

With this one I can post a photo to my blog. The post can be done with or without commentary. Optionally, I can share the photo to Instagram as well with a caption.

Check-in

This one was the most difficult to create. I used ownyourswarm to determine the JSON required to create a checkin post on Known. When creating this shortcut I came up with two different ways that it could be implemented. I could either base the check-in on the Current Location, or I could base it on a Location from Apple Maps and triggering the shortcut through the share sheet. I opted for the second approach, through the share sheet from Apple Maps. The reason I did this is because I often forget to check-in somewhere and don't remember until I've already left the location. By doing it through Apple Maps, my current location isn't important.

I may make some modifications to this shortcut in the future, maybe an option to use the current location or choose somewhere from Apple Maps, but I'm going to use this for now to determine if it meets my needs.

Overall I really like these shortcuts. They make it easier to post things to my blog, which previously wasn't all that easy, especially from mobile devices. Now though, I suspect I'll be posting more often.

 
 

I shared a story from Apple News today here on my blog. Usually when I do this I'll expand the apple.news URL into the publication's canonical URL for posting. Normal this works fine. For this article it did not. It appears that this Scientific American story is only available through the Apple News app. This is concerning. I don't like articles like this being isolated from the web. Hopefully this is just an exclusivity period or something and it'll show up on Scientific American's website at some point in the future.

 

I hope Shortcuts adds more actions for Apple Notes.

 

We finished watching Russian Doll last night. We binged the entire season in 2 nights, it was a great show. Definitely worth checking out if you're looking for something interesting to watch.

 

Played a lot of Mario Kart today.

 

The girls were so excited for the end of school, and have been off school for two days now, and what have they been playing? School...

 

Published using Shortcuts

1 min read

This post should have a title, generated by looking for the first heading line.

 

This post was generated using the same shortcut, but this time using a markdown file instead of just text.

 

With any luck, this will post to my blog as a status update, with formatting intact!

 

Posting from the iPad with Shortcuts

1 min read

This is coming from my iPad via the Shortcuts app.

 

What if the recounts in Florida show the Republicans winning? Are people supposed to trust it?

 

RIP Stan Lee

 

The hard drive in my Windows machine that died and that I thought was the drive holding the OS actually wasn’t. It turns out, the surviving drive is the one with the OS, but the drive that failed had the boot record on it which is why I was unable to boot.

I was able to determine this by downloading the Windows 10 USB installer, booting up with that and inspecting the surviving drive. I managed to restore the boot information and boot successfully into Windows 10.

This is a relief. All that was on the other drive was game installs, most of which I can reinstall by downloading them from Steam or similar cloud libraries.

 
 

So I figure Apple will release a smaller version of the iPhone XR next year.

 

Gambit is so much fun!

 

This is despicable. If you can’t, or refuse to answer reporters’ questions, you don’t deserve to govern https://www.cbc.ca/radio/asithappens/as-it-happens-thursday-edition-1.4779154/unprecedented-staffers...