The problem that you're seeing results from the fact that a good number of the as_ parameters are not recognized by the API. You can exclude words with the - sign in your regular q param, as below:
huh -dictionary -mailing -shop -buy This will search for the word huh, but exclude all the words preceded by a - . Still no guarantees that it'll be the same, but it'll probably be closer. Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com http://jgeerdes.blogspot.com http://jgeerdes.wordpress.com [email protected] Unless otherwise noted, any price quotes contained within this communication are given in US dollars. If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com ! On Mar 14, 2009, at 7:15 AM, shakiebaby wrote: > > Hi there.... > > I am currently building an app that uses make a request to the ajax > Search api with php BUT I am struggling abit to build the correct > search string > > The two searches below should return the same results but they are > not! > > http://www.google.com/search?hl=en&lr=&as_qdr=all&q=%22huh%22&as_oq=&as_eq=+Dictionary+mailing+shop+buy&btnG=Search > > http://ajax.googleapis.com/ajax/services/search/web?v=1.0&hl=en&lr=&as_qdr=all&q=%22huh%22&as_oq=&as_eq=+Dictionary+mailing+shop+buy&rsz=large > > ^^^ that string is not excluding the exclusion words.. > dictionary,mailing etc etc > but i dont seem to be able to find the correct query name param name > for exluding word when using the search api > > I dont suppose any knows what i am doing wrong do they? > > thanks in advance > :) > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
