YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub
  • Home
  • Gallery
  • Forums
  • YUI 2
  • YUI 3
  • YUI Labs
  • YUI Compressor
  • More
  • Gallery Forums
  • Gallery Stats
  • Gallery Calendar
  • Register
  • Login

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • FAQ
  • Developer FAQ
  • Developer Guide
  • Module Setup

Tag Cloud

node overlay caridy ajax plugin nzakas apipkin lsmith rgrove tivac port davglass form foxxtrot ericf animation jsonp skinnable widget io adam yui2 event slideshow jafl jacobfogg

Context Navigation

    YUI Library is not responsible for bugs or support with this module. It is available as a free service. For support please contact the module owner with the provided links.

    YQL Query (gallery-yql) on cdn

    Last Updated: 11/11/09
    + 5 -

    Dav Glass

    YUI Developer

    See 9 more by this user.

    Featured Item

    Created: 10/22/09
    Last CDN Push: 01/27/10
    Build Tag: gallery-2010.01.27-20
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.0.0
    Free for use.
    Module Image

    This module adds a little sugar to YUI3 to make simple easy YQL queries.

    It supports:

    • Simple Queries
    • Community Tables
    • Error Handling
    • Timeout Handling
    • Custom Events
    • Tags:
    • sql
    • yql
    • jsonp
    • davglass
    • query
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    Code Sample

    <script src="http://yui.yahooapis.com/3.1.0/build/yui/yui-min.js"></script>
    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2010.01.27-20'
    }).use('gallery-yql', function(Y) {
        //Using events
        var q1 = new Y.yql('select * from github.user.info where (id = "davglass")');
        q1.on('query', function(r) {
            //Do something here.
        });
        q1.on('error', function(r) {
            //Do something here.
        });
        //Or the callback approach
        new Y.yql('select * from github.user.info where (id = "davglass")', function(r) {
            //Do something here.
            r.query; //The result
            r.error; //The error message
        });
    });

    Forum Posts

    Subject Author Date
    I Love Yahoo! Developer hussien 11/2/09
    gallery-yql and it's relationship to gallery-jsonp Eric Ferraiuolo 11/13/09
    Re: gallery-yql and it's relationship to gallery-jsonp Dav Glass 11/13/09
    Re: gallery-yql and it's relationship to gallery-jsonp Eric Ferraiuolo 11/13/09
    Re: gallery-yql and it's relationship to gallery-jsonp Dav Glass 11/13/09
    Re: gallery-yql and it's relationship to gallery-jsonp Luke Smith 02/8/10
    yql failing to load html alexlebek 04/17/10
    Re: yql failing to load html Eric Miraglia 04/17/10
    XML format Marcel Duran 08/7/10
    Re: XML format Dav Glass 08/8/10
    YUI Projects
    • All YUI Downloads
    • YUI 2
    • YUI 3
    • YUI Doc
    • YUI Compressor
    • YUILibrary.com
    • YUI Build Tool
    • YUI PHP Loader
    YUI Labs
    • All YUI Labs Projects
    • Yeti
    Pages & Links
    • All YUI Downloads
    • Git FAQ
    • Graded Browser Support
    • Contribute to YUI
    • Forum Stats
    • Gallery Stats
    • YUI Calendar
    Contribute
    • Submit a Bug
    • Request a Feature
    • Write Code
    • Meet the Team
    Follow YUI
    • on GitHub
    • on Twitter
    • on FriendFeed
    • on Facebook
    • on IRC
    • YUI Blog
    • YUI Theater
    • YUI Forums

    © 2010 YUI Library - Site Credits