Go Back   Dreamweaver Club Forums > Hand Coders Forum > Javascript and JS frameworks
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 12-13-2010, 08:55 PM   #1
Join Date: Feb 2009
Posts: 129
Default Cross domain AJAX

Hi, I have a basic understanding of AJAX and how to use it, however I have searched the internet and read on some stuff of how to use cross domain AJAX but to me it's not making sense, can someone please explain what it does and how I would use cross domain AJAX to access a feed such as BBC News and what would be the best way and why?

I know it's a lot to ask but thanks in advance
Adam_C is offline   Reply With Quote
Old 12-14-2010, 12:43 AM   #2
edbr's Avatar
Join Date: Aug 2005
Location: Bali
Posts: 11,203

you need a feed reader, heres a tut
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 12-14-2010, 03:44 PM   #3
Join Date: Dec 2004
Posts: 405

Cross domain ajax is not supported by browsers because of security risks (remember you can, not just GET but also POST with ajax)

As such a few techniques have evolved for GETting AJAX across domains:

2. Using a proxy (flash proxy, YQL or your own server side asp, php, etc script)

Problem with JSONP is that the server hosting the data should allow JSONP request (eg. Twitter API returns data as JSONP)

BBC feeds (RSS) has to be first fed to your proxy since there is no JSONP available.

YQL maybe the easiest solution to implement more details at http://developer.yahoo.com/yql/

Last edited by ranjan; 12-14-2010 at 03:51 PM..
ranjan is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 03:02 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com