|
To access the contents, click the chapter and section titles.
Platinum Edition Using HTML 4, XML, and Java 1.2
Controlling Items to Index An important feature of any search engine is the capability to determine which files on your site to include in a search. If your site is like many, various directories are either password-protected or developmental in nature and not linked to the main pages. Certainly you dont want files from these directories to turn up when users search your site. Two approaches generally are used to control what material is indexed by the search engine. Either you specify all the directories you want to search, or you specify only those directories you want to exclude from searches. This latter approach usually results in less maintenance for the Webmaster. An even easier method is for the indexing engine to automatically skip directories protected with an access control file, such as the .htaccess file used by the NCSA Web server. This way you dont have to remember to include or exclude new directories as they are added to your site. As mentioned in the section Using Keywords and Descriptions in HTML META Tags earlier in this chapter, some indexing search engines enable you to use the <META> tag to control how a page is indexed. Using this tag, you place a page description and keywords in the heading of your documents. The search engine then gives this information special treatment when it performs its index. Evaluating Search Engine Security ConcernsYou must think about two main security concerns when implementing a search facility on your site:
|
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement. |