|
-
RSS / XML feeds don't display in published swf
Hello,
For my class' final project, I created a little eBay search tool platform. It
1) performs a search (and the link generates affiliate coding so commissions would result if an eBay affiliate used this application on their website),
2) it shows a few eBay-related news feeds, and
3) it shows some beginner's videos showing how to buy on eBay.
Playing the swf as a movie on the desktop, within Flash, works fine.
However, since I've published the swf into a webpage, the search function and one of the RSS feeds do not work. My application is at:
http://dongarber.com/flashassets/eBayTool.html
I've read about crossdomain policy issues, but I'm stumped about that. Using FireBug, I see an error message:
"NetworkError: 404 Not Found - http://blog.auctionbytes.com/crossdomain.xml"
This is the domain where I'm calling the RSS feed. Because this domain does NOT have a crossdomain.xml policy in place, does that mean that no matter what I do, I'll never be able to draw from it? I've set up a crossdomain.xml file in my website's root and it consists solely of:
Actionscript Code:
<cross-domain-policy> <allow-access-from domain="www.dongarber.com"/> <allow-access-from domain="dongarber.com"/> </cross-domain-policy>
And, the URL I use to connect to eBay's api is:
"http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&dfsp=32&from=R6&nojs pr=y&output=RSS20&saaff=afepn&siteId=0&afepn=53358 27058&customid=flashfinalprojectRSSFeed&satitle="+searchTermBox.text+"&saprclo="+minAmt.text+"&saprchi="+maxAmt.text+"&fbfmt=1&sabfmts=0&sascs=0&fsop=33&fsoo=2";
This works when I cut and paste a sample URL into the browser, say, when I substitute a search term minAmt and maxAmt into that gobbledegook. The search never returns anything when this app lives on a published html page...
What can I do?
This would be a cool addition to my portfolio, if I can get it working online...
Thanks guys.
Don
Last edited by brainSalad; 06-24-2010 at 05:13 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|