I am getting news from Yahoo using an RSS feed, using:
XML.load('http://finance.yahoo.com/rss/topstories')
Yea this is legal and all, and although it works perfectly when my SWF is offline — it shows a security error, but I allow my D drive ‘domain’ in the Adobe Security Panel.
But as soon as I upload it to my server, and test it online:
-
In Firefox3 the data fails to load, giving me a message on the status bar ‘Transferring data from finance.yahoo.com’
-
In InternetExplorer7 it fails silently with no message or warning.
Whats happening? I’ve even put a crossdomain.xml file with a * wildcard (allowing all domains).
Seems like you need a subdomain at Yahoo to access this.
http://finance.yahoo.com/crossdomain.xml
A quick walk-around is to set up a proxy-script on your own server. There’s a lot of examples out there. Haven’t tried this but the guy wrote it for the same reason as you :
http://www.abdulqabiz.com/blog/archives/general/php_proxy_script_for.php