Blogging with WordPress for Android

My blog is running on a self-hosted WordPress instance, and I have an Android phone. I also do some long commutes, so it would be quite sensible, to use the WordPress for Android for blogging. Better yet, why use my laptop at all just to write an article, when I can simply hook my bluetooth keyboard, that only gathers dust anyways, and use that for blogging.

The application has a number of features, that are quite well designed and convenient, but there are some glitches and inconviniences, that prevent me from doing so.

Continue reading “Blogging with WordPress for Android”

Cleaning up the mess – analysing spam blog comments

I keep this blog mostly for my personal journal, so I won’t forget what I worked on, and to keep my writing skills up. I never thought anyone would seriously be interested in what I wrote, so I’ve paid little attention to the comments I received for my posts. To keep the steady flow of spam at minimum, I’ve set up Spam Karma 2, and didn’t worry too much about it anymore.

Just now when I entered the admin area for routine upgrade, I’ve noticed that beside the 2500 spam comments I also have about 30 not marked as spam, and I became curious. Are these real comments, or have they bypassed the spam filter?
Continue reading “Cleaning up the mess – analysing spam blog comments”

Bastard Operator from Hell excuse calendar widget for WordPress

This site has always had a quote from the BOFH excuse calendar on the header.  This was accomplished by using the wp_bofh plugin by Bernd Essl,  that was written sometime ago back in 2007. This, while working well for it’s age, however is no longer compatible with the new widget based themes of WordPress.

I got bored of the old theme, and decided to finally change the looks of the site, but since I want themes to be changeable, I could not let the old fashioned theme spoil my plugin.

I’ve gathered a few manuals and rewritten the plugin as a widget using the guides found here and here, and found the 21st comment of the later article useful, explaining why the widget cannot be simply registered.

The whole thing didn’t take more than half an hour to put together. I’m not sure the initialization code is optimal, or works at all, as data was already in my DB. So if anything goes south, just leave a comment, so I can fix it.

To use the widget, you can supply the widget title on the admin interface, other than that you can add the ‘bofh’ style to your CSS, and customize it’s appearance.

.bofh {
...
}

If you are interested the plug-in is available here.