Yahoo! Query Language (YQL) - Printable Version +- NiftyHost Forums (Archive) (https://niftyhost.chary.us/support) +-- Forum: Technology (https://niftyhost.chary.us/support/forum-7.html) +--- Forum: Coding (https://niftyhost.chary.us/support/forum-12.html) +--- Thread: Yahoo! Query Language (YQL) (/thread-1071.html) |
Yahoo! Query Language (YQL) - Zach - 04-07-2011 I thought this was great. Yahoo! Query Language lets you access many web APIs using a (mostly) standardized SQL-like language. Currently, you can access:
Recently, I used it for the "Recent Forum Posts" and "Latest News" sections on the new NiftyHost.us website. YQL has a 'feed' table that parses RSS and Atom feeds for you quickly and easily. This allowed me to set up those sections in a matter of minutes. RE: Yahoo! Query Language (YQL) - HiddenKnowledge - 04-07-2011 Thanks, I'll be using that. Would love a tutorial or some proper/easy examples :) RE: Yahoo! Query Language (YQL) - Zach - 04-07-2011 Well, here's the code I use in my functions files to make it work in the first place: PHP Code: <?php To experiment with YQL and discover new tables, use the YQL Console at http://developer.yahoo.com/yql/console/. You can also use that to find the structure of the results which yql_query would return from each table. Here's an example of using YQL to get the latest news from the NiftyHost Forums and to display it as an unordered list: PHP Code: <?php RE: Yahoo! Query Language (YQL) - HiddenKnowledge - 04-07-2011 Thanks :) RE: Yahoo! Query Language (YQL) - JonattanD - 04-09-2011 Awesom i dint knew you can access facebook via YQL RE: Yahoo! Query Language (YQL) - Zach - 04-09-2011 Facebook, YouTube, and a whole lot more. RE: Yahoo! Query Language (YQL) - JonattanD - 04-11-2011 can you also access MTV via it or any other music sites? RE: Yahoo! Query Language (YQL) - Zach - 04-16-2011 The only music thing it can access at this point in time appears to be Yahoo! Music. You can look around in the console and play with tables. |