[Features] [Installation]
[step 6(last step)] [Recommendations]
Features
o You may alter the search interface or create your own customized search
page
o You may alter the results page, add images, text, change colors
o Search using the Boolean operators AND and OR and NOT in the same search
o Group search terms using parentheses ( )
o Search for phrases
o Results page shows total records returned at the top of page
o Results returns 15 records per page
o Results shows what page user is on at top and links to the other pages at
bottom
o You can search on HTML, HTM and ASP file types.
o Only 7 steps from installation to have the site database completed!
The links to returned records are named by the Title of the page. If no title
is present, the file name will be used.
You have the option of adding a description to the page. This description is
not show by web browsers (view source will show it) by will be listed in the
returned results beneath the file Title. If you have a content rich site, this
allows the user to get a more detailed idea of the page other than the search
results.
The search can either be limited to one (1) folder or the entire site. Sub
folders and sub webs will searched.
The search initially places the web contents in an Access2000 database.
Folders that begin with an underscore "_" will not be included. If you
wish to hide files from the search, they must be places in a folder that begins
with "_".
SQL server can be used with minimal changes.
What you need:
The search files are ASP pages. You will need to be on an NT server.
** You do not have to use FrontPage in order to use this product **
Installation:
There are 2 folders, 3 files and 1 Access2000 database.
The two folders, MySearch and _filesystemtest both go in the web root.
The Access2000 database goes in the fpdb folder.
The three files, pagedresults.asp, pagedresults_all_show.asp
and searchform.htm go in the web
root.
1)
Just copy the 2 folders to your web root. If you are using FrontPage2000, I
would drag and drop them directly into your website. They can NOT be in another
folder.
For example, MySearch folder would be at www.yoursite.com/MySearch
2)
Copy the three files to the web
root.
Example: www.yoursite.com/pagedresults.asp
would be the address.
3)
Copy the Access2000 database to the "fpdb" folder provided by
FrontPage. If it does not exist, create a folder with the name "fpdb".
The Access2000 database has to be in a folder named fpdb.
4)
Using your browser, go to www.your_site.com/_filesystemtest/fsoAdmin8.asp
o leaving the field build site data blank will have you entire site searched
with the exception
that any folder beginning with the underscore "_" will not be
searched.
o only files that end in HTM, HTML or ASP will be searched
o subfolders and subwebs will also be searched
So, if you have a folder that you don't want people to search on, rename it
with the underscore starting the name. Example; if I don't want the folder
"Personal" being searched, I would rename it to "_Personal".
If you don't want certain files to be searched, you will need to place them
in a folder beginning with "_" or give them an ending other than HTM,
HTML or ASP.
Clicking the DB Check button will produce an error, as there is nothing in
the database yet.
5)
The page you come to after the initial website search is successful has the
total number of records you created listed at the top. You may click the back
link to go back and do over or you may click on the
DB Check button at the bottom. If you are currently satisfied, click on the DB
Check button.
6) Final step
This next page "pagedresults_all_show.asp" again shows the total
number of records created at the top.
There are 15 records per page. You also see how many pages of records you have
and which page you are on.
Using this page you are able to see at a glance which pages you have that do
not have titles <title>. Or they have broken titles (no ending title
</title>).
Title pages will list the title up to a length of 140 characters. If there is
no title, the file name will be shown enclosed in (). You can click the link to
go to the file.
This is NOT the file that the site search is directed to.
**This search database is not updated as things change on your site. If your
"searchable" content changes often, you will need to simply rebuild
the database. This was tested on a site with over 400 files. The database
building process (see step 5) took on average 2.8 seconds. It reduced the total
searchable records to 135. This was due to many files being behind a private
folder… starting with "_".
The site search is searchform.htm go to www.your_site.com/searchform.htm
to start searching or altering the search interface.
The site search results page is pagedresults.asp
Recommendations:
If you rebuild the search database often, it tends to build up clutter. As
databases usually do. You can Recalculate (compact) the database by
pressing the Recalculate button which is at the lower right on fsoAdmin8.asp.
You can also just delete the database and drag and drop the original
database sent with the product back to the fpdb folder. Now just run the
program.
Adding a description to a file:
Open the file. If you are using FrontPage you will want to click on the
HTML tab after you open the file.
Add the following AFTER your <TITLE> tags: <!--Desc:Type
your description here.-->
You description is between the <!--Desc: and -->
delimiters.
This will show up below the Title or filename of returned results.
To start, go to _filesystemtest/fsoAdmin.asp