PDA

View Full Version : Convert normal google links, to sitesearch links (adsense for search)


rob30UK
05-09-2006, 08:51 AM
Hiya,

I have a request for a plug that would I'm sure be a welcome challenge (hopefully)

Essentially, take all google search links (very popular in webmaster forums) across a forum and tranform them into adsense for search links.

Not being a coder of PHP, I cant really tackle this but know it would go down very well here as loads of forums are now using the adsense for search (login to my site (http://www.webforumz.com):- user:test pass:test and click the search link to access the google site search if you need a demo)

Essentially, we're talking about taking links in a forum such as:-
http://www.google.com/search?hl=en&q=flash+chat&btnG=Google+Search&meta=

and converting them to their equivelent:-
http://www.google.com/custom?domains=www.webforumz.com&q=flash+chat&sa=Search&sitesearch=www.webforumz.com&client=pub-7533040170429959&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23009966%3BGL%3A1%3BDIV%3A%23FFFFFF%3B VLC%3ADD6900%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3 A336699%3BALC%3A006699%3BLC%3A006699%3BT%3A000000% 3BGFNT%3ADD6900%3BGIMP%3ADD6900%3BFORID%3A1%3B&hl=en

This would be an amazing hack for anyone using the adsense for search program.

------------------------------
[EDIT] PLEASE DISREGARD THE ABOVE REQUEST. It is stated in google's FAQ that links to adsense for search results is not allowed.

Shame.

Please close / delete this thread.