Portrait with Brompton Bike

I had my portrait (or rather, several) taken yesterday, by , aka , as part of his project to record the cyclists of Birmingham.

We got in touch on the useful Birmingham Cyclists website.

I posed with my beloved Brompton bike, under Lancaster Circus Flyover (52.48598,-1.892513) and by one of my favourite statues, Hebe (52.484438,-1.892175), by (1966).

Thanks to Pete for permission to reproduce the pictures, which are his copyright, all rights reserved.

Fixing Facebook’s Microformats (at their request)

Twitter, and the wider ‘blogosphere’, have been alive tonight (UK time), with people commenting on, or mostly simply repeating, the news that Facebook have implemented the on all their events, making them parsable by machines and thus easy to add to desktop or on-line calendars. They’ve also included for venue details.

This is generally a good thing, but what most people — at least some of whom should have known better — failed to notice was that the implementation is broken.

Consider this event, a concert by my friends’ band, Treebeard:

which, as you can see, is on 18 February from 19:00–22:00 (7–10pm).

That’s encoded, in the Facebook page’s mark-up, as:

<span class=”dtstart”><span class=”value-title” title=”2011-02-18T19:00:00-08:00“> </span>19:00</span> – <span class=”dtend”><span class=”value-title” title=”2011-02-18T22:00:00-08:00“> </span>22:00</span>

The “-08:00” at the end of each date-time value represents a timezone 8 hours behind UTC (as we must now call Greenwich Mean Time) — that would be correct were the event in California, or elsewhere in the Pacific Time Zone; but for the UK, the mark-up translates to 3-6am.

Since the event is in the UK, the start time should be encoded as “2011-02-18T19:00:00+00:00“, which puts it in the correct UTC timezone (in British Summer Time, it would be “2011-02-18T19:00:00+01:00“). Ditto for the end time.

The same will apply for events in any other timezone on the planet, each with an appropriate adjustment.

I’ve already alerted Facebook developer Paul Tarjan to the problem, and this is my response to his requests for assistance in fixing it.

Do you make comments on others’ blogs? Bookmark and share them!

You may notice (on the right hand side of this site, if you use the default view; or see image below), a list headed “My comments elsewhere”, with links to other people’s blog posts, on which I’ve recently commented.

List of the five last posts on which I commented, each linked to the post concerned

Screen shot of my recent comments, at the time of writing

I’ve been asked how I do this.

Every time I comment on a blog post — and I try to do so often, both to show my interest in others’ work, and to be part of their conversations — I bookmark that post on the site Delicious Pinboard, and tag it “comment”.

I then pass the RSS feed of all my bookmarks with that tag: http://feeds.pinboard.in/rss/u:pigsonthewing/t:comment/ to WordPress (the software I use to author and host this blog), which magically displays a list of the most recent five, as you can see.

The full feed is, of course, also available to anyone who wishes to subscribe to it in the feed reader of their choice; and my tagged comments can also be read as a web page.

In this way, as well as telling my readers what I’ve done, I bring extra attention to the blogs I comment on, thereby helping, albeit in a small way, their authors.

Why not bookmark your comments, and put a feed of them on your own blog?

Update: Delicious became awful when it relaunched, I now use Pinboard.

Update: You can also use this technique to add the list of your comments (specifically, the relevant URL on the bookmarking site) as a “work”, in your profile page on services which list your publications, such as ORCID.

This weekend was indistinguishable from magic

Today, I updated someone else’s website, with one button-press on my Nokia N95 mobile phone.

The button-press was all that was need, using the lovely Dabr web interface for Twitter, to favourite a tweet about an excellent event I attended yesterday, UK GovCamp 2011.

That tweet contained a URL, and a .

Packrati.us monitors the tweets I favourite, as well as everything I tweet or re-tweet, for both links and hashtags, and saves the URLs, duly tagged, to Delicious.

Delicious then produces an RSS feed for (as they do with every tag).

Steph Gray (@lesteph) has done an excellent job, using Commentariat2 and WordPress to make the conversation aggregator (a “buzz” page) for UK GovCamp 2011, and has kindly accepted my suggestion to include the Delicious RSS feed for the event’s hashtag.

And so the link in the tweet I favourited appeared on the “buzz” page of the UK GovCamp 2011 website.

All because I made a single button-press on a device little bigger than a matchbox.

To quote the already over-quoted Arthur C Clarke‘s ‘Third Law‘:

Any sufficiently advanced technology is indistinguishable from magic

Thirty-five years after I first (at a very youthful age!) used a computer, and seventeen years after I first used the web, I’m still excited by them. I wonder where they’ll take us next?

The event was indistinguishable from magic, too. The links above will show you why.

A proposed tag for including Wikipedia links in Twitter posts

I’ve had another idea!

I saw Matthew Somerville () tweet:

