Oracle Magazine Special offer for AjaxImpact.com Visitors!! Subscribe to Oracle Magazine for Free!
AJAX IMPACT


TUTORIALS
RSS Ajax JavaScript ticker
03/23/2006 By javascriptkit.com


In this tutorial, I'll show you how to combine RSS, Ajax, and JavaScript to create a live RSS ticker. Thanks to Ajax, the conventional roles of server side and client side programming are reversed in an application like this as JavaScript- not PHP- is used to handle much of the work, including parsing the RSS file.

A quick overview of how our Ajax RSS ticker works:

  • A very simple PHP script is used to get the contents of an RSS file online and save it locally on the server for caching, unparsed in any way.
  • Ajax is used to fetch the contents of the RSS file produced by the PHP script.
  • JavaScript receives the contents of this RSS file (via Ajax), then parses it using standard DOM methods before displaying the feed in any manner the webmaster desires.


  • Download full code for the RSS Ajax JavaScript ticker

       Read more...

     Rate this Ajax Tutorials
    Error connecting to mysql