What happened to the material you posted on Google+ or Yahoo Groups? Sure, there usually is a way to export your stuff before such services shut down but data migration is always painful. I’ve always preferred to post things on my blog and share links to Twitter ad other sites for a wider dissemination. When I do that, conversations happen outside of the original post and history gets lost. Also, social media sites have syphoned readership from blogs.
I still want to keep a comprehensive archive of the thoughts and pictures I share online. Basically, I want to keep writing short comments to news, bookmark interesting things I read, post my pictures, publish longer articles and have those read and commented wherever the readers are. A simple syndication is not enough: I also want to archive the conversations around my posts on my own site.
I discovered the IndieWeb movement thanks to @cleverdevil and I decided to pimp my DreamPress WordPress, hosted by the nice folks @DreamHost.
Here is how I got the Indieweb functionalities on WordPress it: it’s a multi-step journey. If you’re impatient, skip to the conclusions: IndieWeb is great and some of these features should be shipped with WordPress core. The user experience is not there yet, I can see lots of areas of improvement.
Start with the IndieWeb plugin
The starting point is the IndieWeb plugin for WordPress. I recommend following the full installation instructions for WordPress. Below I focus on explaining the purpose of each piece and what I needed to modify to make things work.
Next, setup the h-card and rel-me fields. The plugin expands the standard profile.php page with new fields. Here you can add the details you want to show on your site.
Then head to widgets.php to decide where to display the information in [h-card format]. I put them on the sidebar.
Install IndieAuth plugin
IndieAuth is “an identity layer on top of OAuth 2.0 [RFC6749], primarily used to obtain an OAuth 2.0 Bearer Token [RFC6750] for use by [Micropub] clients protocol”. You need this plugin to authenticate with various applications that you’ll need later. On my DreamHost DreamPress instance I needed to add these lines to .htaccess:
Header set Access-Control-Allow-Origin "*" SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
Despite those changes, IndieAuth is still not fully functional: I cannot use Micropub clients to post on my site (not a huge deal –more below). I opened a ticket with DreamHost to find out why that happens: it’s possible that some security feature of DreamPress mangles the AUTH header.
Install Post Kinds plugin
Post Kinds are one of the core components of IndieWeb: posts can be photos, replies, notes, articles, bookmarks, videos, favorites, reposts, RSVPs to events and more. This plugin requires the Classic Editor. You can decide which types to enable on your WordPress instance (more on this later).
Install the Webmentions plugin
A Webmention is the ability for one post to let another know the first has linked to the second, much like the old “Pingback” or “Trackback” system. Mentions were popularized by Twitter users in the early days but are also built into services like Facebook and Medium: in these “classic” social media, mentions only work within their respective walled gardens. If someone quotes your Medium post in a tweet, you won’t know and neither will your Medium post acknowledge the existence of such tweet. Webmention is an open web standard and W3C recommendation.
Install the MicroPub plugin
The MicroPub plugin adds a MicroPub server to WordPress so it can accept requests from Micropub clients and converts them into posts. This allows you to publish content to your site using MicroPub clients. MicroPub is an official W3C Recommendation as an open standard, so it is possible to use of a variety of third-party applications/clients/tools that can interact with your website.
Install WebSub (formerly known as pubsubhubbub) and Aperture plugins
The Websub plugin enables you WordPress instance to notify a few services that you published new content. The plugin’s settings are in WordPress settings.php not in IndieWeb but it comes preconfigured anyway. Nothing to do here.
You need also the Aperture plugin to use your site with Micropub clients like Monocle or Indiegenous. Doesn’t require any configuration: once activated, it registers your site on Aperture.
Setup POSSE with Bridgy
At this point the pieces are in place to regain control of your content. One obstacle is that most social media platforms out there don’t support Webmentions: you need to rely on an external service to scout the various social media silos, pull the URL of your posts and send the proper Webmentions. That’s POSSE: Post on your Own Site, Syndicate Elsewhere.
This can be achieved using Bridgy, a free Indieweb service that connects Indieweb sites to Twitter, Instagram, Flickr, GitHub, Mastodon, Meetup, and Reddit. Plus, adds Tumblr, WordPress.com, Blogger and Medium, all of which support Webmentions natively.
After your posts are syndicated or cross-posted to social silos, Bridgy pulls likes, retweets and replies back on your site. This allows the largest amount of conversation about a piece of content to live on the same site for better contextualization. The IndieWeb community calls this a ‘backfeed‘.
To connect to Bridgy you need to have properly configured the rel=”me” links in the h-card and have configured the Webmention plugin correctly. Bridgy then handles finding your siloed copies, finding the associated original posts, and then sending webmentions so those posts to appear as comments. More detailed instructions can be found on WordPress with Bridgy.
Setup the theme
This is more complicated than it should be. Unfortunately there are very few options for themes that understand Indieweb’s semantic. The grandfather of all Indieweb themes is Independent Publisher/ but I don’t like how it looks and its development stalled. A better starting point is Indieweb Publisher. I ended up with this one but I consider it still a work in progress.
How to create an “Indieweb” post
To post while using the full desktop browser, I often use the indieweb “Press This” bookmarklets to Repost, Reply and Like articles I read. Unfortunately WordPress keeps on pushing for the Block Editor and often I find that the bookmarklets don’t open the necessary Classic editor panel. Even when the Classic editor pops up, you need to save a draft and then go to the admin backend to clean up the post, add a featured image and review the semantic elements for the post kind.
Also, I noticed that Bridgy syndication often fails, so I tend to use Jetpack to broadcast to Twitter (thank you DreamHost for the Jetpack Pro). To publish to Mastodon, you need to add a hidden link to your post. It’s too convoluted and I don’t do it.
Posting from mobile is too convoluted
From mobile, the experience is even more frustrating. From Indiegenous I can’t see a way to add a featured image for the post, which means that your syndicated posts won’t look good on Twitter. Also, often I noticed that some elements of the post kinds are not populated correctly or at least they don’t show up on my blog. I need to investigate this further but the app is failing to authenticate (see above).
On Android there seem to be also Wrimini but it doesn’t seem to be actively maintained. Wrimini has less issues to build posts with all the semantic elements but it has no visual indication that the post is being sent. After you hit the “post” button nothing seems to happen: if you hit the Post button again, the app will send multiple copies of your content to your WordPress. It’s barely usable (and now it’s also failing to authenticate).
As a workaround, I’ve been using the default WordPress.com mobile app. When I stumble upon content I keep to reply/repost/like, I share the URL to the WordPress app, save the post as a draft and later go to the full desktop to finish the post. Not ideal but good enough as a temporary fix.
A note on post kinds
At first, I thought there are too many post kinds to choose from making it hard to decide when to use what. Some are still confusing to me: what’s the difference between a Repost, a Like and a Bookmark? And when should you use a Note instead of an Article? I don’t understand the need for such fine grained distinction.
Temporary conclusion
Until now, Indieweb with WordPress has been a little too painful to setup and use. On the other hand, the set of tools is going in the right direction. I’ll keep on exploring the intersection of Indieweb with Fediverse. It feels like the early days of the internet again.
<!–
/*! This file is auto-generated */
!function(d,l){"use strict";var e=!1,o=!1;if(l.querySelector)if(d.addEventListener)e=!0;if(d.wp=d.wp||{},!d.wp.receiveEmbedMessage)if(d.wp.receiveEmbedMessage=function(e){var t=e.data;if(t)if(t.secret||t.message||t.value)if(!/[^a-zA-Z0-9]/.test(t.secret)){var r,a,i,s,n,o=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),c=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]');for(r=0;r<c.length;r++)c[r].style.display="none";for(r=0;r<o.length;r++)if(a=o[r],e.source===a.contentWindow){if(a.removeAttribute("style"),"height"===t.message){if(1e3<(i=parseInt(t.value,10)))i=1e3;else if(~~i<200)i=200;a.height=i}if("link"===t.message)if(s=l.createElement("a"),n=l.createElement("a"),s.href=a.getAttribute("src"),n.href=t.value,n.host===s.host)if(l.activeElement===a)d.top.location.href=t.value}}},e)d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",t,!1),d.addEventListener("load",t,!1);function t(){if(!o){o=!0;var e,t,r,a,i=-1!==navigator.appVersion.indexOf("MSIE 10"),s=!!navigator.userAgent.match(/Trident.*rv:11./),n=l.querySelectorAll("iframe.wp-embedded-content");for(t=0;t
This was cool to read and made me very grateful for how easy I found it to figure this stuff out for my static site. (Though I suppose a fair rejoinder might be that if you’re doing that WordPress plugin route, you don’t have a separate webmentions component with its attendant nginx config blah blah blah)
A nice little overview. Prompted me to make some updates to the IndieWeb wiki to help keep making things easier/better for going through this process.
Congratulations Stefano!
This Article was mentioned on brid-gy.appspot.com
How I added #Indieweb to #WordPress: it’s been a little too painful to setup and use. On the other hand, the set of tools is going in the ri
This Article was mentioned on brid-gy.appspot.com
This Article was mentioned on brid-gy.appspot.com
This Article was mentioned on brid-gy.appspot.com
This Article was mentioned on brid-gy.appspot.com
This Article was mentioned on brid-gy.appspot.com
This Article was mentioned on brid-gy.appspot.com