Skip to main content
 

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.

 

Published using Shortcuts

1 min read

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

 

Posting from the iPad with Shortcuts

1 min read

This is coming from my iPad via the Shortcuts app.

 

“Open” Google

2 min read

Listening to TWiT the past week or so and they’ve been talking a lot about the Apple education event, and making a lot of comparisons to Google. Leo would consistently talk about how Google is more “open” and Apple is closed. One person during one of the shows (I can’t recall which) even said Chromebooks were better because they could have developers make web apps, but iPads required iOS developers. Did they forget that iPads have Safari?

And on the topic of Google being “open”, I don’t think that word means what you think it means. Google has done a good job convincing everyone that they’re “open”, but they really aren’t. If Google were really open, you’d be able to develop a 3rd party Google Docs client and collaborate with people using the 1st party Google Docs app. What Leo really seems to be saying is Google has more cross platform apps, but cross platform does not equal open. That would be like saying an email provider that only allowed you to email other people on their service is open as long as they made apps for all the major platforms.  

This isn’t to say Google hasn’t contributed a lot to the open source community, they have, but so has Apple

I guess all of this is to say cross platform <> open.

 

I ❤️ Workflow

3 min read

I use Workflow many times everyday. I really like how I can build custom, well, workflows and have my phone do something that's simple and make it even easier, or do something complex with the push of a button.

I know my phone is a computer in my pocket, but this app makes my phone really feel like a computer. Just checkout their documentation to get a sense of what Workflow can do.

I thought I'd share some of the workflows that I use pretty often.

Share on Known

This is easily my most used workflow. I can use this to share pretty much anything from any app using the iOS share sheet right to my blog. It's essentially a glorified bookmarklet, the key being I can use it from any app.

Log my weight

This simple workflow lets me log my weight from the iOS today view. It simply prompts me for my weight, displaying the number pad, and logs it to the iOS Health app.

Log water

Similar to the weight workflow, this workflow lets me log my water intake to the iOS health app. Again, I can use it directly from the IOS today widget, allowing me to select from 2 pre-defined amounts (amounts I often drink), or I can select Other and input the amount through the number pad that's displayed.

Quick reminder

This workflow lets me set a quick reminder in the iOS Reminders app. Reminders doesn't have the best interface for adding new entries that will have either a date/time or a location associated with them. So, this workflow lets me quickly select a common location (work or home) or set a time using natural language (i.e. Tomorrow @ 10am).

New Journal Entry

I used to use Dayone for journaling, but when they moved away from allowing syncing via iCloud I decided I wanted a different solution. I decided to move to the iOS Notes app. However, I like the location and weather information that Dayone adds to each new entry. To get type of information into my journal entries I created a workflow that pulls my current location and gets the current weather from the Darksky API and copies that information to the clipboard. I can then paste that into the top of the note.

Activity Report

This is a simple workflow that will show me how well I'm doing for the day in terms of number of steps and water consumption. It shows me my average steps and water consumption for the last seven days along with today's steps and water consumption. This is another one that works directly from the iOS today view.

Translate Selection

Some of the content I read online isn't always in English. This workflow lets me select some text and translate it into English using the iOS share sheet..

ETA Home

I use this one to send my wife an iMessage letting her know how long it'll be until I get home. It takes my current location and estimates the travel time based on current traffic.


So those are some of the workflows that I have and use often. I have to say I'm pretty omptimistic about Apple's acquisition of Workflow. I hope they build some of this directly into iOS and I hope they turn Workflow into something like Automator for iOS.

 

Safari Favicons

2 min read

John Gruber wrote recently about favicons in Safari

The gist of it is two-fold: (1) there are some people who strongly prefer to see favicons in tabs even when they don’t have a ton of tabs open, simply because they prefer identifying tabs graphically rather than by the text of the page title; and (2) for people who do have a ton of tabs open, favicons are the only way to identify tabs.

A lot of people seem to agree that Safari should display favicons as a way to quickly find a page among a sea of open tabs. Personally, I've never found that to be all that useful in finding a particular tab. Gruber makes some good points, but the way I deal with a large number of tabs is through the tab exposé feature in Safari. Just pinch on the trackpad (or use the shift-cmd-\ keyboard shortcut) to see a grid of thumbnails of all your tabs. From there, you can visually identify the page you're looking for. Alternatively, if you just start typing, the grid of thumbnails will be filtered based on the search.

I find this method to be much better than trying to remember where in a row of tabs a particular page is, or trying to identify a site based on the favicon in the tab bar, but that's just me.

 

Kids in the Square

1 min read

