Hmmm ... if I modify my script to always give a user-agent something like 
"Mozilla/5.0" then it always works.
If I don't (so it goes out with a user-agent something like ... Lynx) then 
sometimes I do not get the correct opening
section of the XML.

Paul Webster

On Thu, 05 Jul 2012 12:03:54 +0100, you wrote:

>I'm not certain of this one yet - but from some overnight error messages on my 
>system it looks like the /programmes XML
>generator is sometimes not including the <service></service> section that 
>usually appears near the start.
>
>Usually starts something like this:
><?xml version="1.0"?>
><schedule>
>    <service type="radio" key="radiodevon">
>        <title>BBC Radio Manchester</title>
>    </service>
>but I had some arrive without the <service> section.
>
>I need to do some more investigation to be sure - bubt maybe someone at BBC 
>would know if there have been recent changes
>that could effect URLs like this
>http://www.bbc.co.uk/radiomanchester/programmes/schedules/2012/07/05.xml
>(note - it doesn't happen all of the time)
>
>Paul Webster
>
>-
>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/

Reply via email to