My web site uses static HTML documents hosted on a server with no support for server side scripting. I would like to show news feeds on my web site, for example stackoverflow questions.

If I can find some time, I could write a web application (running on Google App Engine) which parses a RDF xml document and transforms the content to JavaScript, ready to be embedded in static web pages.

Is there already a online service available which can do this, or is there a different solution on the web, maybe using JavaScript on the client side to parse and format a news feed?

3 answers

Mottie 1134
This was chosen as the best answer

I've added feeds to my web site using Google's AJAX Feed API it really requires minimal effort. Run the wizard, copy the code and paste it on your site.

Oddly, there are alternative formats available that the wizard doesn't show you. So if you want to use jQuery, there is a jQuery Google Feed Plugin that you can get a tabbed feed output, or you can just look at the plugin source to see how to do it.

If you are trying to display images from a feed then you could take a look at cooliris (for your site tab)- which is very nice, but maybe a little over the top.

Answered over 9 years ago by Mottie

You can write a simple app on GAE that just takes your RDF and converts it to JSON. (Or google for one?) On client side, you can use jQuery's $.getJSON with callback.

Answered over 9 years ago by myfreeweb

I use for this exact purpose. It's subscription-based, but you also have access to other tools like creating a feed from a search on Google News or other sites (not just RSS feeds you would subscribe to off of someone's website). You can style and configure most of the feed too, and output to either PHP or JavaScript.

Answered over 9 years ago by Stephan Hovnanian