Tonight we went to Kids in the Square to see Robin Hood by The DuffleBag Theatre. It was a great show and the girls really enjoyed it.

 

1 min read

Can you do a titleless post on Known?

 

Changing Emails

2 min read

I’ve moved a lot of my email back to my personal account. My email is now michael@runcieman.com. I’ve setup scripts so that if I drop an email into a folder, every email from that address will go to that folder in the future. The scripts will re-generate a number of sieve filters based on the list of addresses in each folder every 30 minutes (or however often I want). This way if I want to remove a particular address from that ruleset, I just need to remove all the emails from that sender from that folder and that address will be removed. I’m not entirely sure sure if I’ll keep this setup or not, but it’s been a fun experiment.

I’ve been a Gmail user for years, over a decade actually, and it’s fine. But I find I don’t use it any different from a regular hosted email service. I rarely use the Gmail interface, search on my Mac or iPhone allow me to find what I’m looking for, so there isn’t a whole lot of incentive to stick with Gmail any longer. While on the other hand, Gmail’s IMAP interface has always been problematic and slow, filtering in Gmail is a pain, and Google is an advertising company. That last one doesn’t bother me too much at the moment, but I’ve noticed it’s been irking me more and more. I’m pretty sure one day Google will say “IMAP is no longer supported for Gmail” because they’ll want all their users going to their interface in order to serve ads. And that’s fine, I just want a bit more control.

Now some people will say that Gmail has the best spam filtering. That may be true, but there are options out there to deal with spam. Spamassassin has worked well for me the past, and services like Mailroute, which sits in front of your mail server and filters out spam, are available for a nominal monthly fee. 

Anyway, all this is to say, I’m reclaiming my email and so far I’m liking how it’s going.

 

Forked KnownReactions

1 min read

I forked and updated the KnowRractions plugin to quote likes the same way it quotes reposts. This way, anything I like I also have a copy of the original content.

This is the first time I've ever forked something on github. Also the first time I've really used git.

Next, I want to see if I can fix this (& this).

 

Switching back to RSS

4 min read

For the past few years I abandoned RSS in favour of social media, namely Twitter and Facebook. The main reason was because the number of posts to the sites I followed via RSS was simply too much to keep up with. By using social media, I didn’t have an unread count to keep up with. So, I unsubscribed from all the sites I was following and “Liked” or “Followed” them on Facebook and Twitter. I kept a few sites in my RSS reader, smaller blogs and sites I felt I wanted to read every post (Daring Fireball, Stratechery), but for the most part I unsubscribed from everything.

Twitter and Facebook have different strengths and weaknesses for following news.

Twitter lets you see a raw feed of everything as it is happening. This has the benefit of being able to see breaking news as it happens and easily follow along.

Facebook’s algorithmic timeline lets you see things you’re likely to be interested in and/or is getting a lot of engagement. This lets the good stuff bubble to the top.

My main problem with RSS was the volume of stories and the inability to sort the wheat from the chaff. Facebook solves that by showing popular stories through their algorithm while services like Nuzzel can show you the most popular links from your Twitter feed.

Still, I don’t like relying on these third party services to get my news. As apparent from this blog, the IndieWeb has peaked my interest again, and I’m looking to decouple from those social silos a bit. That doesn't mean I'll stop using them, but I don't want to rely on them as much as in the past.

I went back to Feedly to see what was new. I hadn’t stopped using Feedly, I just wasn't using their web interface much. I use Reeder on my Mac and iPhone when I want to read the few RSS feeds to which I am still subscribed.

One thing that appeared new (to me) was the ability to sort by popularity. Feedly will judge a story’s popularity based on (presumably) the number of Feedly users reading it. And the popularity is scaled based on the site’s size, so a story from The Verge won’t be considered popular if it gets 100 views, while a smaller, less trafficked blog would be considered very popular if one of its stories were to get 100 views.

The popularity numbers are then coloured. Here’s how those colours are determined:

Red means that the story is at least 7 times more popular than the average story published by this source. Orange means that the story is at least 3 times more popular than the average story published by this source. Grey is the default color.

So, I started resubscribing to a number of sites, sorting them into various folders just to see what things would look like. The first results weren’t promising. The number of stories was huge and it was difficult to see the popularity numbers.

However, changing the view of the folder pretty much solved the problem. I changed to “Title-only view” and sorted by “Popular + Latest”.

This was the result:

The “Most Popular” section at the top provides a quick look at what stories in the bunch are worth looking at, while in the “Latest” section I can quickly scroll through and look for other stories that are popular.

I’ve only been using this for a couple of days now, but I’m really liking it. I still use Facebook and Twitter, but this gives me another, quick look at the news.

 

