Develop an RSS Reader with AJAX and PHP

Mr. Jack D Herrington, Senior Software Engineer, Leverage Software, Inc. have written an article how to create an RSS reader using AJAX and PHP on IBM developerWorks. The article discuss the creation of a full RSS reader using PHP and AJAX as frontend and MySQL as database to store feeds and articles. The first thing […]

Mr. Jack D Herrington, Senior Software Engineer, Leverage Software, Inc. have written an article how to create an RSS reader using AJAX and PHP on IBM developerWorks. The article discuss the creation of a full RSS reader using PHP and AJAX as frontend and MySQL as database to store feeds and articles.

The first thing I thought about doing when I read about requesting Extensible Markup Language (XML) from JavaScript code on a Web page was to get some RSS and display it. But I immediately ran into the security issue of XML Hypertext Transfer Protocol (HTTP), where a page that comes from www.mysite.com can't address pages from anywhere other than www.mysite.com. My plans to build a generic RSS reader in just the page were dashed. But Web 2.0 is all about ingenuity, and solving the problem of how to create an RSS reader with XMLHTTP teaches a lot about how to program the 2.0 Web.