I posted last year about microformats and the social media release, as an introduction to developments in this space and how microformats have the potential to radically alter the way that we produce, publish and syndicate content across the government namespace.
Rather than just comment from the sidelines, I thought I would prepare and publish a media release as a hRelease, the proposed microformat for the social media release. I hesitate to call this a social media release because –being a government release– it doesn’t look like the templates that have been proposed. However, under the hood, it is very much an attempt (albeit preemptive — hRelease has not yet made it to ‘draft’ status yet) to publish a semantically enhanced media release.
So here it is: just off the shelf, the first New Zealand government hRelease: SSC signs all-of-govt deal for Google boxes.
The real departure from the examples that are already in the wild (one, two and three) is the detail in the markup. If you view the source of these pages, you will see that the content is just jammed into (for the most part) a ratmangle of nested tables, font tags and other cruft that severely undermines the principles of microformatting content in the first place.
Yes, the content should be usable by humans first. For public sector communicators, that means everyone. People using text readers because of vision impairments or people on 28k dialup in Taihape. The content should also be usable by machines, hence the microformatting. Publish it once at the authoritative source (your agency) and ensure that it can be syndicated and reused by whoever chooses to do so with minimum effort.
The Markup
I have tried to use existing microfomat properties and work from the elements for hRelease as outlined by Chris Heuer. It was also a given that the page would validate. The best way to see this is to look at the code:
<div class="hrelease"><h2 class="headline"> SSC signs all...<abbr class="dtreleased" title="20070227">February 27, 2007</abbr></span<p>The <span class="fn org">State Services Commission</span> today...
You can see how the content is marked up so as to make it semantically rich. The heading is given the class headline, the agency is marked as "fn org", full name organisation etc, all of which makes the whole document much more usable — for people and for machines. This is critical for search. You could, for example only spider for hrelease results, or for contact details vcard. So within the hRelease, I have added my contact details as an hCard:
<p><div class="vcard">Contact:<span class="fn">Jason Ryan</span><br / ><span class="tel"><span class="type">DDI</span>:<span class="value">04 495 2850</span>...
Not only is this format more accessible to people and machines, it is actually usable. There is a Firefox extension that allows you to click on microformatted information in web pages and it will initiate application sequences. So, in the case of hCard, clicking on the microformat will open your address book (in Thunderbird or Outlook, say) and you can save all the information then and there. Geo formatted information will open Google Maps and show you exactly where the place or event is, hCalendar will open your calendar application and allow you to save the event. Pure genius. This functionality will be fully integrated into Firefox 3.
From here on in it gets a bit more opaque, so I should note that the rest of the markup is provisional only, until hRelease makes it to draft and some of the properties are specified.
I wanted to add resources, in this case an image, del.icio.us links and Technorati tags. I dropped the first two into a <div class="links">. A property for the image had already been described in the hCard spec, so that saved some improvisation.
The tags were another matter. I created a <div class="tags"> (I know, crazy eh?) on a best-guess basis, but I am happy to consider alternatives.
That is about the extent of it. Have a look at the release and, bearing in mind that it is a work in progress, let me know where I went wrong. Or just tell me if you think all the extra markup is a complete waste of time…
Updated 22/7/07
After reading this post from the Web Standards Group on the accessibility issues around abbreviations in microformats, I have reworked the code for the most recent e-government hRelease (on new search for newzealand.govt.nz). The dateline now looks like this:
<h3 class="dateline"><span class="dtreleased" title="20070717">July 17, 2007</span></h3>
While, not an ideal solution, it does make it more accessible for people using assistive technologies.









8 Comments
It’s about time someone took a crack at it. Nice work and thank you for the detailed explanation.
This is exciting stuff Jason - and coincidentally yesterday I came accross the first web 2.0 news site in New Zealand. I am not sure how sophisticated their back end is at this stage but the foundation is there for these hreleases to plug into automatically, scheduling events and information, broken down by region.
It is not my site to publicise, so I won’t, but the timing of your first and their launch does seem like synchronicity.
Cheers Sam. This is the driver. You can see the benefits of microformatting all sorts of government information and enabling people to build their own APIs, portals, news sites, contact or events lists based on authoritative public information.
i thought that this is what theyworkforyou should be doing. not just regurgitating hansards and the like, but actually taking the material and making new and great sites out of it.
time will tell aeh?
Che, I’d be happy to hear more about your ideas for TheyWorkForYou.co.nz. Not sure if you meant it should have an API or be using microformats, or something else?
rob, no worries. let’s preface this with the statement that i’m no teccie. just opinionated!
the main criticism i’ve heard of the site is that while it’s great you’re repackaging information for public consumption, you’re really just aggregating information that is already freely available. another way to put is it is that you’ve really written the site that parliament should have.
there was also concern expressed after the great blend that you might be overly suspicious of the select committee office. if you were to simply take one of them out for a coffee, and sell your ideas, they’d likely had over all kinds of information willingly! this isn’t the USA. here we like to give information to ‘the people’.
what i’d like to see on this site is the ability for interested persons not only to access the information in a palatable form (which you’ve provided), but to *utilise* the information in/on their own sites.
and by that i mean in forms like art, literature, or music. having you package the information in such a form (which is beyond my technical ability to explain), would really open up the utility of your site, IMHO.
The Hansard HTML format currently published by the Office of the Clerk at http://www.parliament.nz contains semantically meaningful CSS class names. The theyworkforyou parser and the Office of the Clerk’s internal systems both make use of this de-facto NZ Parliament microformat to identify items such as questions, answers, speeches and interjections.
It’s my current understanding that when the Office of the Clerk launches their new Hansard web publishing system later in the year the semantically meaningful CSS class names will no longer be present in the new HTML output. I’ve been informed that behind the scenes the metadata rich HTML is still going to be present in the Office of the Clerk’s internal process flow. My hope is that we can convince the Office of the Clerk to continue to make the current HTML format available alongside the new output format. But I’m afraid it might take hundreds of people and a few MPs complaining before they’ll consider authorizing their IT staff to do this.
Che, I share your desire to see people being able to interact more with Parliamentary information and processes. Paul Reynolds has mentioned a summary of some of my social software ideas for theyworkforyou.co.nz in a recent post about e-democracy.
Expect to see innovation continue at TheyWorkForYou.co.nz. I’ve just added sparklines to the portfolios index to oral answers, making trends in oral answers more obvious. RSS/Atom and social features coming soon!
i would suggest that getting anything to happen at the Office of the Clerk can be done easily, if you speak to the right people, in the right way.
7 Trackbacks
[...] NPSC Blog | Blog Archive | Microformats & the govt media release [beta] Jason Ryan in New Zealand is light years ahead of anyone else I’ve seen in actually doing something about upgrading press releases in a government setting. He has done an hrelease in the NZ government setting. (tags: pressreleases pr2.0 hrelease socialmedia_campaigns) [...]
[...] we adopt it in government? My answer is an unequivocal yes. Who will it benefit? Are there tangible benefits? As a rough indication – and I assume my [...]
[...] Essentially, my argument is to focus on the (semantic) markup of the release, not the presentational format. The audience for government releases is not just tech-savvy media and bloggers, so it has to be discoverable and usable by all comers. For technical details, see this post on a NZ government SMR. [...]
[...] could follow Jason Ryan’s example of publishing media releases in hrelease and start using existing microformats such as rel=”license” for linking to the [...]
[...] Jason Ryan using hRelease [...]
[...] Microformats & the govt media release [...]
[...] been reading Jason Ryan’s blog post about experimenting with the use of semantic mark-up in government press releases. I think [...]