Add sites to search via Drupal

vacilando - June 26, 2008 - 13:37
Project:Google Custom Search Engine
Version:5.x-1.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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?

#1

mfb - June 26, 2008 - 17:52

Yes but I probably won't be coding this myself any time soon. Patches are welcome.

#2

peggys mouse - October 23, 2008 - 18:00

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.

 
 

Drupal is a registered trademark of Dries Buytaert.