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

2008-05-20 Thread Chris Sizemore
that threw me too, but it's the last element of each broadcast:

start2008-04-28T00:50:00+01:00/start


best--

--cs


-Original Message-
From: [EMAIL PROTECTED] on behalf of Brian Butterworth
Sent: Tue 5/20/2008 9:34 AM
To: backstage-developer@lists.bbc.co.uk
Subject: Re: [backstage-developer] Accessing 
http://www.bbc.co.uk/programmes/a-z from PHP
 
2008/5/19 Paul Clifford [EMAIL PROTECTED]:



 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.

 The XML (ie
http://www.bbc.co.uk/bbcfour/programmes/schedules/2008/04/28.xml) has:

duration3600/duration
end2008-04-29T04:10:00+01:00/end

Which is bit of an odd way of presenting schedules, even if it there is a
certainly logic to it.  Might be easier for general use to have the start
as well?

-- 

Brian Butterworth

http://www.ukfree.tv - independent digital television and switchover advice,
since 2002



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

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

2008-05-20 Thread Paul Clifford
Unfortunately we don't have any broadcast data for those two channels
in the PIPs database at the moment.  The full list of available
channels can be seen in the Schedules box at
http://www.bbc.co.uk/programmes

I'll have to defer to other BBC people on the exact timescales but we
are actively working on filling in the gaps in the PIPs data,
particularly things like the patchy regional schedule data for BBC One
and BBC Two; we'll make sure people are kept up to date as progress is
made.

On Tue, May 20, 2008 at 10:28 AM, Brian Butterworth
[EMAIL PROTECTED] wrote:
 and also the BBCi Sport interactive?

 2008/5/20 Brian Butterworth [EMAIL PROTECTED]:

 What's the syntax for BBC HD please?
 http://www.bbc.co.uk/bbchd/programmes/schedules/ gives me a 404...

 2008/5/19 Paul Clifford [EMAIL PROTECTED]:

 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.getProgrammesamp;channel_id=$strChannelamp;start=$strDTSamp;end=$strDTEamp;limit=100amp;detail=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.



 --
 Please email me back if you need any more help.

 Brian Butterworth

 http://www.ukfree.tv - independent digital television and switchover
 advice, since 2002


 --
 Please email me back if you need any more help.

 Brian Butterworth

 http://www.ukfree.tv - independent digital television and switchover advice,
 since 2002
-
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.


Re: [backstage] Zattoo - live streaming BBC channels

2008-05-20 Thread Steve Jolly

Christopher Woods wrote:

Personally I'd rather have naff analogue with continuous audio where I can
gist the few words I miss, rather than have a lossy (moreso than analogue,
arguably) digital signal with squelchy audio and dropouts every so often. I
put up with it on my PC's freeview receiver, but I still find myself
wandering into the kitchen to tune in on the analogue set.

I think I'm a bit strange.


IIRC subjective quality tests have shown that poor quality audio causes 
a reduction in reported *video* quality of one point on the CCIR 5-point 
subjective quality scale.  I can probably dig out a reference if 
anyone's sufficiently interested.  Which suggests that people in general 
are even weirder than you think that you are, if that's any comfort. :-)


S
-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/


RE: [backstage] Zattoo - live streaming BBC channels

2008-05-20 Thread Adam Hatia

FWIW, I think not everyone is the same in this regard. Personally, I also 
prefer to watch a clear picture with picture  sound breaking up occasionally 
than every programme behind a snow scene, no matter how perfect the audio 
might be. I'd rather just listen to the radio if the latter was the case!
 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Woods
Sent: 20 May 2008 02:20
To: backstage@lists.bbc.co.uk
Subject: RE: [backstage] Zattoo - live streaming BBC channels

 You'd think...  But then my first flat in London barely 
 managed to get analogue...  I actually got a digital box in 
 the first place because it offered a better picture!  A clear 
 picture that broke up once every 90 seconds was preferable to 
 watching fuzz and snow.

Interesting you should say that, I was thinking about this whilst watching
the footie on the TV the other day - our analogue reception is awful (and we
don't have a roof aerial where we are at the moment, so it's bunny ears all
round) and whilst the picture is awful, bar a few moments of static the
audio is quite fine. The contiguousness of the audio also helps with
tolerance - I can quite happily tolerate a poor quality video feed if the
audio's fine. Same goes for cinema - people seem to put up with awful
quality video so long as the sound's good (odd really, a strange
psychological thing which must have some link with the way our brains
interpret natural sound, and the way it introduces its aural coping
mechanisms when our eyes are starved of sufficient input).


