My only concern is what the code may look like if you need to support RSS1 / RDF and ATOM ?
It's probably a contentious area but it seems to me the cleanest way to do this would be to use a _javascript_ XSLT implementation (Google or Sarissa) to parse the specific RSS XML and apply a stylesheet. I guess the downside of this approach is that XSLT libs consume a bit of bandwidth...
Well, that's the view from my ivory tower anyways ;-)
Matt
Robin Schuil wrote:
Hi Matt,
It is based on the RSS 2.0 specification (http://blogs.law.harvard.edu/tech/rss) and should be backward compatible with all previous versions. Currently it does not support Atom feeds, but that's on my todo list and will be added soon.
Best,
Robin
On 5/24/06, Matt Spendlove <[EMAIL PROTECTED]> wrote:What versions of RSS / Atom etc does it support ?
Robin Schuil wrote:Hi all,
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
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
