I've replaced the default search module on my site with Google Adsense Search which is part of the Adsense module (http://drupal.org/project/adsense).

Would it be possible to have Search 404 run a search using this instead?

Comments

dennys’s picture

Or maybe search 404 can support Google CSE? (http://drupal.org/project/google_cse) It's more configurable.

zyxware’s picture

Assigned: Unassigned » zyxware
Status: Active » Needs review

Hi taite11 / dennys

In the latest Dev Commit, there is a new option in the settings page of Search404 to redirect the normal 404 error to do a Google Search if the Google CSE Module is enabled.

Do check it out and let me know your thoughts on it. If things go fine, I can include this as a new feature in the next release.

Regards
Zyxware

dennys’s picture

Hi, I just download 1.6 and 1.x-dev (2009-Jun-15), but I didn't find this option. Do you mean CVS?

zyxware’s picture

Yes, CVS my mistake, It should be reflected in the latest dev soon

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/search404/s...

Regards
Zyxware

dennys’s picture

Ya! It works, great thanks!!

zyxware’s picture

Once you are done with the testing feel free to close the ticket or report back issues.

Regards
Zyxware

dennys’s picture

Version: 6.x-1.4 » 6.x-1.x-dev
Status: Needs review » Closed (fixed)

Although this issue is not created by me, but I think it could be closed now.
It works, no need to download the CVS. It's already in 6.x-1.x-dev now (search404.module's version is 1.15.2.11)

OneTwoTait’s picture

Status: Closed (fixed) » Active

Seems to me that integration with the Adsense module is more useful because the Google CSE module doesn't allow the use of adsense. My original idea was to get the targetted Google ads on pages that users land on along with the search results.

Michsk’s picture

I agree with taite11, i also would like to use adsense. CSE is great but adsense can make a bit of money with the same results.

zyxware’s picture

Let me see how search404 can be integrated with Adsense search

I will get back to you on this.

Regards
Santhosh Raju

zyxware’s picture

Status: Active » Postponed (maintainer needs more info)

When using adsense I see there are 2 search modules to be used with adsense "CSE Search" and "Search (old)", which do you think Search404 should handle?

Regards
Santhosh Raju

OneTwoTait’s picture

CSE Search

zyxware’s picture

Status: Postponed (maintainer needs more info) » Active

Thanks for the information let me look into how I can integrate this

Regards
Santhosh Raju

zyxware’s picture

Assigned: zyxware » Unassigned

Hey, did anybody try to get search404 working with adsense search? Does adsense search work like Google CSE? Pass keywords to a base_url?

zyxware’s picture

There is a discussion going on with the Adsense maintainer -#1235054: Integrating google Adsense Search with Search404.

anish_zyxware’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

Integration with ad sense module is a separate issue.