Reading about http://en.wikipedia.org/wiki/Clothianidin and bees

and it occurred to me, both that a fantastically high number of Wikipedia links are tweeted, and that Wikipedia URLs are relatively long. This latter fact might have been significant, if Matthew had needed to say a few more words, or was talking about something with a longer name. He could have shortened his link, using, say, Bit.ly, but then he’d have had to repeat the stem:

Reading about Clothianidin http://bit.ly/dE6pUf and bees

which is hardly shorter, and disrupts the flow.

What if we agreed a special tag, say W# or w:, used like this:

Reading about w:Clothianidin and bees

and Twitter clients automatically swapped that for a Wikipedia link:

Reading about Clothianidin and bees

Update

Twitter clients could allow users to set their preferred language-version of Wikipedia, and perhaps find the relevant translations of articles (which Wikipedia could better facilitate, using rel=alternate headers), authors could also specify a language, such as w:fr:brie or w:de:München

Proposal: generate KML from postcodes in Twitter messages

Here’s an idea I’ve just had, and mentioned on Twitter:

It would be cool if someone with the necessary skills and bandwidth could provide a service which takes a Twitter search (say, for a hashtag), extracts from it , or postcode districts (the first half of a postcode, such as “B44”), and returns a corresponding KML file, which can then be passed to other services, like Google Maps.

It would enable anybody to create a service like Ben Marsh‘s excellent #UKSnow map, but on the fly, and for any term or hash-tag; and especially for one-off or short term issues. Imagine, for instance, the . I could post on Twitter, say:

I just saw a #ShootingStar in B6!

(I did, too!) and others might reply:

I saw #ShootingStar from Waverley Station, EH1 1BB

Good view of #ShootingStar in S9, too!

and we’d very quickly have a map of places from which it had been seen — in the event, such information was posted to Twitter, but there was no easy way to collate it.

A similar service, returning KML for geo-coded tweets, would also be useful, and internationally too, and something combining both might also work.

A task for an upcoming hackday, perhaps? Or one you might like to tackle…

Don’t confuse your social media channels

Earlier today, Birmingham‘s O2 Academy (a large popular music concert venue, m’lud) posted this to Twitter:

Tuesday’s giveaway….Black Rebel Motorcycle club CD’s to give away! Just head over to the competitions tab for more information!

Unfortunately Twitter doesn’t have a “competitions tab”, and neither do the various Twitter clients that people use.

As you can see from the suffix I’ve highlighted in the screenshot, “via Facebook”, the tweet they posted was actually a Facebook status update. It turns out that their Facebook page has such a tab, and the Academy have simply piped their Facebook statuses into Twitter, without thinking about, or remembering, what they’ve done.

A salutary lesson to be careful about feeding content from one forum to another; and about writing for a specific context. Failure to do so can give confusing messages, and is not helpful to your audience

Everything at your postcode – proposal for a new website

Over the last few weeks, I have been imagining a website for UK citizens and visitors; where they can enter their postcode and be served a page or pages of hyperlocal links about everything to do with where they live. This post is me continuing that thinking out loud; comments — including the constructively critical — are actively solicited.

Links could be almost anything, from local government services (via DirectGov and OpenlyLocal) to public transport information; from maps to fun things. They would either link to sites which use postcodes as as an argument; or would be built using the target site’s postcode-lookup API.

The site would avoid the need for each hyperlocal website to compile its own list of such links.

Here are a few such links, based on a randomly-selected postcode, B23 6UH (I simply opened a local newspaper and picked the first advert that used a Birmingham postcode). Note that the first link is computed; the rest use the postcode directly.

User would also be able to suggest additional links if they find a good web service which takes a postcode as a locator — for now, please feel free to do so in comments on this post, and I’ll add them to the above list. Purely commercial links, like individual chains’ store locators, would be excluded (a few paid for links, clearly identified as such, might generate enough revenue to cover hosting costs).

As can be seen from the above, the site wouldn’t actually store or generate content; just links. The links could be clustered under headings, or on sub-pages, like “maps”, “local services”, and “fun stuff”.

It might also be possible for the site to determine the user’s nearest postcode, using their browser or device’s GeoLocation feature, or by selection from a map. The site would also accept partial postcodes, such as “B”, “B23” or “B23 6”.

The service could perhaps be “widgetised” for inclusion on other sites. And of course, it would be possible to link to the site using postcode as an argument.

The site would, of course, make data available in RSS, OPML and open data formats; and use microformats.

Unfortunately, though be willing to collate and maintain the links and code some HTML, I lack the programming and graphic-design skills to make such a site, which means that I must rely on the good will of others. Can you help? Should I organise a hack event (a day, or an evening) at a Birmingham venue, to work on this collaboratively?

Or does such a service — curated, rather than spammy — already exist? Would it belong better as an adjunct to an existing service like OpenlyLocal or DirectGov?

Over to you…