An RSS aggregator is the perfect application to build with a standard AJAX engine, but cross-domain AJAX requests to RSS feeds are not possible. In this article, Kris Hadlock shows how to leverage a simple PHP function to bridge the gap between the AJAX engine and RSS content.
RSS aggregators are not very hard to come by these days, but finding a good one can be quite difficult. On the other hand, creating a custom aggregator isn’t very difficult and can provide you with an interface of your own choosing. RSS aggregation presents the kind of data that’s perfect for being consumed by an AJAX application because of the simple fact that it’s XML, and AJAX can gracefully display new feeds without refreshing the page. The issue has always been that cross-domain AJAX requests are impossible with a standard AJAX engine. In this article, I’ll show you how to leverage a very simple PHP function to bridge the gap between the AJAX engine and the remote content, which in this case will be RSS feeds.
Read the original article at InformIt