Skip to content

Puffbox

Simon Dickson's gov-tech blog, active 2005-14. Because permalinks.

2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007 | 2006 | 2005

Code For The People company e-government news politics technology Uncategorised

api award barackobama barcampukgovweb bbc bis blogging blogs bonanza borisjohnson branding broaderbenefits buddypress budget cabinetoffice careandsupport chrischant civilservice coi commentariat commons conservatives consultation coveritlive crimemapping dailymail datasharing datastandards davidcameron defra democracy dfid directgov dius downingstreet drupal engagement facebook flickr foi foreignoffice francismaude freedata gds google gordonbrown governanceofbritain govuk guardian guidofawkes health hosting innovation internetexplorer labourparty libdems liveblog lynnefeatherstone maps marthalanefox mashup microsoft MPs mysociety nhs onepolitics opensource ordnancesurvey ournhs parliament petitions politics powerofinformation pressoffice puffbox rationalisation reshuffle rss simonwheatley skunkworks skynews statistics stephenhale stephgray telegraph toldyouso tomloosemore tomwatson transparency transport treasury twitter typepad video walesoffice wordcamp wordcampuk wordpress wordupwhitehall youtube

Privacy Policy

  • X
  • Link
  • LinkedIn
  • 29 Sep 2010
    technology
    wordpress

    WordPress as bug-tracker

    We’re heading into the final furlong on one of the biggest projects Puffbox has ever been involved in. All being well, we should be able to talk about it in a week or so. Trust me, it’s significant.

    The stakes with this job are higher than most; so I wanted to take testing and bug-tracking a bit more seriously than usual. I had the idea the other evening to use WordPress as a centralised bug-log: and my initial thought was to use the Twitter-style P2 theme, by Automattic themselves. To be honest I’ve never really liked it, but I can appreciate its extra functionality – front end authoring, ajax comments, etc; and I’m sure we could have made it work.

    But maybe someone had done a proper bug-tracking application on top of WordPress? One quick Google later, I found that yes, within the last month someone had… and it’s truly fantastic. One of the most inspirational pieces of WordPress work I’ve seen in months.

    It’s called Quality Control, and it does everything you’d want it to do. Installation is a little bit fiddly, but nothing too onerous; set up a page to act as the ticket creation screen, define a few ‘states’ and ‘milestones’, and you’re away. Once it’s up and running, you shouldn’t ever need to look at wp-admin: everything is front-end. And as you’d expect, it’s all comment-able and feed-able, with email notifications, etc etc.

    There’s a live online demo – so rather than me explaining how it works, go and try it for yourself.

  • 13 Sep 2010
    technology

    RSS is dead, long live RSS

    As a long-time user of Bloglines, it’s been pretty clear that the veteran online RSS reader was suffering from a lack of love lately. More often than not, when you hit the URL, you got an error message: two or three refreshes each time wasn’t unusual. The ‘beta’ version of its next incarnation showed no sign of reaching a full release.

    But even so, it came as a bit of a shock over the weekend to learn that Bloglines was being closed down.

    I’ve moved almost my entire online life to Google products – and yet, I never abandoned Bloglines for Google Reader. Hard to put a finger on why, really. I never really warmed to Google Reader, with all its bells and whistles… whilst Bloglines stuck doggedly to what it was good (enough) at. I particularly liked its stripped-back mobile interface, which allowed for ‘one click to download everything’ reading: perfect for long train journeys through patchy 3G coverage.

    The justification comes on the blog of its parent, AskJeeves.com – which, yes, is still going.

    The Internet has undergone a major evolution. The real-time information RSS was so astute at delivering (primarily, blog feeds) is now gained through conversations, and consuming this information has become a social experience. … Today RSS is the enabling technology – the infrastructure, the delivery system. RSS is a means to an end, not a consumer experience in and of itself. As a result, RSS aggregator usage has slowed significantly, and Bloglines isn’t the only service to feel the impact. The writing is on the wall.

    I’m not sure how to feel about that. You see, before I became obsessed by WordPress, I was obsessed by RSS. Indeed, its approach to RSS was one of the reasons I fell for WordPress in the first place. Yet I still don’t think the usefulness of RSS is widely appreciated.

    I don’t agree with the Ask.com blog, which says its place has been taken by Twitter and Facebook: that seems a very individual-centric perspective. That may be true for blogs specifically, person to person; but I don’t think it holds true for larger-scale publishing – website to consumer, or indeed, website to website. I always wondered if the name Bloglines was holding the product back: perhaps this is proof.

    So, farewell Bloglines. It was fun while it lasted. I still don’t want to switch to Google Reader – but I need a solution which works seamlessly across iPhone, Android, Mac, Windows, Linux, everything. I’m not sure there’s any serious alternative to Google Reader now… but the immediate plan is to experiment with the various platform-specific clients which sync with it. Recommendations, anyone?

  • 6 Sep 2010
    company, e-government, technology
    wordcamp, wordpress

    A ‘WordCamp’ for Whitehall

    If you’re a civil servant working in UK central government, and you’re using WordPress (or seriously considering it), I’d like to invite you to an all-day event I’m coordinating for mid-October.

    Each January, we have the UK government Barcamps, bringing together civil servants and external enthusiasts to talk about ‘web 2.0’, social media, or whatever it’s calling itself at the time. And for the past three summers, we’ve had WordCamp UK, a gathering of the UK’s WordPress developer community. Both have been excellent fora for idea sharing, and contact building.

    In the meantime, we’ve seen steady growth in the use of WordPress within government – to the point now that it’s the natural choice for interactive applications, the expected solution for small-scale sites, and a serious option for larger-scale development.

    And so, with WordPress maturing, departmental budgets tightening and Ministerial demands increasing, it feels like the right moment to mash the two together: an opportunity for those of us already using WordPress in government to show off our latest creations, float some new ideas, and share our experiences – good and bad.

    With the generous support of the team at BIS, I’m organising a day-long WordCamp-style event for the extended family of government – civil servants and gov-centric consultants, plus a WordPress VIP or two.

    It will take place on Wednesday 13 October, at a government office in the St James’s Park area, starting at 10.30am and finishing at 4pm – giving you enough time to clear your inboxes before and after. We’ll have room for around 30 civil servants – so please, a maximum of 3 attendees per department. There will be no charge for attending, and we’re hoping to provide a decent (off-site) lunch.

    Like Barcamp, we’ll want the day’s programme to consist primarily of volunteers providing 20-25 minute presentations / demonstrations about projects they’ve been working on. So if you’re working with WordPress, please do take a slot to tell us all about it – even if it isn’t quite ready, even if it didn’t quite come off. Unlike Barcamp though, we’ll be doing our best to arrange the programme ahead of time.

    In addition to the usual suspects on the consultancy side, we’ll also be joined by a few specially invited guests – including Peter Westwood, one of the core developers of WordPress (and soon to be working full-time for Automattic).

    Book your place via Eventbrite – but please, do think about that three-per-dept limit. We’d like all interested departments to have the opportunity to send someone.

    We’ll be coordinating the planning of the event using a group on the UKGovCamp.com site, built by Steph and Dave, and running on WordPress/BuddyPress 🙂 – so if you haven’t already registered for that site, please do so. Membership of the event group will be restricted to attendees (at least to begin with).

    If you’re a supplier and you’d like to be involved, please contact me (with details of your WordPress and/or government experience). Be warned, strings are attached.

    Any other questions, feel free to get in touch via the website, or leave a comment below.

  • 27 Jul 2010
    company, technology
    ccg, ical, markpack, wordpress

    New project adds iCal feed to WordPress 3

    I’ve been working with well known LibDem blogger Mark Pack, whose day job is with PR company Mandate, to migrate the website of the Cancer Campaigning Group over to WordPress. It’s a fairly modest little site, and I was under orders to keep the design broadly as-was. But it’s got one specific feature I’m very excited about.

    Nearly four years ago, I wrote about the increasing adoption of the iCal standard for calendar sharing. With Outlook 2007 set to embrace the format, I foresaw a rush of websites publishing event data in iCal feeds, allowing you to subscribe with a single click, and then see someone else’s dates alongside your own.

    The, ahem, optimistic assessment would be that I was well ahead of the curve. Four years on, you’ll struggle to find many (mainstream) sites offering such feeds – although I’ve noticed a slight increase of late. The BBC, for example, had a feed of World Cup fixtures; the Arsenal site has a similar service for its new fixture lists, including the Reserves, Youth and Ladies teams. Why? Maybe it’s the growing prevalence of smartphones by Apple and Google, both of whom were quick to adopt the format.

    And then suddenly, the opportunity presented itself to build an iCal-enabled site of my own. The Cancer Campaigning Group’s previous site had an ‘events’ section, although it wasn’t anything special. WordPress 3.0, released just over a month ago, includes the ability to create ‘custom post types’; and I only recently discovered its little-documented ‘add_feed’ function, introduced as far back as early 2007. A little jQuery on the front- and back-ends, and we had all the ingredients we’d need.

    So I’ve written some code to create a custom post type called ‘Event’, and added it into the WP back-end interface. You enter event details just as you would enter a post or page, with a title, body text and optional excerpt. There’s a special ‘event type’ categorisation; and a pop-up date picker for simplicity and consistency.

    Then to call the calendar into a page, you use a WordPress shortcode – [calendar]. You can also specify the range (past or future), and the view (simple text list or javascript-enabled grid), plus the ‘type’ (if you’re using them). This actually gives you remarkable flexibility, only some of which is obvious on the Cancer Campaigning Group site.

    And of course – there’s the iCal feed. If you take the feed URL into your calendar app of choice, you should be able to subscribe to it. And then, as the site admin adds new events, these will simply appear alongside your own personal appointments.

    It hasn’t been easy: and to be honest, I’m not entirely confident that we’ve captured and resolved all possible issues. The biggest problem has actually been with Google Calendar: Google caches the feeds for an indeterminate period, and there’s no apparent way to force a refresh. So if there’s an issue with your code, you may not realise for several hours; and it may take a further few hours for your fix to feed through. I’m also fairly sure that the code, as it currently stands, won’t scale too well.

    So for now, I’m watching the Cancer Campaigning Group site to see what happens. If it goes OK, I’ve got a couple of much higher-profile clients waiting in the wings.

  • 27 Jul 2010
    e-government, politics, technology
    geodata, google, maps, mysociety

    Constituency maps in under a minute

    Opening up geographic data is beginning to bear fruit. MySociety’s Matthew Somerville has just unveiled MaPit, ‘our database and web service that maps postcodes and points to current or past administrative area information and polygons for all the United Kingdom.’ What that means in practice is, postcode lookups and boundary data are now just a URL away.

    (Quick update: actually, not for all the United Kingdom as it turns out – the following method doesn’t work for N Ireland. See Matthew’s comment below.)

    Here’s a quick example, as much for my own future reference as anyone else’s. Let’s say you wanted to generate a map of a given MP’s constituency – say Lynne Featherstone in Hornsey & Wood Green:

    • You need to find the appropriate reference number for the constituency: either by browsing the list of all constituencies, or searching for places whose names begin with Hornsey. Note – these will produce nasty-looking data files, rather than pretty HTML lists. Hunt through the code, and you’ll find:

      “65883”: {“codes”: {“unit_id”: “25044”}, “name”: “Hornsey and Wood Green”, “country”: “E”, “type_name”: “UK Parliament constituency”, “parent_area”: null, “generation_high”: 13, “generation_low”: 13, “country_name”: “England”, “type”: “WMC”, “id”: 65883}

    • The ‘id’ is the number you need – in this case, 65883. The MySociety API now lets you call the geometry of that area, in – among others – Google Earth’s KML format, using the following URL. (Don’t worry about the ‘4326’ here: it’s a reference to the coordinate system being used, and won’t change in this context.)

      http://mapit.mysociety.org/area/4326/65883.kml

    • Conveniently, Google Maps lets you enter a KML file’s URL as a search query, and it will draw it on a map. Even more conveniently, if you add ‘output=embed’ as a search parameter, it strips away everything but the map itself. So here’s an embedded map of Lynne’s constituency, pulled into an <iframe>. Look at the source code, to see how easy it is.

    Boundary data generated by MaPit.mysociety.org which contains Ordnance Survey data © Crown copyright and database right 2010; Royal Mail data © Royal Mail copyright and database right 2010 (Code-Point Open); National Statistics data © Crown copyright and database right 2010 (NSPD Open).

    And thankfully, it bears a close resemblance to this map on Lynne’s own website, which took me considerably longer to churn out.

  • 20 Jul 2010
    technology
    wordcampuk

    WordCamp UK: the camaraderie, the controversy

    I spent the weekend in Manchester at the annual WordCamp UK, which Puffbox was again proud to have sponsored. It brought together 150 people from all over the country – plus a few from further afield, much further afield in one or two cases. Not everything went well, but we’ll get to that in a moment.

    It was immediately noticeable that the attendees were much more serious than in previous years. Year one, in Birmingham was amateur – in the positive sense of the word. There were signs of things getting more serious in Cardiff last year. This time, it was noticeable how many more people had come to talk about code – although having said that, we still had a good number of curious newbies.

    It’s always tricky to attempt a summary of a multi-track event like this: you don’t know what was said in the sessions you didn’t attend. But from what I saw, a few topics stood out: custom post types, BuddyPress, and cash.

    There’s no doubt that the community is excited by the potential opened up by Custom Post Types – which aren’t actually new in WordPress 3.0, but have now reached a point where they’re properly usable. (Well, almost – I’m using them for a forthcoming project, and have already spotted a few weaknesses.) People were starting to demo some examples, and it’s clear there’s plenty of fun to be had with them.

    BuddyPress was causing similar excitement last year, but there’s definitely a bit more perspective being applied now. Although I like what I’ve seen of it, I haven’t yet done anything with it myself: I’ve just found it a bit overwhelming. I picked up a few hints that others have had similar experiences.

    Beneath the surface of several sessions was the sometimes tricky issue of cash. Growing numbers of people, myself included of course, are making their livings on top of WordPress – via a combination of custom programming, design and support. I’ve never been one to buy ‘premium themes’, but it seems like the big players in that field are making serious money. And although nobody dared to tackle it head-on, there were many nods towards an argument which kicked off last week in WordPress World about premium themes and licensing terms. (Mark Jaquith’s post sums it all up beautifully.)

    And then came The Controversy. The final wrap-up session descended into chaos, leading to a lot of people saying things they hopefully now regret – at least in terms of how they said it.

    It boils down to this. A few people around the UK have, apparently, been keen to hold WordCamps of their own; but have felt unable to, due to the existence of a nationally-branded WordCamp UK. To some, this statement came across as an accusation that the UK-level event was deliberately preventing the growth of smaller groups. They saw it as an attempt to force an unsuitable US-style city-based model on the UK. The language got very emotional very quickly. It was genuinely horrific to watch.

    Here’s the conclusion I’ve reached. If – and I stress, ‘if’ – the UK can support more than one WordCamp now, then I’d be very happy for that to happen. In which case, it may no longer be appropriate to have a UK-branded event. But the most important thing is that we have at least one such event in this country in the next 12 months – whatever it gets called.

  • 24 Jun 2010
    technology
    wordpress

    Why WordPress 3.0 is a big deal

    The latest release of WordPress pushed the version number from 2.9 to 3.0. Usually that ‘point-zero’ means it’s a significant release: but you’d be forgiven if you ran the automatic updater, and struggled to see what was different. Sure, the admin interface is a little brighter, and a few of the labels have changed. But if you were expecting new extra-powerful menu options, you’ll have been disappointed.

    But the new release is a big deal. Among its additions:

    • the long-awaited merger of the solo WordPress product with WordPress MU (‘multi user’). Previously I’ve tended to steer people clear of MU: although an excellent product, it was definitely second priority to ‘WordPress proper’, and the usability wasn’t brilliant. Updates were slower, and plugins didn’t always work. Although there’s still a way to go on usability, I’m much happier recommending it as a safe platform – and I’ve already started hosting some of my lower-profile projects in a single ‘multisite’ installation.
    • custom taxonomies and custom content types. In fact, previous versions have had the ability to create multiple sets of tag- or category-style classifications, or tweaked versions of the ‘post’ and ‘page’ core content types – but the implementation was awkward and clunky. Based on some early experiments, I’d say they’re finally ready for industrial use.
    • custom menus, allowing you to create navigation bars containing your preferred combination of pages and tags/categories. Amazing flexibility, but be warned: most themes won’t be ready to use it (yet).
    • a new default theme which isn’t especially significant in itself, but it’s something for developers to bear in mind. Previously, if a theme didn’t have a specific file, you could rely on WP reverting to the version in the ‘default’ folder. But new installations won’t have that ‘default’ folder; and you’ll need to explicitly define a ‘parent’ theme for fallback purposes. Worth bearing in mind if you’ve lost any functionality after upgrading.

    But here’s the thing. The two most significant aspects, ‘multisite’ and custom posts/taxonomies, only become available to those prepared to get their hands dirty in the PHP code. You won’t see them, or perhaps even know they exist, until you start hacking. In the case of multisite, for example, you’ll need to edit wp-config, then edit htaccess, then edit wp-config again… not to mention the likelihood of changes to file access permissions, Apache’s httpd.conf and/or your DNS setup. Scary stuff for the vast majority of people.

    In other words, to really get the full benefit out of WordPress, you need decent coding and server admin skills. And as such, that feels like a subtle departure from the previous scenario, where a ‘power user’ could accomplish almost everything via the WordPress interface and a few plugins.

    Of course, there’s nothing to stop those power users creating magnificent sites using v3.0, without having to get their hands dirty. And indeed, there are no extra options to intimidate the nervous author or editor: the WordPress experience remains unchanged. But the addition of that extra power, underneath the surface, effectively creates a new higher echelon of ‘WordPress guy’. It becomes a platform on which you can do some very serious development, if you know what you’re doing. Graphic designers calling themselves WordPress experts might want to re-evaluate.

    On occasions in the past, I’ve worried about my business model’s longevity. All the difficult things I’d taught myself to do in WordPress kept getting easier with each new release: this time, for example, the new Custom Menu feature renders some of my smartest workarounds obsolete. But with all the new ‘developers-only’ potential, it looks like the path has a lot longer to run.

  • 9 Jun 2010
    news, technology
    independent, livejournal, telegraph, wordpress

    Another national newspaper goes WordPress

    Just to note that the Independent has switched its blogs from Livejournal to WordPress. Why? According to online editor Martin King, there was a simple reason for the move: ‘to make them better.’ Clearly a man after my own heart.

    He writes: ‘We are demonstrating that globally standard programs can free mainstream journalism from the complex bespoke set-ups of the past.’ And his colleague Jack Riley tells Journalism.co.uk: ‘WordPress is infinitely more customisable, which means that we can adapt it all as we go along. By bringing it all in-house it also means our development and editorial teams can work closely on getting the features that readers and bloggers want live as quickly as possible.’

    I must admit, I always had my suspicions that the Independent’s former arrangement with LiveJournal was driven primarily by the personalities involved, former Downing St colleagues Ben Wegg Prosser and Jimmy Leach (now back in Whitehall, of course).

    Worth mentioning too that the Telegraph has gone deeper into WordPress just recently, with the migration of its My Telegraph user community. Its blogs.telegraph.co.uk site, for journalists and commentators, moved over to WP about a year ago.

  • 1 Jun 2010
    e-government, technology
    api, directgov

    Directgov unveils syndication API

    In one of his final speeches ahead of the general election campaign, Gordon Brown announced plans to offer Directgov’s content via an API ‘by the end of May’. And whilst other announcements in the same speech, such as the Institute of Web Science, have since faded or disappeared, the commitment to a Directgov API didn’t.

    Bang on schedule, the API has been launched – and it looks quite marvellous. You’ll need to go here to register – but all they ask for is an email address. Once you’ve received confirmation and a password, you’re away.

    Pretty much all Directgov’s content is available, and in various formats. So you can request (for example) articles by section of the website, or by ‘keyword’ (tag); or articles which have been added or edited since a given date, optionally restricted to a given section. You can pull down contact information for central government organisations and local councils. Data is made available, dependent on the query, in XML, JSON, Atom or vCard. (There’s also a browsable XHTML version, from which I’ve taken the screengrab above.)

    This stuff isn’t child’s-play; but to those who know what they’re doing – and despite a few successful experiments this morning, I don’t really count myself among them – the potential here is huge. Reckon you can do a better job of presenting Directgov’s content, in terms of search or navigation? Or maybe you’d prefer a design that wasn’t quite so orange? – go ahead. Want to turn it into a big commentable document, letting the citizens improve the content themselves? – well, now you can.

    There’s quite an interesting back-story to it all: I had a small matchmaking role in joining up the ideas people in Downing Street with the delivery people at Directgov. And whilst I’m told Directgov did have it in mind for some time this year, the Brown speech on 22 March rather forced the pace. Six weeks (so I’m told) from start to finish isn’t half bad. And whilst I’ve certainly had the odd dig at Directgov in the past, I’m happy to say a hearty ‘well done’ on this one.

    It’s a potential game-changer in terms of how the content is presented to the public; but it may also have implications for those producing it. A quick look at the nearly 15,000 ‘keywords’ reveals, perhaps inevitably, a rather chaotic picture: bizarre and inconsistent choices, typos, over-granularity, and so on. My guess is, it’s not been used for front-end presentation before, so it hasn’t had much editorial attention. However, now the data is out there, it has to be taken seriously.

  • 25 May 2010
    politics, technology
    bnp, drupal

    BNP switches to Drupal

    I’ve written here before about the British National Party’s website, and its impressive use of WordPress – and more recently BuddyPress, the add-on which turns it into Facebook. So it’s only fair that I note how things have changed in the past few weeks: the site now appears to be running on Drupal, and has – for now at least – abandoned most of the social features which made it so interesting.

    The circumstances of the migration seem somewhat, well, chaotic. Webmaster Simon Bennett reportedly pulled the website down a couple of days before polling day – why? It very much depends which account you read. Intellectual property infringement, personal vendettas, a jar of Marmite, commission payments, far-leftist collaboration, a South West Conspiracy… make of it what you will. I’m staying well out of it.

Previous Page
1 … 5 6 7 8 9 … 21
Next Page

Proudly Powered by WordPress