RSS AJAX Newsticker

This JavaScript tutorial will show you how to combine RSS, AJAX, and JavaScript to create a real-time RSS ticker.

Thanks to AJAX, the conventional roles of server side and client side programming are reversed in an web application like this as JavaScript- not PHP- is used to handle much of the work, including parsing the RSS file.

I've learned it's good form to always show your viewers exactly where you're leading them to begin with, so here are a couple of examples of the Ajax style RSS ticker I'll be discussing how to create.


Sampled by JavaScriptBank.com CNN:



Each ticker on the page can be invoked independently, for example:
<script type="text/javascript">
//rss_ticker(RSS_id, cachetime, divId, divClass, delay, optionalswitch)
new rss_ticker("CNN", 60, "cnnbox", "cnnclass", 2000)
</script>

Over 2000+ free Javascript
at JavaScriptBank.com Website