Since the beginning of 2015 I have been doing some work for a London borough helping them develop their approach to open data.

As part of a wider agenda to make local government more open and transparent councils are being encouraged to publish some of the non-personal information they gather and use as open data. This can be something of a challenge both in terms of the practical implementation of the mechanisms needed to do this and the cultural change needed to see such an activity as valuable.

I’ve been working on the practical side of things. Helping to develop systems and processes that can be used to meet this particular organisations ambitions towards open data but also ones that work within the constraints of time and resources available.

It has been interesting work and I’ve begin to develop a real feel for the wider open data agenda, as well as also seeing where many of the issues and frustrations of such a new field are arising. It is a field that I think I can contribute to and so am planning to try and develop further expertise in open data. Obviously, my starting point is to approach it from a local government perspective but I am already getting interested in some of the wider issues. Naturally I am also starting to look at how my WordPress development skills can be applied to this topic.

As I delve further into open data I will be writing up notes and discoveries here. Follow the open data category find my posts on this subject.

 

I’ve been working on a project where I wanted to include a template file to handle the display of a particular WordPress custom post type. However, I wanted this template to be included in the plugin that created the custom post type and not in the theme. The plugin adds the post type to one site, and one site only, within a multisite network, so I didn’t want to clutter up the folder of the theme which is used on other sites that don’t require the plugin.

So I looked for a way to do this and discovered the role of template loaders within plugins. Including a template loader in your plugin allows you to associate a template file in your plugins folder with a filter hook or a shortcode. But the great advantage is that it replicates the behaviour of the get_template_part() function — which means you can override the default plugin template file with a custom file in a child or parent theme. (Obviously I didn’t need this in this case but it is an example of the good practice of ensuring that plugins and themes are not dependent on each other.)

For a better explanation of this see Template File Loaders in Plugins.

As suggested in the above post I made use of the Gamajo Template Loader which is:

A class to copy into your WordPress plugin, to allow loading template parts with fallback through the child theme > parent theme > plugin

I found this class really easy to implement and you can download it from GitHub.

Thanks to Gary Jones the developer who made it available.

The latest version of WordPress was released in September 2014. Today, being a little tardy, I’ve finished upgrading all Grit & Oyster maintained and hosted websites to the new 4.0 version.

Perhaps surprisingly for .0 release there aren’t that many new features to shout about. Instead it focuses on a number of solid improvements to the admin user interface.

For more info on the changes see the accompanying release video:

Trying out a new body text font family on the Gri…

Trying out a new body text font family on the Grit & Oyster website — Asap

Last month saw the announcement of the closure of another online service that I have been using. This time it is Readmill the ebook service that consisted of a reading app for iOS and Android devices and a social network for sharing the reading experience.

As with the closure of Editorially announced in February, Readmill was, in my view, a well designed product which sadly seems to have failed because of the lack of a sustainable business model.

I am not as upset with Readmill’s closure than I was with Editorially as I was only really using a part of the service. I wasn’t particularly interested in the sharing and community aspects. The reason I signed up was that I wanted an app that allowed me to read and organise my ebooks, that provided a good user experience, and that was an alternative to Apple’s iBook app and the Kindle/Amazon service. This I thought Readmill did well.

The ebook market place is currently not as open as it should be with two dominant players and the confusion of proprietary formats and DRM implementations. I am concerned that Readmill’s demise hasn’t helped this. I also now need to find an alternative solution.

However, there is something of a silver lining. The announcement of the closure of Readmill included this;

Our team will be joining Dropbox, where our expertise in reading, collaboration and syncing across devices finds a fitting home. Millions of people use Dropbox to store and share their digital lives, and we believe it’s a strong foundation on which to build the future of reading. We’re delighted to work alongside this talented team and imagine new ways to read together.

Dropbox is a sustainable business and has considerable clout. If as this suggests it is looking to do more to develop features for ebook readers then I would welcome this. It will be interesting to see if anything comes of this.

Last week it was 25 years since Tim Berners-Lee first proposed to his boss at Cern his idea for what was to become the World Wide Web. A magical combination of concept, technology and imagination that has transformed our lives.

Note that it is not, as far too many people and media organisations have claimed in the last few days, the anniversary of the invention of the Internet. They are not the same thing. The Internet is older and has a different story.

What is inspiring to me is that Berners-Lee, and the organisations associated with him, want to use the anniversary to reiterate and strengthen the principles of openness and access to knowledge that motivated the original creation of the web. To make real the promise that “This is for everyone“.

More at webat25.org

K-Type: Very British fonts

The K-Type font foundry produce a range of typefaces that include New Transport, a font based on that used for road signs and now used on the gov.uk website; Keep Calm, a font based on the lettering used in the famous ‘Keep Calm and Carry On’ posters; Blue Plaque, a font that simulates the lettering on English Heritage plaques; and a font called Dalek. You can’t really get more British than all that.

I’m really sad that the collaborative online writing and editing tool that I’ve been using, Editorially, is to close.

The team behind it announced the closure in a blog post on Wednesday;

We’re proud of the team and tool that we built together and incredibly thankful that so many of you were willing to give it a try. And we continue to believe that evolving the way we collaborate as writers and editors is important work. But Editorially has failed to attract enough users to be sustainable, and we cannot honestly say we have reason to expect that to change.

I haven’t been a particularly heavy user of Editorially, but my use of it had been growing and it was gradually becoming an important part of my workflow for some tasks. I’d been planning to try and make more use of its collaborative possibilities in the future. So its closure on May 30th is a real disappointment.

I thought it was a really good example of an elegant user interface and was a pleasure to use. So it is distressing that such a well designed tool has failed to become sustainable.

Goodbye Editorially and thank you.

Grit & Oyster provides and supports websites built with WordPress. Which is a simple enough definition of what I do — but in order to clarify things for clients and to ensure that I can maintain a high level of quality I’ve been working on some new definitions of the services I offer. 

I have designed four distinct services to meet the needs of a range of different individuals and organisations. 

  1. For individual professionals, freelancers, campaigners and bloggers looking for a personal home page or portfolio website there is the GritPress network. This is currently in development and will enter a beta phase soon.
  2. Small and medium sized organisations and businesses looking for someone to sort them out a website may be interested in signing up to the GritHost network.
  3. Larger organisations or those with more complex websites looking for the reassurances of someone to look after their installation might benefit from my WordPress Concierge service.
  4. Finally, I am available as a freelance WordPress developer for hire for custom development projects.

This weekend (4th & 5th of January 2014) the data centre where the main server that I use to host websites and provide web services suffered a temporary power failure. This resulted in the server experiencing a significant fault which meant that the websites were not available throughout the weekend.

The full service was resumed this morning.

I’d like to sincerely apologise to all customers affected for the inconvenience caused. The problem was entirely due to circumstances beyond my control. However, I will be reviewing my set up and procedures to see if there are any lessons I can learn.