|
|
Ajax RSS reader
|
05/15/2006 By Jack Herrington
|
In this tutorial, you will learn that How to build an Asynchronous JavaScript and XML (Ajax) Really Simple Syndication (RSS) reader, as well as a Web component that you can place on any Web site to look at the articles in the RSS feeds.
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.
Download the code for this tutorial
Overall this article demonstrates the use of two different techniques (XML and JSON) to access data dynamically from a Web page to create an RSS reader on the page.
Read Full Tutorial...
|
Rate this Ajax Tutorials
Rating: 8.1 out of 52 votes cast
| |
|
|
|
|
|
|
|
|
|
|
|
|