Hi

Another way to sort out this problem is to create a simple proxy script in
the same domain as the AJAX and use that.

In php it's more-or-less echo file_get_contents();

I've done this a few times and it works a treat.

On Sep 21, 2009 12:14 AM, "Ross Thomas" <[email protected]> wrote:

Hi,

I'd like to make a small web application that would give series-link
type functionality to the iplayer. I've achieved this in a java app
but want to do it using HTML/AJAX.

Unfortunately this seems impossible at the moment as cross domain AJAX
is needed and this is currently disabled for all the programme RDF
files. This means that my AJAX calls to those files simply return an
error. If I make a similar call to a series player.xml file then it
returns ok.

The reason for this is that an extra HTTP header is needed:

Access-Control-Allow-Origin: *

This header is present on the file
programmes/b006vq92/episodes/player.xml for example but not the
corresponding rdf file programmes/b006vq92.rdf

Is it possible to get this header added to the RDF files as well? This
would allow cross site ajax for these files as well as for the
player.xml files.

Thanks.
Ross Thomas

P.S. I've tried to subscribe to the backstage-developer mailing list
using the website instructions but it keeps returning that the list
does not exist. Are these instructions correct?
-
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