Home | Internet | Web Development

A Custom Google Search on your own Site is a Powerful Tool

By: John V. W. Howe

As your website grows you need a tool to make it easier for your readers to search for information on the site.
A great solution for installing a search function on your site is available through Google. Google offers the ability to download a Google search box to your website to search the contents of the site. The results will be presented in the same format as the Google search engine results page.
Google offers two options for the search function.
If you go to Google Free at http://www.google.com/services/free.html you can register to get the HTML code that will put the Google search on your site. This requires that you fill in information that is requested and the site will be customized for you. You can then preview the results, and if it is what you want, you copy the HTML code that Google gives to you and paste it into your web page where you want the search box to appear. It is fairly easy to do.
If you have a logo, you can insert it in the input information and the logo will appear on the search engine results pages. Click the following link to see the Boomer eZine example http://www.boomer-ezine.com/Boomer_eZine_Search.htm. Once the search page loads, enter SBI in the search box and search. The results will be all of the times SBI appears on the Boomer eZine site. Notice the Boomer logo on the customized search engine results page.
The look of this results page is attractive, but you have no control over the Adwords adds that are placed on the right side of the page with the results of the search. Ads for your competitor will appear on the results page and this may be unacceptable to you.
The other option is to use Google Adsense for Search. This allows you to create a customized Google search for your website. This option has filters that you can set to exclude certain websites from being included in the Adsense ads on your site. The other benefit is if someone clicks on an Adsense ad, and purchases an item, you get a fee for the transaction.
If you want to sign up for Google Adsense, go to https://www.google.com/adsense. Click the “Click here to apply button”
When you log on the Google Adsense site, you can choose to use Google Web search or Google Web search + Site Search. Select the Google Web search + Site Search.
On the page where you specify the options for the search function, enter the URL for your site and the other required information. You will be given the chance to review what it will look like and you can change parameters until you are satisfied.
At the bottom of the page, there are three options for how the search results are displayed.
• Open results on Google in the same window • Open results on Google in a new window • Open results within your own site
The last option is probably the best for you. This will place the search results on a page in your site with your own header and footer. It holds the reader on your site. Option one keeps them on your site, but they do not get that impression since all they see is a Google page. Option two opens a new window and sends them to Google. You might lose them at that point.
Option three requires that you specify a web page for the search results, but that is easy if you specify the same page the search box is on. If you put the search input box and the search results below the search box, your page will function like Google.
On the next Adsense page you specify the color scheme for your ads, the country for the search, if you want to use Safe Search (keeps porn from coming up on the web search), and if you want to use a tracking channel. I recommend that you use channels for each different use of Adsense so you can see where your revenue is coming from.
On the next Adsense page, you will get two sets of HTML code. One set goes on the page at the location where you want the search box. The other code goes on the location on the page where the search results will be placed. Copy the HTML from the Google site and paste it into the proper location on your web page. View your page and see how it looks. The search box may be left justified and you may want it in the center of the page. If so, use the HTML center tags to center the search box and the frame on the page. (

Center tags are <center> and the closing center tag is </center> </XMP. Remember that the XMP tags tell the browser to ignore any HTML between the tags and treat it as text.)<br /> The code for the search box begins and ends with the comment <!-- SiteSearch Google -->. After you have pasted the code into your page, insert the center tags just before and just after the beginning and ending Google comments.<br /> The code for the search results location begins and ends with <!-- Google Search Result Snippet Begins --> and ends with <!-- Google Search Result Snippet Ends -->. Put the center tags before and after these comments.<br /> Upload your page to your site and put it to work for you. To see an example of the final results for a Google Adsense for search installation, go to the Boomer eZine website (see link below) and click Site Search on the navigation bar on the left. This will take you to the search page. Enter SBI as the search term and click the search button. The results will be displayed under the search box along with the Adsense ads at the top and bottom of the search results.<br /> This is a handy tool to install on your site. It enhances your website. It does not cost anything and you can make money with it if someone clicks on an Adsense ad on the search results page. A real win, win deal!<br /> Good luck in the future</p> <p class=""articletext"><a href="http://www.exclusive-article.com">Article Source</a>: http://www.exclusive-article.com</p> <p class="articletext"></p> <p class="articletext">John V. W. Howe is an entrepreneur, author, inventor, patent holder, husband, father, and grandfather. He has been involved in entrepreneurial activities for over 40 years. He has founded <a href="http://www.boomer-ezine.com" target="_blank">www.boomer-ezine.com</a>, <a href="http://www.retirement-jobs-online.com" target="_blank">www.retirement-jobs-online.com</a> and <a href="http://www.boomer-entrepreneur.com" target="_blank"> www.boomer-entrepreneur.com</a> to help Boomers (baby boomers) become entrepreneurs when they retire.</p> <p class="articletitle">Please Rate this Article</p> <p align="center"> <select size="1" name="f_rate" style="font-family: Verdana; font-size: 11px; color: #333333; border: 1px solid #C0C0C0"><option value="5">5 out of 5</option><option value="4">4 out of 5</option><option value="3">3 out of 5</option><option value="2">2 out of 5</option><option value="1">1 out of 5</option></select>&nbsp; <input type="submit" value="Rate" name="rate" onclick="ratearticle(this.form);" style="color: #333333; font-family: verdana; font-size: 11px; border: 1px solid #C0C0C0"> <input type="hidden" name="id" value="15642"> <input type="hidden" name="act" value=""> <script language="javascript"> function ratearticle(s){ s.act.value="rate"; s.submit; } </script> </p> <p align="center">Not yet Rated</p> <div align="center"> <img border="0" src="http://www.exclusive-article.com/images/xml.gif" width="29" height="19" onclick="javascript:producexml('15642')"> </div> <input type=hidden name=baseurl value="http://www.exclusive-article.com/rss/Web-Development/107"> <script language="javascript"> function producexml(id){ var a= document.article.baseurl.value; prompt ('Copy the RSS Feeder Link',a); } </script> <div align="center"> <div class="bluerss">Click the XML Icon Above to Receive Web Development Articles Via RSS!</div></div> <div class="morearticles">Additional Articles From - <a href=http://www.exclusive-article.com>Home</a> | <a href=http://www.exclusive-article.com/Category/Internet/53>Internet</a> | <a href=http://www.exclusive-article.com/Category/Web-Development/107>Web Development</a></div> <div align="left"><ul><li><a href="http://www.exclusive-article.com/Article/Freelance-Services-and-Outsource/47197">Freelance Services and Outsource</a>&nbsp;<i>- By : <a href=http://www.exclusive-article.com/profile/Sajjad/7393>Sajjad</a></i><br><li><a href="http://www.exclusive-article.com/Article/Website-design-and-search-engine-optimisation/44013">Website design and search engine optimisation</a>&nbsp;<i>- By : <a href=http://www.exclusive-article.com/profile/lawrence22-howlett22/6549>lawrence22 howlett22</a></i><br><li><a href="http://www.exclusive-article.com/Article/Search-Engine-Optimization-is-a-Continuous-Process/42831">Search Engine Optimization is a Continuous Process</a>&nbsp;<i>- By : <a href=http://www.exclusive-article.com/profile/Mindgenies-the-e-magicians/3182>Mindgenies the e-magicians</a></i><br><li><a href="http://www.exclusive-article.com/Article/Seo-company-Delhi---Seo-company-India---Web-designers-India/41025">Seo company Delhi | Seo company India | Web designers India</a>&nbsp;<i>- By : <a href=http://www.exclusive-article.com/profile/Brick-Blue/4872>Brick Blue</a></i><br><li><a href="http://www.exclusive-article.com/Article/Javascript-menus--a-couple-easy-steps-towards-better-webpage-organization/38903">Javascript menus: a couple easy steps towards better webpage organization</a>&nbsp;<i>- By : <a href=http://www.exclusive-article.com/profile/Jeffrey-Royer/3810>Jeffrey Royer</a></i><br><li><a href="http://www.exclusive-article.com/Article/The-Evolution-of-a-Search-Engine-Marketing-Company/35697">The Evolution of a Search Engine Marketing Company</a>&nbsp;<i>- By : <a href=http://www.exclusive-article.com/profile/Brick-Blue/4872>Brick Blue</a></i><br><li><a href="http://www.exclusive-article.com/Article/Logo-design-essentails/32049">Logo design essentails</a>&nbsp;<i>- By : <a href=http://www.exclusive-article.com/profile/Santiago-Martinez/4155>Santiago Martinez</a></i><br><li><a href="http://www.exclusive-article.com/Article/High-Google-Ranking-SEO--Why-it-is-Important/31320">High Google Ranking SEO, Why it is Important</a>&nbsp;<i>- By : <a href=http://www.exclusive-article.com/profile/Gregg-Kell/3932>Gregg Kell</a></i><br><li><a href="http://www.exclusive-article.com/Article/Benefits-of-Free-Website-Templates/31216">Benefits of Free Website Templates</a>&nbsp;<i>- By : <a href=http://www.exclusive-article.com/profile/David-Libert/3797>David Libert</a></i><br><li><a href="http://www.exclusive-article.com/Article/Free-Website-Templates/30995">Free Website Templates</a>&nbsp;<i>- By : <a href=http://www.exclusive-article.com/profile/David-Libert/3797>David Libert</a></i><br> </ul> </div> </form> </td> <!-- End of Main Content --> <td class="navcell"> <!-- Starting of Navigator --> <div class="rightnavbox"> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/"><b> Home </b></a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/signup.php">Sign Up- <font color="#C60000">Free Account!</font></a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/submitguidelines.php">Submission Guidelines</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/submitarticles.php">Submit Articles</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/learnmore.php">Why Submit?</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/login.php">Member Login</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/admin">Staff Only</a><br /> </div><br /> <div class="spacer"></div> <TABLE cellSpacing=0 cellPadding=10 width="100%" border=0 id="table19"> <TBODY> <TR> <TD class=rightnavbox style="text-decoration: none"> <div align="center"> <table border="0" cellpadding="3" cellspacing="0" width="100%" id="table20"> <tr> <td width="15%"> <a href="http://www.exclusive-article.com/article.php?id=15642&act=print" target=_blank> <img border="0" src="http://www.exclusive-article.com/images/printer.gif" width="16" height="16" align="left"></a></td> <td width="85%"> <a href="http://www.exclusive-article.com/article.php?id=15642&act=print" target=_blank> <span style="font-size: 11px">Print This Article</span></a> </td> </tr> <tr> <td width="30"> <a href="http://www.exclusive-article.com/comment.php?id=15642"> <img border="0" src="http://www.exclusive-article.com/images/notepad.gif" width="16" height="16" align="left"> </a> </td> <td><span style="font-size: 11px"> <a href="http://www.exclusive-article.com/comment.php?id=15642"> Post Comment</a> </span></td> </tr> <tr> <td width="30"> <a href="#" onclick='window.external.AddFavorite(location.href,document.title);'> <img border="0" src="http://www.exclusive-article.com/images/folder.gif" width="16" height="16" align="left"> </a></td> <td> <a href="#" onclick='window.external.AddFavorite(location.href,document.title);'> <span style="font-size: 11px">Add To Favorites</span> </a> </td> </tr> <tr> <td width="30"> <a href="http://www.exclusive-article.com/emailfriend.php?id=15642"> <img border="0" src="http://www.exclusive-article.com/images/mail.gif" width="16" height="16" align="left"> </a> </td> <td> <a href="http://www.exclusive-article.com/emailfriend.php?id=15642"> <span style="font-size: 11px">Email to Friends</span> </a> </td> </tr> <tr> <td width="30"> <a href="http://www.exclusive-article.com/ezineready.php?id=15642"> <img border="0" src="http://www.exclusive-article.com/images/checkscreen.gif" width="16" height="16" align="left"> </a> </td> <td> <a href="http://www.exclusive-article.com/ezineready.php?id=15642"> <span style="font-size: 11px">Ezine Ready</span></a></td> </tr> </table> </div> </TD></TR></TBODY></TABLE> <div class="spacer"></div> <div class="spacer"></div> <div class="rightnavbox"> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/topauthors.php">Top Authors</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/><a href="http://jocuribarbie.play-super-games.com"><font color="#FFFFFF">i</font></a> <a href="http://www.exclusive-article.com/populararticles.php">Most Popular Articles</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/terms.php">Terms of Service</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/ezinenotify.php">Ezine Notifications</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/rssfeed.php">Article RSS Feeds</a><br /> <script type="text/javascript"><!-- google_ad_client = "pub-5966146764407422"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_url = "008000"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> <div class="spacer"></div> <div class="rightnavbox"> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/sitemap.php">Site Map</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/newstuff.php">New Stuff</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/aboutus.php">About Us</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/linkus.php">Link to Us</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/resources/partners.html">Internet Partners</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/contacts.php">Contact Us</a><br /> <img src="http://www.exclusive-article.com/images/orange_arrow.gif" width="14" height="11" alt="bullet"/> <a href="http://www.exclusive-article.com/privacy.php">Privacy Policy</a><br /> </div> </td> <!-- End of Navigator --> </tr> </table> <div id="foot"> © 2006 <a href="http://www.exclusive-article.com/">Exclusive-Articles.com</a> All rights protected. <a href="http://www.adinstall.com/">Article Directory Installation</a><br/ > Use of our free service is protected by our <a href="http://www.exclusive-article.com/privacy.php"> Privacy Policy</a> and <a href="http://www.exclusive-article.com/terms.php">Terms of Service</a> <br/ ><br/ > </div> <A HREF="http://www.eliasg.com/"> <img src="http://www.eliasg.com/button1.gif" alt="Prosperity Automated System (PAS) - Internet Marketing Revolution" width="88" height="31" border="0"> </A> </div> <p align="center"><font face="Verdana" size="1">Powered by <a href="http://www.articledashboard.com">Article Dashboard</a></p> </body> </html>