Wanna Buy a Camera

1 min read

So I wanna buy a new camera, a digital SLR.  I'm looking at the Canon Rebel XTi because it seems like a good starter camera.  I've read a lot of good reviews on the camera and everyone I've spoken to about it have really good things to say.

The one major downside I've heard about the camera is that the kit lens that comes with it isn't that great, so I'm probably going to skip that lens and get the 17-85mm f/4-5.6 IS USM lens instead.

I've been doing a lot of reading on digital SLRs and I'm really excited to finally get the camera and try out all these different techniques I've been reading about.  I'm still not sure when exactly I'll get the camera, but hopefully it'll be soon.

 

Paris, the City of Lights

2 min read

Well, we've been in Paris for a few days now, but the Internet access here isn't free, so I had to wait to buy some time before I could post again.

We've seen a few of the sights, but mostly we've just been wandering around the streets and taking in the atmosphere. On our first day here, we found a small panini shop, got ourselves a couple of paninis and ate them in one of Paris' oldest squares. It was quite the experience. The square was full of people, some eating as we were, others reading, relaxing and napping, I could learn to live like this ;)

We've seen the Eiffel Tower (many times), but haven't gone up it yet. We'll be doing that tomorrow (and yes Radha, I'll remember to look for your message). I tried snapping a couple of pictures of it at night, but most of them turned out kinda blurry, no tripod :(. This one turned out pretty good though. Maybe I'll try to take some more, but I gotta find a way to stead the camera better.



Yesterday evening we did a boat cruise down the Seine, which highlighted some of the sites along the river. Everything from the bridges to the buildings is simply beautiful. However, my favorite site in Paris has to be the Notre Dame cathedral. It probably isn't the most beautiful thing in Paris, especially with those gargoyles, but its monstrous and gothic appearance was really something! The climb to the top wasn't easy, but we managed, and the view was well worth it. I got a few shots from the top which I'll post when I got home.

Today we were both feeling a bit cultured out, so we decided to break from our plans a bit and went to EuroDisney. Except for the line ups we had a really good time there. Probably wasn't the best day to go (Sunday), but we didn't have much other choice, and like I said we enjoyed it anyway.

Tuesday we're leving for Venice, and then it's off to Rome. We're both really looking forward to Italy. I don't think I'll have Internet access there, so no more until we get home.

 

More Sight Seeing, Still Good Weather!

2 min read

Well, we're coming up to our final day here in London. We've had fantastic weather for our entire stay, hopefully it'll continue for the rest of our journey.

We've seen quite a bit more of the city including Trafalgar Square, Kensington Gardens and Hyde Park. The sites are simply amazing, filled with so much history it's difficult to take it all in.



Yesterday we saw the Tower of London, the Tower Bridge and St. Paul's Cathedral. It doesn't sound like much, but each of those things is pretty big. While I enjoyed all of them, I would have to say I was most impressed by St. Paul's Cathedral. Don't get me wrong, I really enjoyed the Tower of London. The guided tour by one of the Beefeaters was really interesting and filled with all sorts of historical information. But St. Paul's Cathedral was just that much more. Its dome, the views from the top, and the architecture and paintings inside were unbelievable. I'll never forget sitting in the whispering gallery and looking up at the paintings is the dome. Pictures inside, unfortunately, weren't allowed, so I've included one from the top of the cathedral.

Tonight we did a Jack the Ripper walking tour where we visited some of the murder sites and learned all about the suspects and the investigation. For instance, did you know that there is a theory that the murders were conducted by members of the freemasons and that it was a big government cover-up. Interesting stuff :)

So tomorrow evening we're off to Paris. I don't know what the Internet access will be like there, but if I've got it, I'll try to post again soon.

Oh, and we also met some fellow Canadians :)

 

Cheerio from Across the Pond

1 min read

So we arrived a couple of days ago. The flight wasn't that great, we were delayed at the passport control office for over an hour. Luckily, Scott, my cousin's friend who had said he would be able to drive us out to my aunt and uncle's, stuck around and we were able to meet up with him once we got out of the airport.

Visiting with the family was short, but great. We stayed with my aunt and uncle Saturday and Sunday and visited with nana and popa on Sunday. The weather was so great we went for a walk down by the beach, and even stood in the ocean :)

Today we saw many of the sites, including Westminster Abbey, Big Ben, Houses of Parliament, The Jewel Tower, The London Eye, The Globe Theatre, The Millennium Bridge and the Tate Modern. We didn't manage to see St. Paul's Cathedral, but we're going to try to see it tomorrow. It was a very busy day and we're both exhausted, so it's time for bed. I'll try to post again soon.