Having moved my blog to Wordpress, the first task

Having moved my blog to Wordpress, the first task was to choose an IndieWeb-friendly theme. Over at IndieWeb.org there is advice aplenty on what themes work well - I won’t pretend to understand it all yet. I have used Autonomie by Matthias Pfefferle. I like it’s minimalist look - no doubt some tinkering will occur.

The second task was to find a way to easily post to the blog without involving the ghastly Wordpress app. To this end I dug into Drafts 5, which I haven’t used in an age. Initially I edited the Post to Wordpress template that is available to download from the Action Directory. This was easy to set up but I quickly spotted a problem. For some reason that is beyond me, when I posted to Wordpress using this action comments would be closed, overriding the default that I have set. I tried to rectify this but no joy.

Another option is to email a post to Wordpress via Jetpack. I set up an Action in drafts which emails my text. Relevant tags are typed in the first line. The second line is a duplicate of the first few words of the blog post minus any markdown formatting - the reason for this will become obvious. The rest is the body of the post. Using this method seems not to interfere with the ‘comments on’ setting.

One slight hitch I discovered when emailing a post was that Wordpress automatically created a post title - not something I use as a rule - using the current date. This is where that second duplicate line comes in. By inserting a title shortcode in the Drafts action which calls this line, Wordpress uses this as a title instead of the date. While I don’t generally display the titles on the blog it should look better in RSS feeds than a date would. Probably not the most elegant solution but this does all mean I can type a post with tags and send it to Wordpress in one click. And I’m all for fewer clicks.

Stephen James

Minding the gaps

© Stephen James 2021

Powered by Hugo & Kiss.