Get External Feed Dreamweaver Extension
One of the limitations of AJAX however is a security restriction which does not allow loading content (XML, HTML) remotely from another domain. Attempting to use an XML or HTML data source from onedomane.com on anotherdomain.com will result in a sandbox error, alas the external content will not load.
The restriction is in place to make sure that the remote page cannot execute harmful code on your page. Unfortunately you are not given a choice, even if you trust the external source. This extension allows to bypass this restriction. While it can be used in various situations Get External Feed is a productivity, not a hacking tool. You will not be able to use it for illegitimate purposes, such as loading content from a restricted area on another web site or a page served over SSL (a URL starting with "https").
The data being loaded will not be modified by the Server Behavior in any way (will remain "as is").
This Server Behavior is compatible with Dreamweaver PHP (MySQL) Server Model only.
Examples of use
A page with Get External Feed Server Behavior applied to it can be used as an XML Source from a Flash application.
- Adobe Spry
The extension can be used to display a Blog or an RSS news feed served from another web site with Spry XML Data Set (prior to Dreamweaver CC). You can also load HTML content from another domain with Spry HTML Data Set or using Spry Update Content Method.
- jQuery and other AJAX frameworks
When it comes to loading external content you are not by any means restricted to Adobe Spry.
Consult framework's vendor documentation for information on how to display the loaded data.
The first example (on the left) is showing CNN Top Stories while the second one is demonstrating the use of local Yahoo! Weather Forecast. Both RSS feeds are loaded dynamically from the CNN and Yahoo! web sites and rendered inside two separate Spry Data regions.
Loading CNN Top Stories
Loading Yahoo! Weather Forecast
Dreamweaver version Compatibility
- Dreamweaver CS3
- Dreamweaver CS4
- Dreamweaver CS5 and CS5.5
- Dreamweaver CS6
- Dreamweaver CC