Add a Search Box
If you have a large site, it is important to have a way for your visitors to search your site. Each of the DWT's already include the Bing search box as part of the layout. Please note that this is sample search box and will search the Migrating from FrontPage to Expression Web site. You will need to create your OWN Bing Search box.
Adding the Bing Search Box Code
NOTE: For example see search box on left side menu.
The search box powered by Bing provides a fast, customizable search solution for your website or blog. Visitors to your site can search the entire Web, just your site, or any sites that you choose.
You can add the Basic Search Box which displays results on the Bing website. The Basic Search Box searches a single site that you specify, or the entire Web.
You can choose to add the Advanced Bing Search which displays results on your site. The Advanced Search Box searches either the sites you specify or the entire web. The Advanced Search Box is the one used in the template package.
You can also add some customizations to the Search Box. The image pictured below will show the search results of a search for 'templates' of the Migration from FrontPage to Expression Web site.
Validating the Search Box Code
Validating the original code brings up 9 errors.
Line 19, Column 55: document type does not allow element "meta" here. Remove this line of code.
<meta name="Search.WLSearchBox" content="1.1, en-US" />
The next set of errors all have to do with replacing the ampersand & with the code for the ampersand & in just this line of your code
<script type="text/javascript" charset="utf-8" src="http://www.bing.com/bootstrap.js?market=en-US&ServId=SearchBox&ServId=SearchBoxWeb&Callback=WLSearchBoxScriptReady"></script>
DO NOT replace any of the other ampersands except those in the above line of code. Once you have done that, validate your page and it should pass.
NOTE: At the current time, Bing Search does NOT work with the Opera browser.
Other Search Engines
There are a number of other free search engines available. If you are using paid hosting, there may be one available through the host. The free ones I have used are listed below. Each is customizable to reflect the "look" of your site.
- FreeFind Here you sign up to "Add a search engine to your site." You will need to enter your page URL and your e-mail address.. Your password and setup instructions will be e-mailed to you. My Family Genealogy site uses FreeFind.
- PicoSearch Here you sign up for your search engine. You will need to set up all the requested information. You'll then see the web page from which you manage and customize the Picosearch tool for your website. I have used this in the past.
- Atomz Just fill in your email address and you will receive instructions via return email. The website for the Unitarian Universalist Fellowship of Harrisonburg Virginia uses Atomz as the search engine.
- Google Free
- siteLevel