Personally I'd rather have naff analogue with continuous audio where I can
gist the few words I miss, rather than have a lossy (moreso than analogue,
arguably) digital signal with squelchy audio and dropouts every so often. I
put up with it on my PC's freeview receiver, but I still find myself
wandering into the kitchen to tune in on the analogue set.

I think I'm a bit strange.

-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/

-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/


RE: [backstage] Zattoo - live streaming BBC channels

2008-05-20 Thread Gareth Davis
 The only option then was really to use the NTL 
 analogue feed they put down the coax. Friendly engineer gave 
 us some F type ends and cable and we could at least get 1 to 
 4. And Sky one audio on the FM.

The old NYNEX FM hook up - that takes me back. It seemed amazing at the
time, to get stereo sound on some channels you could tune into them on
your FM radio instead. I didn't have a NICAM TV then, and NICAM support
was a bit hit and miss on the old Scientific Atlanta 8600 series boxes
anyway. And as an added bonus you got a cable exclusive station and a
few international stations thrown in too, like VOA and the BBC World
Service.  

-- 
Gareth Davis | Production Systems Specialist
World Service Future Media, Digital Delivery Team - Part of BBC Global
News Division
* http://www.bbcworldservice.com/ * 702NE Bush House, Strand, London,
WC2B 4PH

-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/


[backstage] BBC Schedule theme for iGoogle...

2008-05-20 Thread Brian Butterworth
Just run up a quick test theme for iGoogle - using the new data from the new
format bbc.co.uk/programmes site:

http://www.google.co.uk/ig?hl=enskin=http://www.ukfree.tv/igoogle/igoogle-theme-BBC-schedule.xml

It should change every hour to show the programmes on during that hour on
BBC one, TWO, three, FOUR, CBBC, Cbeebies and News.

Any feedback appreciated.



2008/5/19 Paul Clifford [EMAIL PROTECTED]:

 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.getProgrammesamp;channel_id=$strChannelamp;start=$strDTSamp;end=$strDTEamp;limit=100amp;detail=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.




-- 

Brian Butterworth

http://www.ukfree.tv - independent digital television and switchover advice,
since 2002


[backstage] Soundindex

2008-05-20 Thread Peter Bowyer
This has to be a target for Backstage 

http://uk.techcrunch.com/2008/05/20/bbcs-sound-index-is-good-but-we-wont-get-the-data/

-- 
Peter Bowyer
Email: [EMAIL PROTECTED]
Follow me on Twitter: twitter.com/peeebeee
-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/


Re: [backstage] Soundindex

2008-05-20 Thread Brian Butterworth
Yes, and RSS feed would be a good idea..

http://www.ukfree.tv/igoogle/soundindex_rss.php



2008/5/20 Peter Bowyer [EMAIL PROTECTED]:

 This has to be a target for Backstage 


 http://uk.techcrunch.com/2008/05/20/bbcs-sound-index-is-good-but-we-wont-get-the-data/

 --
 Peter Bowyer
 Email: [EMAIL PROTECTED]
 Follow me on Twitter: twitter.com/peeebeee
 -
 Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please
 visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.
  Unofficial list archive:
 http://www.mail-archive.com/backstage@lists.bbc.co.uk/




-- 
Please email me back if you need any more help.

Brian Butterworth

http://www.ukfree.tv - independent digital television and switchover advice,
since 2002