runtime
01-17-2009, 05:00 PM
Does anyone have any insight to the problem I'm having getting my blogger rss (atom) reader to work remotely.
I've recently activated php on my server.
I've followed the instructions on this post:
http://www.actionscript.org/forums/showthread.php3?t=157398&highlight=proxy.php
Written this PHP:
<?php
$url = $_GET['url'];
readfile($url);
?>
Changed my XML data receiver in AS3 to:
function loadXML():void {
xmlLoader.load(new URLRequest("http://www.mywebsite.com/subfolder/proxy.php?url=http://myblog.blogspot.com/atom.xml"));
}
Please note: This works locally. I see all the posts from my blog in Flash locally. This tells me that my server has php enabled and that the swf is finding the php and passing it through. It just still doesn't work when all items are uploaded.
proxy.php sits in the same folder as the HTML that holds the swf.
It should also be noted the blog reader swf is also being loaded into a main swf (both as3).
Any help on this would be greatly appreciated.
I've recently activated php on my server.
I've followed the instructions on this post:
http://www.actionscript.org/forums/showthread.php3?t=157398&highlight=proxy.php
Written this PHP:
<?php
$url = $_GET['url'];
readfile($url);
?>
Changed my XML data receiver in AS3 to:
function loadXML():void {
xmlLoader.load(new URLRequest("http://www.mywebsite.com/subfolder/proxy.php?url=http://myblog.blogspot.com/atom.xml"));
}
Please note: This works locally. I see all the posts from my blog in Flash locally. This tells me that my server has php enabled and that the swf is finding the php and passing it through. It just still doesn't work when all items are uploaded.
proxy.php sits in the same folder as the HTML that holds the swf.
It should also be noted the blog reader swf is also being loaded into a main swf (both as3).
Any help on this would be greatly appreciated.