Thanks Adam for pointing out that documentation.

BTW, I forgot to mention another known way to obtain "web search"
results from a CSE -- by prefixing an exclamation mark on the CX
value.

For example with the CS API we specify a CX value in the request: *

   ...cx=012345678901234567890:abcdefghijk...

"Web search" results can be obtained by adding a '!' prefix:

   ...cx=!012345678901234567890:abcdefghijk...

... or with '!' encoded as %21

   ...cx=%21012345678901234567890:abcdefghijk...

* (Note:  The CX value shown here is obviously a fake example; a real
and valid CX value must be used.)

I don't recall finding any official documentation on that feature --
but IIRC it was first mentioned in early 2007 by a user in an old CS
discussion group.  (Users were able to discover the feature because
the '!' CX prefix was visible in URLs produced by the "Web Search"
radio-button option provided on Google-hosted CSE results pages.)

If that feature is supported for general use, but not yet documented
-- would Google consider documenting it?

Thanks

-- omr

-- 
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.

Reply via email to