Tag Archives: yql

YQL and JSONP-X (aka. json-p-x, jsonpx, json-px)

With all the buzz about YQL’s new Insert/Update/Delete, a new feature JSONP-X was also released at the same time.
JSONP-X is essentially an escaped XML string as a JSON result wrapped in a javascript callback function. To access this functionality consider this example:
http://query.yahooapis.com/v1/public/yql?q=<my yql query>&format=xml&callback=mycallback
and a basic structure:
myJSCallbackFunction({
“query”: {yql meta data here},
[...]

Posted in yahoo | Also tagged , | 4 Comments

Top 10 YQL execute links

Some links about YQL’s new execute feature:

http://developer.yahoo.net/blogs/theater/archives/2009/04/yql_execute_screencast.html
http://www.yqlblog.net/blog/2009/04/29/do-it-your-way-with-execute-and-open-data-tables/
http://developer.yahoo.net/blog/archives/2009/04/yql_execute.html

http://www.readwriteweb.com/archives/theres_a_great_amount_of.php
http://ajaxian.com/archives/yql-execute-now-allows-you-to-convert-scraped-data-with-server-side-javascript
http://simonwillison.net/2009/Apr/29/yql/
http://blog.programmableweb.com/2009/04/30/yahoos-yql-makes-the-internet-your-database/
http://www.cio.com/article/491215/Yahoo_Extends_YQL_Web_Data_Query_Platform
http://radar.oreilly.com/2009/04/four-short-links-30-apr-2009.html
http://www.pcworld.com/businesscenter/article/164067/yahoo_extends_yql_web_data_query_platform.html

Posted in yahoo | Also tagged | 2 Comments

2-legged OAuth Javascript Function for YQL

Here is a 2-legged OAuth Javascript function that makes it easy to get YQL results into your Javascript application.
First we want to include the oauth javascript libraries obtained from http://oauth.googlecode.com.

<script type="text/javascript" src="http://oauth.googlecode.com/svn/code/javascript/oauth.js"></script>
<script type="text/javascript" src="http://oauth.googlecode.com/svn/code/javascript/sha1.js"></script>

It’s probably best to download those files to your local server, instead of calling them directly from googlecode in this example.
We then [...]

Posted in yahoo | Also tagged , | 5 Comments

YQL launches!

After many months of work, YQL has finally launched. It’s exciting to see such a powerful tool released that unifies many of Yahoo’s web services and allows mash ups from external sources.
I created the console part of YQL, which is a small part in the YQL picture – but it allows developers to test out  [...]

Posted in yahoo | Tagged | Leave a comment