At the moment my blog sites at /blog/ I think it might be better at the top level of the domain. But I want not to break the links, and my main blog posts to stay at /blog/ I’ve move WordPress out of a folder before, but not in a situation where a worry about links.
Year: 2017
In my exhuberance to post an image along with articles syndicaed from my site to Twitter, I hastily started adding the microformats2 class u-photo. I didn’t know better. It was brought to my attention that u-photo is meant for actual photo posts, where the image is the primary content. An experime...
Hopefully adding the u-featured class to my featured images, using code from Microformats2, WordPress and Featured Images Classes – Miklb’s Mindless Ramblings.
Victoria Park Evening
The MP3 is like the gif, there are better file formats but these are used everywhere and loved by (almost) everyone. I am reading a lot about the demise of the MP3, a bit premature perhaps.
WordPress menus fixed, fault mine & mine alone
I just updated my blog to the latest version of WordPress.
All seemed fine until I had a look at the site. Some of my menus had went a little weird.
Quite a few of the titles had changed to ellipses! I went into the dashboard and changed them back, my changes didn’t stick. I presumed that it must have been the upgrade. I had no idea where to start so shot off a quick tweet for help.
After dinner I calmed down a little and though about the changes to my blog I’d made recently for mico blogging. One of those was to give posts without a title titles on wp_insert_post_data. It uses ellipse! This was meant for posts arriving from the micro.blog app. They would get titles set when they arrived on my blog, to prevent ugliness in he dashboard.
function modify_post_title($data)
{
if ($data[ 'post_title' ] == '' ) {
//wp_filter_nohtml_kses strips html and then I replace
$title = str_replace( " " , " " , substr( wp_filter_nohtml_kses( $data[ 'post_content' ] ) , 0, 60 ) ) . "..." ;
$data['post_title'] = $title ;
}
return $data; // Returns the modified data.
}
so I’ve changed the if to:
if ($data[ 'post_title' ] == '' && $data[ 'post_type' ] == 'post' )
Which seems to have solved the problem and taught me a lesson.
Microcast 7: Small thoughts on micro.blog

Some small thoughts on micro.blog as a microcast.
I like this, You like my like of your like of my status on Vimeo
Enjoyed tonight’s drive home listen: Tantek Çelik – The once and future IndieWeb on Huffduffer ripped from YouTube by huffduff-video