Re: [backstage-developer] Accessing http://www.bbc.co.uk/programmes/a-z from PHP

2008-05-20 Thread Iain Emsley
Using this URL 
(http://www.bbc.co.uk/radio4/programmes/schedules/2008/04/28.xml), I've got 
(same with the .json instead of .xml):

Unable to find template schedules/show_outlets at Controllers/Schedules.pm line 
326

Iain


- Original Message 
From: Paul Clifford [EMAIL PROTECTED]
To: backstage-developer@lists.bbc.co.uk
Sent: Monday, 19 May, 2008 8:54:57 PM
Subject: Re: [backstage-developer] Accessing 
http://www.bbc.co.uk/programmes/a-z from PHP

We updated the /programmes site today and there are some new views
that might be of use...

See all programmes on a service with broadcasts +/- 7 days from now at
/:service/programmes/a-z
  http://www.bbc.co.uk/bbcfour/programmes/a-z
  http://www.bbc.co.uk/6music/programmes/a-z

Add /all to remove the 7 day restriction, or /player to show just the
programmes with episodes available in iPlayer:
  http://www.bbc.co.uk/radio1/programmes/a-z/all
  http://www.bbc.co.uk/radio3/programmes/a-z/player

Search within a service by adding /by/:search after /a-z:
  http://www.bbc.co.uk/radio4/programmes/a-z/by/e
  http://www.bbc.co.uk/bbcone/programmes/a-z/by/doctor
  http://www.bbc.co.uk/bbctwo/programmes/a-z/by/food/all

Or search within all radio, all tv (soon), or all BBC services:
  http://www.bbc.co.uk/radio/programmes/a-z/by/chris/player
  http://www.bbc.co.uk/tv/programmes/a-z/by/east (soon)
  http://www.bbc.co.uk/programmes/a-z/by/skating/all

With one known and soon to be fixed exception, all the /programmes
pages should be valid XML (and XHTML!), and hopefully easy to process
with XPath etc.

Not new, but you can fetch schedule data through the /programmes site.
Today's schedules:
  http://www.bbc.co.uk/radio4/programmes/schedules/fm
  http://www.bbc.co.uk/bbc7/programmes/schedules

Or a schedule for a particular date:
  http://www.bbc.co.uk/bbcfour/programmes/schedules/2008/04/28
  http://www.bbc.co.uk/bbctwo/programmes/schedules/england/2008/05/22

(Unfortunately, BBC One and BBC Two data outside the London and
England regions can be patchy; we're working on improving that.)

Add .xml to the end of a schedule URL to get an XML representation, or
.json for JSON.  The format of the .xml and .json representations
isn't fixed yet, but we're interested in any feedback from people
using them.

On Sat, May 17, 2008 at 3:38 PM, Brian Butterworth
[EMAIL PROTECTED] wrote:
 I wrote some code a while ago that goes though the BBC programme catalogue
 at

 http://www.bbc.co.uk/programmes/a-z

 and creates a database table that I used to work out what the correct
 iPlayer picture code to use for each, matching them up against the programme
 schedules from

 http://www0.rdthdo.bbc.co.uk/cgi-perl/api/query.pl?method=bbc.schedule.getProgrammeschannel_id=$strChannelstart=$strDTSend=$strDTElimit=100detail=schedule

 For some reason I can access http://www.bbc.co.uk/programmes/a-z from a
 browser, but doing a
 file_get_contents(http://www.bbc.co.uk/programmes/a-z;) from PHP just locks
 up.

 Is this intentional?

 I'm just having another go at making a 'what's on now' iGoogle theme for BBC
 channels...

 Brian Butterworth

-
Sent via the backstage.bbc.co.uk developer discussion group.  To unsubscribe, 
please send an email to [EMAIL PROTECTED] with  unsubscribe backstage-developer 
[your email] as the message.



  __
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

[backstage] RSS feeds query

2007-08-20 Thread Iain Emsley
A quick query. Will the BBC be producing any feeds for the Heroes website at 
all or BBC Three? Since the demise of the cult site, I'm trying to get the 
various bits of information together in RSS form as a bit of an experiment.

Thanks, 

Iain

www.yatterings.com




  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

Re: [backstage] RSS feeds query

2007-08-20 Thread Iain Emsley
It was mainly programme data that I was after and any news/publicity stuff that 
the BBC has on the show (such as renewals and so on). I realise its a slightly 
different case that say Dr Who which you own so have a richer feed for. Also 
(runs for cover with tin helmet) any links to watch it again type thing in the 
feed (again if these exist). 

Also is there an image repository or a department to contact to get 
images/logos to use o a page (with the obvious mention of any pages not being 
official and copyright notices). 

I'm just having a play with a few things to get a feel for a small project that 
I want to run on my own site. 

Thanks for the other link, Carlos, I'll hook up to the feed tomorrow. More 
episode information would be good though. 

Ian, I'll probably have a better idea once I know what's on offer and what I 
can do with it. 

Iain

- Original Message 
From: Michael Smethurst [EMAIL PROTECTED]
To: backstage@lists.bbc.co.uk
Sent: Monday, 20 August, 2007 3:53:44 PM
Subject: Re: [backstage] RSS feeds query

Re: [backstage] RSS feeds query



For programmes... Soon



And atom and, hopefully, rdf



Any more?





On 20/8/07 15:38, Jason Cartwright [EMAIL PROTECTED] wrote:



Hahahaha.



You do know that a very large proportion of pages from bbc.co.uk (rather than 
news.bbc.co.uk) are published by hand, right?



J





On 20/8/07 15:30, Brian Butterworth [EMAIL PROTECTED] wrote:



How about a generic RSS feed for every BBC page that is published?  



On 20/08/07, Carlos Roman [EMAIL PROTECTED] wrote: 

There is always the Heroes Radio Show podcast

http://downloads.bbc.co.uk/podcasts/bbc7/heroes/rss.xml  
http://downloads.bbc.co.uk/podcasts/bbc7/heroes/rss.xml 

Not much info about each episode in the feed though.

 

-C.



From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] 
On Behalf Of Ian Forrester

Sent: 20 August 2007 14:16

To: backstage@lists.bbc.co.uk

Subject: RE: [backstage] RSS feeds query



 

I'm not sure but I'll pass it on.

 

What kind of information were you hoping for?

Ian Forrester



This e-mail is: [ x ] private; [  ] ask first; [  ] bloggable



Senior Producer, BBC Backstage

BC5 C3, Media Village, 201 Wood Lane, London W12 7TP

e: [EMAIL PROTECTED]

p: +44 (0)2080083965

 



From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] 
On Behalf Of Iain Emsley

Sent: 20 August 2007 09:44

To: backstage@lists.bbc.co.uk

Subject: [backstage] RSS feeds query



 

A quick query. Will the BBC be producing any feeds for the Heroes website at 
all or BBC Three? Since the demise of the cult site, I'm trying to get the 
various bits of information together in RSS form as a bit of an experiment. 



Thanks, 



Iain



www.yatterings.com http://www.yatterings.com/ 

 



Yahoo! Answers - Get better answers from someone who knows. Try it now 
http://uk.answers.yahoo.com/;_ylc=X3oDMTEydmViNG02BF9TAzIxMTQ3MTcxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU
 .


















  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/