How I created a TwitterGroup for Gnomedex

twitbot.gifI see Dave has posted a few ideas that he’d like to be able to do with Twitter. His ‘use case #1’ is regarding the ability to subscribe to a kind of ‘reading list’ of people at a conference. Good idea! TwitterGroups are what we need! πŸ™‚

So, while I was at Gnomedex, I wanted a way to track tweets (that’s Twitter posts, for the uninitiated ;p ) from others at the conference who were also on Twitter. A show of hands from the audience showed there were a LOT of us πŸ˜‰ Naturally, I don’t want to have to follow every user and see everypost/tweet from them – I just want the ones relevant to the conference.

Having got the idea of how to do it in my head in the first morning session, I hacked it together quite quickly during the lunchbreak. It’s based very much like my Urban Dictionary ‘TwitterBot’ which will go and search for the (urban) meaning of a word, at the command of any follower.

So, here’s how I did it:
1. First, I set up an account, called @gnomenet

2. Then I set up a simple database table in MySql with a ‘status_id’ column and a ‘screen_name’ column.

3. I then invited people to ‘follow’ that account and instructed the followers to start a post withΒ  ‘gd’ if they wanted their tweet to appear in the ‘group’ timeline – if they had something to say about the conference.

4. Then, I had a PHP script set on an automated cronjob to poll the followers.xml for the gnomenet account.Β  The followers.xml file always has the latest tweet from each follower, also providing the status(tweet) id and the follower’s screen name. It polled the followers.xml file once a minute, which is under Twitter’s API limit of 70 per hour.

5. When the script sees ‘gd’ at the start of a follower’s tweet, it then adds the screen_name and status_id to the database table. Then it sends that Tweet to the @gnomenet account after removing ‘gd ‘ from the start. This is easily done using Twitter’s very simple API.

6. The next time the script polls the followers.xml file, if it sees the same user posting the same thing (it compares each status_id with existing records in the database) it says to itself “this user already said that!” and ignores it.

7. If the follower does not have gd at the start of the Tweet, then the script goes and deletes from the database table any post from that user/screen_nameΒ  – ie: mostly, there is nothing to delete, as people don’t post to it all the time.

Doing this keeps the database table clean and compact. It worked pretty well for 52 followers! I wonder how many them were not even there at the conference! πŸ™‚

This has a load of potential uses for TwitterBot automation and TwitterGroup creation, though I’m sure there might be a more graceful way of doing this. Happy to hear more ideas

Gnomedex was GREAT fun again – this was my third. But I have to say, I’m looking forward to the possibility of ‘GnomeStock‘ ;p

Animatechies

Heh. I just found these two old animated gifs I did a couple of years ago πŸ˜‰ I use to do alot of photoshoppery and animation stuff. back when I seemed to have alot more time than I do now!


They’re both from Gnomedex 2005

I’ll see if I can find the urls to the others from the plethora of domains I have out there πŸ˜‰ Maybe I could find the time to make some more!? But of whom?

Here are some pictures I did using my web – doodle – graffiti project called ‘Blograffiti‘ πŸ˜‰ [warning: potentially offensive line drawings!]

Meta Meta


Meta Meta

Originally uploaded by kosso.

A photo taken while at Gnomedex of Flickr displaying a photo taken by Steve Lacey of my laptop while in Second Life, looking at photos from Gnomedex while sat in the auditorium at Gnomedex. Woo – weiiiiiird.
Even weirder still, i was outside in between sessions chatting to Steve and we were talking about Second Life and he mentioned about someone doing something around the podcaster places in Second Life at a place called the Bluggcast something – I said “Ha! That was ME!”

Me so meta

When I first met Scoble

It was just over a year ago when I first met the Scobleizer!

And in honour of that, here's the first time I spoke to him. Dave Winer, while in Florida on a beach gave me his cellphone number, so I called it via Skype from London then hooked the three of us up for a goofy chat which we uploaded for a podcast πŸ˜‰ Those were the days :)))

 UPDATE: fixed the mp3 link – was going to the old box

Gnomedex 6.0 OPML list of attendees

I was asking Chris Pirillo today if there was an OPML list of the attendees and their RSS feed for this year’s impending geekfest in Seattle, Gnomedex6.0. He pointed me to a few feeds created by a service at Blogrolling.com

One of these feeds was RSS 0.92 and seems to be used to supply the website link and rss feed url, using the description for the RSS.

So, I knocked up a quick PHP script which takes that RSS 0.92 feed and converts it, in the best way I can figure out, to OPML.

And hey, I’m even giving you the PHP source code I actually used to do it. VIEW THE SOURCE, LUKE!

Don’t say I never give you anything πŸ˜‰

UPDATE: Heh. I just saw a hit on the file from a familiar IP address and the ‘User Agent’ – Frontier/9.0.1 (WinNT) – that can only be one person I know πŸ˜‰

No prizes for guessing where this OPML is about to show up ? πŸ˜‰ Ahh – there it is!

http://sndirectory.worldoutline.com/Gnomedexers/

OPML Camp : May 20-21 2006

OPML CampComing up in May at the Berkman Center in Harvard, the first OPML Camp will be taking place. Organised by Adam Green, this looks set to be a interesting couple of days where lots of OPML geeks will get together and talk about some of the stuff they are building around OPML and share ideas and help eachother understand it. [I hear that Tom Morris may be on his way over to that, too.]

It's possible I may be over in Boston at this time, depending on schedules etc. And if I do, I may be able to show some people some of things I have worked on over the years, around OPML and also the stuff we are building over at podcast.com. I have created many products for the BBC in the past, where I used a 'made-up' format of a similar XML structure to OPML, and now I'm using OPML 'proper', along with extending it again, with some 'made up' attributes which I ned to get things done. It's OK – it's doesn't 'break' anything. πŸ™‚

The week before the OPML Camp is anoyther great looking event at the Berkman Center called Beyond Broadcast, which does sound reeeeally interesting indeed. I was told about this, and invited by, Jake Shapiro of PRX.ORG [The Public Radio Exchange] who is also a Berkman Fellow. It was great to meet up with Jake the other evening, over in Cambridge and share thoughts and ideas about stuff like podcasting and public radio. Lots of synergy. I like it.

PRX.ORG is a very interesting thing indeed. It is a "web-based marketplace for public radio pieces. Programmers find and air work from other stations, independent producers and international broadcasters. Producers – station-based or independent – license their work directly to stations."

This is such an interesting idea and the list of shows and content picked up and used by other stations continues to grow, year on year. Impressive stuff. I'd like to see this idea go global and into the UK, since our BBC's 'Nations and Regions' seem to be continually marginalised in what they can do, I hear.

So, I hope I would be able to make both of these events, however it's very likely that Dr. Jo will be able to come over for the Beyond Broadcast event too, as it is right up her street, since she started as Senior Research Fellow in Digital Society & Media for the Institute of Public Policy Research – a thinktank which helps to inform the government on public policy. They set up OFCOM for example, a ombudsman for the communications sector which was much needed as communications and media technology evolved beyond telephones and television etc.

So. Lots going on before the summer time, when we have Gnomedex 2006 to look forward to and possibly SuperNova 2006. Phew! It's a good job that Glastonbury Festival is having a fallow year, this year! πŸ™‚