JavaScript Syntax Error in Rest Query

I am new to YQL and I'm trying to work through a tutorial but keep running into an issue. For some reason, I am getting a parse error on the Rest Query given by the YQL console in JSON. I'm using the feed at feed://www.food.com/rss?

My code to open up the xml feed is:
 xhr.open('GET', 'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20feed%20where%20url%3D\'http%3A%2F%2Fwww.food.com%2Frss%3F'&format=json&diagnostics=true');

The error is being given as a JavaScript Syntax Problem in response to the two = in the string. Does anyone know what I might be doing wrong? Keep in mind I am a newbie to YQL AND JavaScript...


0 Replies

Recent Posts

in YQL