• Register
  • Log In
  • Home
  • Quick Start
    • Configurator
    • Download YUI 3
  • Documentation
    • User Guides
    • Examples
    • Tutorials
    • API Docs
  • Community
    • Gallery
    • Blog »
    • Forums
    • YUI Theater
    • Calendar
  • Contribute
    • YUI on GitHub »
    • File a Ticket
    • View Tickets
    • Dashboard
  • Other Projects
    • YUI 2
    • YUI Compressor
    • YUI Doc »
    • YUI Builder
    • YUI PHP Loader
    • YUI Test
    • YUI Website
  • YUI
  • >
  • Community
  • >
  • Gallery

Gallery

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • FAQ
  • Developer FAQ
  • Developer Guide
  • Module Setup

Tag Cloud

foxxtrot plugin event jafl css form caridy yql animation io greghinch satyam model nzakas solmsted lsmith widget table datatable node ericf apipkin davglass liferay async

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: 09/9/10
    + 5 -

    Dav Glass

    YUI Developer

    See 9 more by this user.

    Featured Item

    Created: 10/22/09
    Last CDN Push: 03/30/11
    Build Tag: gallery-2011.03.30-19-47
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.2.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:
    • davglass
    • jsonp
    • yql
    • sql
    • query
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    Code Sample

    <script src="http://yui.yahooapis.com/3.2.0/build/yui/yui-min.js"></script>
    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2011.03.30-19-47'
    }).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

    © 2006-2011 Yahoo! Inc. All rights reserved.
    All code on this site is licensed under the BSD License unless stated otherwise.
    About This Site · Security Contact Info