Thanks Paul ;-)

I set up that redirection scheme (the 'trick') simply to address the
very basic problem of having two different URLs for International and UK
listeners.

I'm still waiting to see if we can actually get the root cause of this
problem fixed but, in the mean time, happy for you to use the
redirection here.

VPID - is used in the URL as there may be other versions of a
programme's episode available.

However - I also asked for this to accept the PID - and it would just
guess at the most appropriate content (probably the latest version), and
also some redirections to allow for requesting the latest episode from a
day of the week.

Alan

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Paul Webster
Sent: 03 June 2010 07:31 PM
To: [email protected]
Subject: Re: [backstage] Developer: Parsing AOD xml, and which PID is
permanent?

A comment regarding the WMA content ... watch out with the media link
URL.
It only works if the listener is in UK (BBC does geo lookup).
The trick is to use http://www.bbc.co.uk/listen/again/<vpid>.asx
Since this is supposed to do the same geo lookup and then dynamically
generate an ASX with the right link.
There are hopes to make this use the PID so that it can be pretty static
(eg asking for Farming Today and the backend always returning the most
recent.
I don't know if a vpid is re-used for a much later repeat.

(I know this through working with Alan Ogilvie when trying to get the
WMA content working for Reciva radios)

Paul 


Sent while mobile

On 3 Jun 2010, at 18:59, Steve Clarke <[email protected]>
wrote:

> Dear all,
> 
> I am writing an alert application, which looks out for specific radio 
> programs, and sends an alert (email / SMS, etc) when a program that 
> meets specific criteria has been spotted on the audio on demand side
of the BBC.
> 
> 
> I have three questions:
> 
> 1) I am downloading the aod xml file, e.g. 
> 
>  http://www.bbc.co.uk/radio/aod/availability/bbc7.xml
> 
> There appear to be several ways to get similar information, and each 
> seems to be formatted differently, however, this is the one that seems

> to have everything I need.
> 
> QUESTION: Is this feed something that is around to stay?
> 
> 
> 
> 2) In the aod XML file, there are records formatted in the following
way: 
> 
>  <entry pid="p0081pm6">
>    <key>key data</key>
>    <pid>b007k1sk</pid>
>    <service>bbc_7</service>
>    <title>title, series, episode</title>
>    <synopsis>overview</synopsis>
>    <availability start= ... />
>    <broadcast pid="p0081l0f" version_pid="b006sqhl" ... />
>    <parents>
>      <parent pid="b00s8fp6" type="Series">series no.</parent>
>      <parent pid="b00f9sql" type="Brand">brand</parent>
>    </parents>
>    <links>
>      link details
>    </links>
>  </entry>
> 
> I'd like to know if I've sent the text message / email out before, and

> before could be 6 months ago, when the program was last aired.  I note

> that the version_pid is the same number as used in the link url.
> 
> QUESTION: My question is which of the PIDs will _always_ be associated

> with this specific episode of this specific program?
> 
> 
> 
> 3) Finally, a question, which is more of a comment.
> 
> The mediaselector xml file seems to offer the WMA stream at 128kbps, 
> but my internet radio only every plays it at 96kbps, and infact, I've 
> seen posts stating that it is a 96kbps stream.
> 
> QUESTION: Is the 128kbps for wma streams in the mediaselector.xml file
a typo?
> 
> 
> 
> many thanks and best regards,
> 
> Steve Clarke
> -
> 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/[email protected]/

-
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/[email protected]/

-
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/[email protected]/

Reply via email to