Reinventing my blog
The idea
If you’ve been paying attention to my writing lately, you’ll notice a theme. Toward the end of November I got it into my head to rebuild my blog for reasons that, in hindsight, I don’t actually remember12.
At the time my main goal was to change the technology over from an old blog engine to something a bit more modern. But as I thought more about what I wanted for my blog, and read more about the IndieWeb movement, I realized my idea of what a blog could be was incredibly limited.
To their great credit, modern walled garden web services have given us with a lot of ways to express ourselves:
- Short notes (tweets, status updates)
- Long-form content (blog posts, articles)
- Photos
- Reactions (likes)
- Shares (bookmarks, retweets)
Not to mention more specialized status updates like what we’re reading, what we’re listening to, etc.
Each of these represents a piece of content we’re creating and publishing. We may not think of it that way because firing off a tweet or writing a quick status update is so easy. But they’re all just alternative formats for self-expression.
Unfortunately, as I’ve noted previously, because these are each their own walled garden, this content is split up and spread out across many services. At best this is annoying3! At worst, it’s a great way to ensure that the things we write or post could get lost someday when those services inevitably die.
And then, as I read more about the IndieWeb, I realized I’d been thinking about my blog all wrong.
Yeah, sure, traditionally blogs were the home primarily for long-form content. But it’s my blog. It can be whatever I want it to be. So, why not turn my blog into the place where I post all of the things! And then, after authoring on my own site, automatically syndicate to those social networks!
First, a picture
I’m going to be upfront with you: What I’m about to outline here, and then describe in subsequent posts, is not for the faint of heart. I suspect I could’ve done this all a lot more easily with Wordpress. And services like micro.blog are working to make things even more turnkey.
But I’m a nerd and I like doing things the hard way4.
So, here’s my blog in a nutshell:
Yeah, okay, so it looks a little complicated. And it is! It also took a long time to get right, and in subsequent posts I plan to zoom in and get into some of the details.
But for now we’ll start at the ten thousand foot view.
Posting
It all begins with a post. The post is written as a Markdown file with a bit of what Jekyll calls “front matter” that describes the post, including things like a title, summary, date, and critically, a type. On my blog, the type could be one of:
- note - Short-form post
- article - Long-form content
- bookmark - Sharing a link I find interesting
- repost - Re-posting something because I want to advocate for it
- like - Exactly what it sounds like
- read - Status update for a book
Each post type also includes additional front matter information relevant to it. For example, an article includes a summary, while a note might include a reference to an image.
These posts appear both on the front page in a merged timeline, as well as individual pages with next and previous links for navigation.
Critically, all post types are properly marked up with microformats so services like Brid.gy can understand what they are and how to handle them.
Syndication and backfeed - Twitter
Great, so I have a post, now what?
Well, at step 3a, Jekyll sends a message to Brid.gy. This message is actually a Webmention, and when Brid.gy receives it, it finds the page on my blog where the post originated, verifies that it’s supposed to be syndicated, and then if so, examines the microformats on the page to figure out what kind of post the page represents and what content to syndicate.
Then, at step 4, Brid.gy posts an appropriate tweet by mapping:
- Notes, bookmarks, and reads to tweets
- Notes with photos to tweets with an image
- Articles to tweets with a link back to the article
- Reposts to retweets
- Likes to… well, likes.
At step 5, Brid.gy periodically checks for any activity associated with posted tweets (e.g. likes, replies, etc).
At step 6a, Brid.gy converts any tweet activity into webmentions that are sent back to the site’s configured webmention endpoint.
In my case, because I run a static site generator, some other service needs to consume those webmentions, and for that purpose I use webmention.io. That service receives webmentions, stores them, and makes them available for retrieval by static site generators like Jekyll.
And that brings us to step 7, where Jekyll pulls down any webmentions and renders them into their target pages when the site gets rebuilt and published at step 8.
As a result, any replies, retweets, or other activity are pulled back to my blog!
Syndication and backfeed - Micro.blog
In parallel, my blog publishes a custom RSS feed that formats each post such that the content is suitable for ingestion into the micro.blog platform.
On micro.blog, individuals can engage in the posts in various ways, including likes and comments/replies, in ways that somewhat resemble Twitter.
The difference is micro.blog natively supports IndieWeb technologies, including webmention. As a result, likes and replies are automatically sent back to my blog and included in the site build at step 7.
When the site is published at step 8, the pages also include any replies or likes that occurred on that platform!
Micropub
So, okay, this is great, but… isn’t it a pain to have to write a Markdown page any time I want to write a quick note?
Well yeah. It definitely would be. Fortunately, the IndieWeb comes to the rescue once again, and this time it’s with a technology called Micropub.
Micropub is a protocol that standardizes how a client, which wants to post content, can communicate with a server, which publishes that content. There are quite a few Micropub clients out there, but I use two:
- Indigenous - A Micropub client for Android.
- Quill - A web-based Micropub client.
I use Indigenous to quickly post notes, bookmarks, or other content directly from my phone, and I use Quill to do the same when I’m at a PC.
I pair one of these clients with my own Micropub server, Lillipub5. Lillipub consumes the Micropub protocol and generates an appropriately formatted post that gets published to my blog.
As a result, posting a note on my phone, which is then syndicated as a tweet, is almost as easy as tweeting directly!
The result
It took me quite a while, but now my front page timeline is a merged representation of anything and everything I want to post! And when I post that content, it’s posted to a system I run, using open, transparent, standard formats that are portable and easy to work with.
That content is then syndicated to two different social networks in a way that looks native to that platform. And any interactions on those social networks are pulled back and published right alongside the original content.
Okay, so technically that’s pretty cool, but otherwise, so what?
Well, in the past, because I constrained myself to only writing long posts, my blog would only show activity when I was feeling motivated to write something longer. And that motivation definitely ebbs and flows.
But now, if I want to just throw up a note or post a quick picture, I can, as easily as I could post a status update to Facebook.
And instead of just posting to my blog and hoping someone sees it, I can make that content visible on social networks like Twitter, which leads to engagements that, again, come back to my blog.
The end result is that my blog, the space I’ve created for myself on the web, is much more dynamic and alive. And that’s pretty darn exciting!
Update:
And, of course, just as I post this article, I realize I introduced a bug in my Twitter syndication while I was mucking around with my layouts recently. Thanks, Murphy!
-
Little did I realize this is almost the tenth anniversary since the last re-launch of my blog, so maybe there was something subconscious going on there… ↩
-
Or I was just bored. ↩
-
And now media companies are asking me to subscribe to Netflix and Amazon Prime and Disney Plus and CBS All Access and… but that’s a topic for another post. ↩
-
Did I mention I was bored? ↩
-
I didn’t really have to write my own micropub server, but it was a fun little side project I did purely for my own amusement. Remember: I’m a nerd. ↩
-
Chris Aldrich bookmarked a post https://blog.b-ark.ca/2020/01/02/re-inventing-my-blog.html
-
-
Andy bookmarked a post https://blog.b-ark.ca/2020/01/02/re-inventing-my-blog.html
-
- Broadcasting House: 6
- Broadcasting House: 1
- Broadcasting House: 2
- Broadcasting House: 3
- Broadcasting House: 4
- Broadcasting House: 5
So my WordPress iOS app is now set to post to the category timestamp by default. I take a photo, load it into a new WordPress post on the app (which takes an extra tap these days, as I have to select the “image” block), and press Send. Not quite seamless, not quite fast enough, but it does the job of sending an “I’m alive” signal into the ether first thing in the day. The image doesn’t crosspost to Twitter any more, which, again, is not ideal for my purposes. But, if that doesn’t get fixed or worked around, then I guess Twitter doesn’t want me crossposting images from WordPress to Twitter any more, and that’s a clear enough signal that my distancing from social media displeases social media and I should just fuck off for good.
This is actually kind of interesting to me. Facebook long ago began depreciating posts that don’t originate from inside Facebook, making sure fewer people see them. If Twitter is now reaching the point where it only wants you to see images that are posted from inside Twitter… well, that’s an interesting corner to turn, isn’t it?
With work dropping out of 1000mphclub speeds and giving me a little space to think, I turn again to this blogchain. Because, as a commercial writer, I need some kind of regular pulse on the internets, but, as a fair facsimile of a human being, I need to live in my own private way and outside social media. And LTD is the ongoing development of a personal solution to these issues.
Interesting post on WPtavern by Justin Tadlock:
“More than anything, I want personal websites to be more personal.
“We’re still in a somewhat frustrating transitional period where WordPress is not even halfway to becoming the platform that it will be. We are still beholden to our themes, though less so than before.
“Whether it is a digital garden, a plain ol’ blog, or some new thing we do not have a term for yet, we will all be able to put our unique spin on our personal spaces. It is part of the web that we lost in the last couple of decades with the emergence of the CMS. “
(Note that I’m bolding quotes now because I don’t like the blockquote style on this theme and haven’t had the time to figure out how to rewrite it yet.)
While I personally like the chronological timeline, he also makes the point that a personal site doesn’t have to be that, which may be a useful thought for someone out there who hasn’t gone full wiki directory (hello, Kicks Condor, I can see you).
I realise, of course, that nobody anywhere wants to look at photos of my food. But it does help me remember to eat. Personal log, right? Off I go into the tall weeds of the internet, never to be seen again…
In another month, I’ll have enough wall space to break out another whiteboard and do some visual planning on how this space works. It will not look like the picture on this blog post, which hurts me to look at.
Series Navigation Broadcasting House: 1 >>
<h3><em>Related</em></h3>