0

why it does not work?

i type this yql in ie :
http://query.yahooapis.com/v1/public/yql?q=SELECT * from local.search(100) WHERE text = "pizza"

why i get "The webpage cannot be found"???

by
2 Replies
  • Hi,

    The query you've used isn't actually valid.

    The local search requires at least a "location" (or longitude and latitude) and a query.

    For example SELECT * from local.search(100) WHERE query = "pizza" AND location = "94089"


    In Internet Explorer because YQL returns an HTTP response type 400 and only a small amount of XML it is displayed as the standard page not found error.


    Tom
    Yahoo! Developer Network
    0
  • QUOTE (sh1mmer @ Feb 17 2009, 12:03 PM) <{POST_SNAPBACK}>
    Hi,

    The query you've used isn't actually valid.

    The local search requires at least a "location" (or longitude and latitude) and a query.

    For example SELECT * from local.search(100) WHERE query = "pizza" AND location = "94089"


    In Internet Explorer because YQL returns an HTTP response type 400 and only a small amount of XML it is displayed as the standard page not found error.


    Tom
    Yahoo! Developer Network

    Thank you, i get it
    0

Recent Posts

in YQL