trying to optimize my google custom search engine

Discussion in 'Search Engine Optimization' started by cscott5288, Mar 31, 2008.

  1. #1
    Hey,

    on my page www.news-string.com im trying to add an option to search the whole web, as well as just the news. right now i have just the news (the couple of site specified by my google custom search engine) but i want to add a button to search the whole web for user convenience. i also plan on generating revenue by connecting my engine with adsense (yes you can do that now) so i am limited into how much i can change the original code google gives me for my website)

    my search engines code is:
    <!-- Google CSE code begins -->
    <form id="searchbox_007418534131034644095:d2hvpbl0arq" onsubmit="return false;">
      <input type="text" name="q" size="40"/>
      <input type="submit" value="Search"/>
    </form>
    <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_007418534131034644095%3Ad2hvpbl0arq&lang=en"></script>
    
    <div id="results_007418534131034644095:d2hvpbl0arq" style="display:none">
      <div class="cse-closeResults"> 
        <a>&times; close</a>
      </div>
      <div class="cse-resultsContainer"></div>
    </div>
    
    <style type="text/css">
    @import url(http://www.google.com/cse/api/overlay.css);
    </style>
    
    <script src="http://www.google.com/uds/api?file=uds.js&v=1.0&key=ABQIAAAANbN2rOh3W6RYLzfFN2rINRTmJKn3Cjwo75pDS7hbXCm16cICzxQTtcL9yuLptxHK1egMdEdLJCAliQ&hl=en" type="text/javascript"></script>
    <script src="http://www.google.com/cse/api/overlay.js"></script>
    <script type="text/javascript">
    function OnLoad() {
      new CSEOverlay("007418534131034644095:d2hvpbl0arq",
                     document.getElementById("searchbox_007418534131034644095:d2hvpbl0arq"),
                     document.getElementById("results_007418534131034644095:d2hvpbl0arq"));
    }
    GSearch.setOnLoadCallback(OnLoad);
    </script>
    <!-- Google CSE Code ends -->
    HTML:

    thanks for the help!
     
    cscott5288, Mar 31, 2008 IP
  2. cscott5288

    cscott5288 Active Member

    Messages:
    912
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    anyone? --------
     
    cscott5288, Mar 31, 2008 IP