for your own Web site. Please read this first
before you go ahead to build your own SiteSearch page.
But, it's simple --so I think, if you have some
knowledge in writing HTML documents.
the search field entry as <FORM></FORM> in the
<BODY></BODY> section of the HTML document:
.... which is explained within the source on
.... lines or parts with
.... prefix using : are
to modify for your use
.... (at your own risk),
.... the complete
source is to save as search.html
Search my pages:<BR>
<FONT FACE='Arial' SIZE=-1>Please enter term(s) below
<INPUT TYPE='text' SIZE=28 NAME='search_name'><BR>
<INPUT TYPE='button' VALUE='Find'
<INPUT TYPE='reset' VALUE='Clear'><BR>
this HTML code looks on the search page:
Search my pages:
when you click this Find button there, you'll see that no indexed
pages were found.
create by an ASCII-Editor your own index to every Web page with the following
pattern line by line:
at least, there must be a valid
of an indexed Web document. The URL could refer to any page on your site
or to any on the Web, i.e. to HTML document mysite.html, to image
pic.jpg or sound-file happybirthday.wav or video-file
holidays.avi on your site, or to any on the Web. All the keywords
and the title, and the URL of your indexed Web document must be enclosed
by single or double quotes (not mixed) and separated by commas like the pattern
one index in example:
I("sas-links.html","Links to SAS System");
I("what_sas.html","The SAS System,License,licence");
I("a.sas","Calculates Main Point,limited
... and so on line by line ...
If there are all Web pages indexed replace now the present index from the
file my_index.js with your
own and save it as my_index.js.
If you are using FRAMES on your Site and the page with the displayed results
differs from the search page with the search field entry, specify the frame
there (see variable: FrameName). The frame name is case sensitive. If you
don't use frames, you could ignore this step.
You have now 2 files:
for your search page.
Save both and check it local by loading search.html into the Web browser
and -if it's o.k., transfer both files to your Web directory at the Web server
from your ISP (your Web provider) check it there again and you are
The indexes of additional Web pages could be added within the index file
my_index.js at any time. Provide than the updated index file
my_index.js on your Web site; no more changes are necessary to use
the updated indexes on search.
Note, the filename of my_index.js must correspond with filename at
the statement <SCRIPT ...
SRC="fileame"></SCRIPT> at the top of