I'm happy to announce that I've completed the first version of my Ajax.RssReader object. It needs some extra's, but the basic functionality is now available. You can download it from http://www.sayoutloud.com/_javascript_s/rssreader.js
Usage:
function myCallbackFunction( rss ) {
alert(rss.channel.title);
for(n=0; n<rss.items.length; n++) {
alert(rss.items [n].title);
}
}
function myErrorHandler( rss ) {
alert( 'An error has occured.' );
}
new Ajax.RssReader( 'http://www.mysite.com/feed.xml ', { onSuccess: myCallbackFunction, onFailure: myErrorHandler } );
Please send me your comments and suggestions.
Best,
Robin
_______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
