Thanks a lot Jeremy
On 08/02/10 14:17, "Jeremy Geerdes" <[email protected]> wrote: > Add site:mysite.com to your q param, as below: > > http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=test%20site:google > .com > > Jeremy R. Geerdes > Effective website design & development > Des Moines, IA > > For more information or a project quote: > http://jgeerdes.home.mchsi.com > [email protected] > > If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan > Church! > > On Feb 8, 2010, at 7:12 AM, sebastian de comocomo wrote: > >> Thanks Jeremy >> >> So, this is only to identify myself, >> >> Is it possible to resctrict CURL to only search in my site, or in one >> specific site? >> >> >> On 08/02/10 13:58, "Jeremy Geerdes" <[email protected] >> <x-msg://34/[email protected]> > wrote: >> >>> Looking at the code that you're providing, the only thing wrong that I can >>> see is that you're trying to set your HTTP_REFERER header to google.com >>> <http://google.com <http://google.com/> > . The referer header is supposed >>> to be the page that you're sending the request from or, at the very least, >>> your site so that, should the need arise, Google will be able to track you >>> down and contact you. >>> >>> Jeremy R. Geerdes >>> Effective website design & development >>> Des Moines, IA >>> >>> For more information or a project quote: >>> http://jgeerdes.home.mchsi.com <http://jgeerdes.home.mchsi.com/> >>> [email protected] <x-msg://34/[email protected]> >>> >>> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan >>> Church! >>> >>> On Feb 8, 2010, at 6:32 AM, Sebastian de comocomo wrote: >>> >>>> Hi >>>> >>>> I¹m trying to rectrict CURL search API to one site like this: >>>> >>>> $site = 'google.com'; ... >>>> curl_setopt($ch, CURLOPT_REFERER, 'http:// <http:/> <http:/> ' .$site); >>>> What am I don¹t wrong? >>>> >>>> Thanks >>>> Sebastian -- 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.
