Needs work
Project:
Google Custom Search Engine Advanced
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2010 at 16:20 UTC
Updated:
15 Sep 2010 at 17:22 UTC
We have a search engine which searches four different domains, but we want to be able to limit searches to a specific domain on some sites. This patch adds a configuration setting to allow the search to be limited to a specific domain.
For example, if your search engine supports example.com, example.org and example.net, entering "example.com" for this setting will cause only results from that domain to be returned.
| Comment | File | Size | Author |
|---|---|---|---|
| google_cse_adv.domain.patch | 1010 bytes | Rob Knight |
Comments
Comment #1
meba commentedThe patch is easy but I am not sure if it belongs here. If we do this, I believe we should somehow support Domain Access module. What do you think about that?
In the meantime, if you really need this, you can implement it using a hook_google_cse_adv_execute()