Hey guys,
I'm trying to do some cross domain stuff with YQL and Jquery but i'm having a little trouble with getting this yql query to work right.
Okay so this is the YQL statement i'm trying to get to work:
use 'http://yqlblog.net/samples/data.html.cssselect.xml' as data.html.cssselect; select * from data.html.cssselect where url="www.holylandmoments.org/devotionals/the-sabbath-experience" and css="#main-content p"
Now the yql statement that I am trying to change to suit what i'm trying to do is:
var yql = 'http://query.yahooapis.com/v1/public/yql?q=' + encodeURIComponent('select * from html where url="' + site + '"') + '&format=xml&callback=?';
From what i've read in order for me to be able to pick and choose css selectors I need to invoke an open data table.
I don't know what or how I can change the example yql statement to include the USE and AS into the query.
Any help would do.