Shane O'Sullivan's technical blog… really ties the room together

Google and Dojo, Sitting in a tree…

Posted by Shane O'Sullivan on May 1, 2008

I’ve submitted a bunch of new data stores to the Dojo Ajax Toolkit that make it simple to search Google directly from your own site (ticket here).

Update: I’ve also submitted a store to read any Atom or RSS feed, anywhere, without any server redirects. See Google And Dojo, F.E.E.D.I.N.G

This is different from putting a search box on your site and redirecting to Google. With the new family of data stores, you can retrieve google search results in JSON format, and display them on your site directly.

Pause a second…. let it sink in…..

There are no cross domain issues, and no server side component is required. It uses the transport to access the Google Ajax API service. Just stick the following on your page:

<div dojoType=”” jsID=”googleStore”></div>

and you have Google’s millions of servers at your fingertips.

The following data stores are available:

  • GoogleWebSearchStore – does a standard web search.
  • GoogleBlogSearchStore – searches blogs. A future enhancement I will be writing will be to write a data store that accesses Google’s extremely cool Ajax Feed API, which provides access to any ATOM feed, anywhere, in JSON. It’ll be possible to do a full web search of all blogs for certain topics, then using the feed store to pull down that complete feed .
  • GoogleLocalSearchStore – searches the Google Local service to find places, businesses etc.
  • GoogleVideoSearchStore – Does what it says on the tin, searches for videos.
  • GoogleNewsSearchStore – Finds news stories…. noticing a pattern yet?
  • GoogleBookSearchStore – Um, finds books..
  • GoogleImageSearchStore – Finds images. This provides both a thumbnail and full sized version, similar to the FlickrRestStore already provided by Dojo.

The potential applications are more or less infinite. Demos included in the check-in show how to integrate this with the extremely cool dojox.dtl templating engine to display the results in a number of different ways, as well as how to feed the results into the Dojo Grid, Gallery and SlideShow.

This code is included in the nightly checkouts of Dojo, and not in v1.1. To get it, either check it out from source control, or get it from

Have a look at the simplistic demo of it in action at (available from the May 1st nightlies).

A big thank you to Google for making this service available. Now go play!

P.S. Stay tuned for the Yahoo variant, coming soon!

13 Responses to “Google and Dojo, Sitting in a tree…”

  1. So. Freaking. Cool.

    Nice work!

  2. Thanks Alex 🙂

  3. Bob said

    Cool, but Google Feed Ajax API Data Store shoule be more useful. Can not wait for it..

  4. It’s coming!

  5. Really useful! Well done

  6. Thanks Jose!

  7. […] Posts Google and Dojo, Sitting in a tree…Introducing the new Dojo Image WidgetsDojo Ajax Demo Engine releasedSexy new Calendar widget for […]

  8. Will said

    I can’t wait to try hooking it up to a dijit.form.FilteringSelect widget.

  9. Bob, The feed store is in –


  10. […] componentsFlickr and Dojo Image GalleryWriting a Django Template Widget With Dojo Data StoresGoogle and Dojo, Sitting in a tree…Google and Dojo, […]

  11. Even though basic approach could be the exact same
    this variations within the guidelines influence an individual technique and they are vital that you look at
    prior to actively playing the overall game. Pontoon boat will be tinkered
    with ten 52-card decks and also the credit cards are highly valued the same as within blackjack along with picture
    greeting cards valued from 15 and also aces just one or maybe 11.

    There may be Extra with the Thirty days area which contains regular monthly number of
    the website that has a excellent information connected with online organization

  12. Exploring every online gambling game on the internet has become one of the
    comings and goings most enjoyed by users of gambling services nowadays.
    How not, every the games that used to be solitary enjoyed abroad by people from the upper classes, now you can enjoy without having to leave the home and use a more affordable cost to sham slot gambling
    in the house.

    This is every thanks to internet technology that
    can connect online gambling fans subsequent to the best gambling help providers on the order of the world.
    As in Indonesia itself, the qualified online gambling agent site gone Depoxito is here to benefits
    those of you who want to spend clear times as soon as
    setting online gambling products.

    Since its presence in the domestic online gambling industry,
    Depoxito has presented various types of gambling
    games of the highest quality. Games such as soccer betting, casino,
    shooting fish, poker, lottery, and of course online slot games
    are approachable taking into account international standards because they
    arrive from leading gambling sites such as Sbobet, Spade Gaming,
    Microgaming, Playtech, and fittingly on.

    For those of you who want to attempt out how thrill-seeking
    it is to act out online gambling on the qualified gambling agent website
    Depoxito, immediately register now and enjoy the best online gambling experience that you
    can’t find anywhere else.

  13. Depoxito is the best online gambling site in Indonesia, subsequent to Depoxito you will environment the sensation of playing extra and objector online
    gambling. We always innovate hence that every our members can vibes a
    sensation next playing at a genuine casino. Depoxito find the money for you the
    best rouse casino feelings you can acquire considering all the lovely and sexy dealers, or grand vip saloon private
    room for our VIP enthusiast where you can performance one on one
    later our special Dealer every just for yourself.
    Luxurious site and VIP class assistance for you, a liberal and easy-to-use site, kind and always kind Customer benefits to
    support you. Depoxito is the right another for those of you who desire to feign online gambling without
    worrying that your winnings will not be paid, Depoxito
    guarantees that all bet you place and win is genuine and will
    be paid without incurring any unwritten deductions.
    Depoxito as a site that is a assistant of international huge bookmakers enormously will not disappoint you as a faithful enthusiast of the
    Depoxito site and will continue to set sights on further updates and restructure our security
    system consequently that it can prevent our loyal members
    from the threat of personal data leakage, scam or fraud.

    Depoxito is in addition to a trusted online gambling dealer that provides the most unmodified gambling games in Indonesia, such as sportsbook,
    slot games, stir casino, lottery and online poker that
    you can proceed later just 1 Account.
    In accessory to the unmodified VIP help game upon our site, we
    will pamper you our faithful members because you don’t dependence a
    lot of IDs to put-on every second gambling games. As a gambling site accredited by PAGCOR (Philippines Amusement and Gaming Corporation) Depoxito is plus one of the number one gambling sites in Indonesia
    and has a good reputation from all online gambling
    players in Indonesia.
    As we have said, we have a customer relieve that is always
    upon standby to facilitate all your needs even though playing upon our site, including for withdrawals and deposits that solitary tolerate less than 3
    minutes, hence we can be the best for member utility as well as our
    customer assistance will standby 24 hour a hours of daylight and
    7 days a week to support our zealot and VIPs.
    And the most special from our site compared to additional sites is the supplementary that we manage to
    pay for to our faithful members who continue to put-on on our site will acquire the best promos and
    bonuses that we will come up with the money
    for you, we always follow the broadcast and trends that are viral now as
    a result the promos that we make are of course no less
    than any site. For VIP members we always offer special promos that
    are not written correspondingly that our members continue to deed upon our site depoxito

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: