Problems with Google Adsense Search with DNN 

I have recently been notified of an issue when trying to use Google AdSense Search within a DotNetNuke site when using the instructions I provided earlier to convert the form submission into a javascript call that changes the page's submission URL.  It appears that Google AdSense Search requires the values to be passed via an HTTP Get rather than an HTTP post and they validate the requests specifically on the number and names of the passed parameters.  What does this mean?  Well it means if you have ANY modules on your page that output HTML form data (Inputs, Selects, etc..) that you will NOT be able to use the search on those pages as they will be sending those elements to the service and you will receive a "Bad Request" error message.

As of right now I know of only 1 way around this issue and that is to place the AdSense search information inside a HTML file and reference it in your DotNetNuke application via an IFrame.  This method has not been heavily tested but I know it will work, there may be performance and other implications to using this method, but it is an option.

If anyone has any other workarounds for this issue please feel free to share it below!

Posted by Mitchel on Sunday, April 22, 2007
 

Comments

Currently, there are no comments. Be the first to post one!
Click here to post a comment

Donate

Show your appreciation for the content/modules made available by MitchelSellers.com by making a donation. Donations are used to assist with dedicating time to creating free content.