« Previous | Main | Next »

PHP library just for consuming BBC Programmes data

Post categories:

Ian Forrester Ian Forrester | 11:26 UK time, Friday, 29 January 2010

Nicholas Humfrey has wrote a PHP Library for accessing data on bbc.co.uk/programmes using the RDf data feeds provided. It is built on top of the EasyRdf library.Although its not exactly a prototype, its a useful library which could enable many more future prototypes.

In its current state, the library allows you to write this:
$episode = BBC_Programmes_Programme::find('b00p4h42');
$broadcasts = $episode->broadcasts();

To get the broadcast times of Series 3, Episode 1 of Gavin and Stacey.
Simple but will be useful, just the way we like it.

Comments

More from this blog...

Topical posts on this blog

Categories

These are some of the popular topics this blog covers.

BBC © 2014 The BBC is not responsible for the content of external sites. Read more.

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.