tags:

views:

614

answers:

3

craigslist has an rss feed and i wish to convert the feed to JSON format so that I can parse it. anybody know any tool that can do this - convert craigslist rss (or any rss) to JSON format

+1  A: 

John Resig has a post about this:

http://ejohn.org/projects/rss2json/

BobbyShaftoe
tried this already. the example he gave on the page is not working. also tried using the url he supplied with craigslist, it's not working too
You downloaded the Perl scripts and followed all those directions?
BobbyShaftoe
+2  A: 

RSS is already in XML format, which is natively parsable by all browsers. I would recommend just parsing the XML directly instead of converting to json for parsing.

bendewey
+1  A: 

You could try using one of the many javascript libraries to navigate through the XML.

For example, here. There are many more libraries, here are the ones Google thought were good enough to host.

cofiem