Pushing the Programmes Ontology - Programme Information over XMPP PubSub
If you've been following this blog you'll know that we're the team behind BBC Programmes. For some time now we've been leading the BBC's efforts to expose information about its radio and TV programmes on the web, for consumption by people and machines.
You may also have noticed that recently I've been spending a little too much time with XMPP.
Happily I've found a way to bring the two together: you can now get rich information about BBC radio shows pushed to you - as they are broadcast - over XMPP PubSub.
If you point your XMPP pubsub client at pubsub.hug.hellomatty.com you'll find a node for each of our national stations: /home/hug.hellomatty.com/radio1/onnow, /home/hug.hellomatty.com/radio2/onnow etc...
At the start of every radio broadcast I'm publishing metadata about that show to its station's node, wrapped in an Atom Entry. For your Linked Data entertainment it's also serialised as Turtle RDF conforming to the Programmes Ontology.
I can already think of a few things to do next...
- Add BBC TV stations
- Separate the delivery of the programme metadata (which we actually have before broadcast) from the 'on now' trigger event
... but I think this is a pretty interesting start. Maybe next we should try and use it to build a real EPG on a real radio...?
(And if you're lucky enough to be at XTech, go say hello to Michael, Nic, Patrick, Tom and Duncan who'll be talking about All This and More on Thursday...)
~RS~q~RS~~RS~z~RS~24~RS~)
CommentsSign in
You need to sign in to contribute to this page. If you're new to BBC Blogs, creating your membership is quick and easy.
Now that is very cool indeed. I had actually working on a similar idea on spare time using a XMPP library written in Python and based on Kamaelia, a BBC Research product. I interfaced my XMPP library with my AtomPub library so that they content was stored as Atom entries both in the AtomPub storage and in a PubSub service. That's fantastic you offer that service. i'll play with it asap.
http://trac.defuze.org/wiki/headstock
Complain about this comment
Matt: It seems the atom entry you're storing as an item is not well-formed. Have you checked them?
Complain about this comment
BTW, I thought you might like to see this:
http://www.defuze.org/archives/16-XMPP,-AtomPub,-headstock,-amplee-and-the-BBC.html
Complain about this comment
Hi,
I 've tried accessing to pubsub nodes on pubsub.hug.hellomatty.com, but it seems not reachable at this time... are they still up since the last week?
Thanks,
Cédric.
Complain about this comment
I don't think I can quite describe how chuffed I am to see this kind of work happening, finally :)
Complain about this comment
View these comments in RSS