Posted by Vacilando on June 26, 2008 at 1:37pm
Jump to:
| Project: | Google Custom Search Engine |
| Version: | 5.x-1.5 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Is there a way - or is that possible at all (GCSE API?) - to change the list of sites to search in a given Google CSE engine from within Drupal? E.g. in the settings page for the given engine, or even using results generated by views?
Comments
#1
Yes but I probably won't be coding this myself any time soon. Patches are welcome.
#2
a workaround that i used at http://looktotheleft.org/ :
1) create a cck type "sites" which contained the link to the site
2) create a view of those links
3) add the view page to your GCSE
4) the GCSE settings for that page should be: "Dynamically extract links from this page and add them to my search engine" and then "Include all sites this page links to"
This has the added advantage of letting users suggest sites.