views:

31

answers:

2

I'm looking to retrieve JSON (from a third-party website) and convert it into a valid RSS/XML feed.

Is this possible?

Can RSS readers read pages that are basically only javascript generating a web page?

Are there other options to convert a JSON web page to RSS? (ie. retrieve the JSON using an HTTP request and then return valid RSS)

+2  A: 

Can RSS readers read pages that are basically only javascript generating a web page?

No. RSS is a XML-based file format; as far as I know, it does not support Javascript in any form.

You will need server-side scripting to do the conversion.

Pekka
This, I believe is the relevant part to the question. +1
Ryan Kinal
RSS readers can read anything that's in RSS format, no matter how it was produced. But there is no JSON equivalent to RSS, though it is possible to map RSS onto JSON (and vice versa). What you come up with is something that no one can read. I was experimenting with this on scripting.com a couple of weeks ago. http://scripting.com/stories/2010/10/09/nextStepsInTheFeedhoseProj.html
Dave Winer
A: 

You can pretty much convert anything into anything if you have enough input data :) The question is what are you trying to achieve?

If you want persistency, you will very likely have to do that from a server side.

Julien Genestoux