Search Engine Tricks

  Homes arrow Search Engine Tricks arrow Page 3 - Make it Searchable
 Webmaster Tools
Base64 Encoding 
Browser Settings 
CSS Coder 
CSS Navigation Menu 
Datetime Converter 
DHTML Tooltip 
Dig Utility 
DNS Utility 
Dropdown Menu 
Fetch Content 
Fetch Header 
Floating Layer 
htaccess Generator 
HTML Encoder 
HTML Entities 
IP Convert 
Meta Tags 
Password Encryption
Password Strength
Pattern Extractor 
Ping Utility 
Pop-Up Window 
Regex Extractor 
Regex Match 
Scrollbar Color 
Source Viewer 
Syntax Highlighting 
URL Encoding 
Web Safe Colors 
Forums Sitemap 
Weekly Newsletter
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Contact Us 
Site Map 
Privacy Policy 
  >>> SIGN UP!  
  Lost Password? 

Make it Searchable
By: KC Morgan
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1

    Table of Contents:
  • Make it Searchable
  • Free Scripts
  • Go It Alone
  • Is It Worth It?

  • Rate this Article: Poor Best 
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article




    Make it Searchable - Go It Alone

    (Page 3 of 4 )

    There is more than one way to make it searchable and make your site easier for traffic to navigate. You may find the answer through Web hosting services offering easy-to-use online tools. You could turn to friendly Web sites with free scripts you can conveniently place right in your online HTML editor. But if none of this sounds at all appealing to you, thereís another option you can take advantage of, though it may be the most difficult choice of the three: simply write the code yourself.

    It helps if you take classes and read books to learn HTML, JavaScript and Perl before you create a site, but itís not necessary for you to do so to offer up well-designed pages or even something so simple as a search bar. You donít have to be a professional page designer to include search bars to pages. But when it comes to writing the actual code, youíll find that search bars arenít so simple after all. Once you learn how to create a search bar for your site, youíll always be able to change any page to include this feature.

    First things first. You have to create a special page in order to implement your search. Begin a new HTML document and name it sitesearch.html. In the body portion of this page, youíll write the code which will enable search on the site. Play with the size and placement of your search bar as much as you like, but some parts of the code must remain the same for search to work.

    The code for a search bar looks like something like this:

    <SCRIPT LANGUAGE="JavaScript">

    <!-- Begin var test="a";

    var find='index.html~ page name | keywords *'

    +'page2.html~ page 2 name | keywords *'

    // End -->


    <FRAMESET ROWS="*,150">

    <FRAME SRC="sitesearch-main.html" SCROLLING="yes" NAME="main">

    <FRAME SRC="sitesearch-display.html" SCROLLING="no" NAME="results">


    Note the various characters used in the script; these are not mistakes, but part of the code. Where it says page name and page name 2, youíll put in the actual names of the pages you want to include in your siteĎs search. Youíll also want to type in the keywords for your site. Make sure to separate the keywords you enter with a space for each word. Keep repeating the same code for all the pages you want to include in your siteís search. If you have many pages to include in the search, writing the code itself could take a great deal of time and consideration.

    More Search Engine Tricks Articles
    More By KC Morgan



    - Time for Your Site`s SEO Tune-up?
    - The Basic Parts of an SEO Campaign
    - Dynamic Content Still Challenging for Search...
    - Google`s Panda Update at One Year Old
    - Why Links Don`t Count Instantly
    - Check Your Code for SEO Issues
    - To Be an SEO, Start With What You Know
    - Don`t Worry About Bad Inbound Links
    - Guard Your Google Places Listing
    - Overlooked SEO Tricks
    - A Simple Long Tail Keyword Strategy
    - Writing for the Long Tail
    - Choosing and Using Keywords
    - Seven More SEO Myths That Can Hurt Your Sit...
    - Google Tips and Tricks

    Developer Shed Affiliates


    © 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap