I just opened my wheelie bin and a wasp flew out. What kind of sick person would throw a wasp in a bin? 1 day ago



Feb 10
3rd

WordPress for Android


WordPress have announced the release of the WordPress for Android App.

According to WordPress…

The initial release has focused on giving you the ability to manage your blog while on the go.

Features include the ability to:

  • Configure and manage multiple blogs
  • Comment moderation including the ability to reply to comments
  • Create and Edit Posts including categories, tags and photos
  • Create and Edit Pages
  • Get notified of new comments in the Android notification bar

I was using wpToGo, which had a more restricted set of abilities, but this taken over by WordPress and modified to this new plugin. I replaced it last night and, indeed, it is a much better and powerful tool, allowing me to view my posts and create new ones (amongst many other things) in a very easy fashion.

If you administer a WordPress blog, this is highly recommended.


Share this on del.icio.us Digg this! Email this Share this on Facebook Share this on LinkedIn Send this page to Print Friendly Share this on Reddit Share it on StumbleUpon Tweet This!


Dec 09
11th

Beeb See Me 2


I missed this at the time – I also got a mention (and more links) on the BBC Internet Blog weekly round-up.

…blogger David Artiss was pleasantly surprised that he had some BBC bods commenting on his Wii post and more so that we’d linked to him from the blog


Share this on del.icio.us Digg this! Email this Share this on Facebook Share this on LinkedIn Send this page to Print Friendly Share this on Reddit Share it on StumbleUpon Tweet This!


Mar 09
30th

Blog tinkering


If you haven’t spotted already, I’m tinkering (again) with the blog layout.

In particular, I’m working on the design at the bottom of each post. This is also extending to the pages with, and for the first time, the ability to leave comments on them. And after writing a new plugin (coming soon!) for which I’ve learnt all about using custom fields, I’m using them to suppress adverts and comments on specific pages.

Oh, and I’ve done something (reasonably) clever with one my plugins. YARPP (Yet Another Related Posts Plugin) is good but the fixed number of recommendations per post was causing me problems – lots of related posts for a short entry was looking like overkill but, at the same time, large posts were looking a little, erm, lacking. However, the number can be overridden so I’ve updated the plugin call to vary this depending on the blog size. It’s not 100% accurate but, hey, it’s better than it was before.

Here’s the script…

$post_len=strlen($post->post_content);
if ($post_len<1000) {
    related_posts(array('limit'=>2));
} else {
    $max_posts=floor(($post_len+2000)/3000)+2;
    related_posts(array('limit'=>$max_posts));
}

As you can see, it’s quite simple. If the number of characters in the post if less than 1000 then it default to a maximum of 2 related posts. It then goes up by 1 at 1000 characters and then again every 3000 characters.



Share this on del.icio.us Digg this! Email this Share this on Facebook Share this on LinkedIn Send this page to Print Friendly Share this on Reddit Share it on StumbleUpon Tweet This!
74 queries in 1.190 seconds.