j  :� ht://Dig: Recognized META information in HTML documents � 0  

0 Recognized META information in HTML documents



W ht://Dig Copyright © 1995-2002 The ht://Dig Group
8 Please see the file COPYING for license information.




 Introduction



= As the ht://Dig system will index> all HTML pages on a system, individual authors of pages may6 want to control some of the aspects of the indexing? operation. To this end, ht://Dig will recognize some special; <META> tag attributes. The following things can be controlled in this manner:

 


 General <META> tag use



? In HTML, any number of <META> tags can be used between? the <HEAD> and </HEAD> tags of a document. There> are three possible attributes in this tag, two of which are recognized by ht://Dig:



 NAME

# Used to name a specific property.

CONTENT

0 Used to supply the value for a named property.



< A document could start with something like the following:

 <HTML>
 <HEAD>
: <META NAME="htdig-keywords" CONTENT="phone telephone' online electronic directory">
 <META NAME="htdig-email") CONTENT="pat.user@nowhere.net">
5 <TITLE>Some document title</TITLE>
 </HEAD>
 <BODY>
 Body of document
 </BODY>
 </HTML>



 Recognized properties



7 The following properties are recognized by ht://Dig:

 

< Detailed information about the htdig-email, ) htdig-notification-date, and : htdig-email-subject properties can be found in the= Email notification service document.



3 Descriptions of the properties and their values:



! htdig-keywords

= The value of this property should be a blank separated list4 of keywords which will get a very high weight when9 searching. This can be used to get around some problems5 with common synonyms for words in the document. For; example, if a document is a telephone directory, possible: keywords could be "telephone phone directory book list".; Now, regardless of what text is actually in the document,; it can be found if these keywords are used in the search.: The weight that words in the content string will have in% search results is controlled by the' 6 keywords_factor attribute in your configuration.

htdig-noindex

9 This property has no value associated with it. If it is: used, the document will NOT be included in any searches. Example uses of this could be: 

 htdig-email

7 The value is the email address a notification message= should be sent to. Multiple email addresses can be given by= separating them by commas. If no email address is given, no notification will be sent.
6 (Please check the Email< notification service documentation for more details on this.)

* htdig-notification-date

: The value is the date on or after which the notification8 should be sent. The format is simply month / day /A year, or if the iso_86010 attribute is set, year - month - day.1 Make sure that the year has the century with it7 as well. This means that you should use 1995 instead of 95.
= If no date is given, no notification will be sent. (Please: check the Email notification6 service documentation for more details on this.)

& htdig-email-subject

; The value specifies the subject the notification message.1 This is an optional property. (Please check the< Email notification service* documentation for more details on this.)

 robots

B The value specifies restrictions on robots (including ht://Dig)? for the current page. These restrictions can be "noindex" toA prevent indexing the document but allowing the robot to followC links from the page, "nofollow" to allow indexing but preventing2 links from being followed, or "none" to prevent? both. Additionally, ht://Dig supports the values "index" andC "follow" and "all" which obviously are the opposite of the other? values and are the default behavior. For more information on" META robots tags, check out theK 1 HTMLAuthor's Guide to the Robots META tag.

 keywords

= The value of this property should be a blank separated list7 of keywords, just as for the htdig-keywords property.9 They are treated as equivalent by htdig. The reason for8 two different properties is that the keywords property4 is used by other search engines as well, while the8 htdig-keywords property can be used for words you want9 indexed only by htdig. You can get htdig to treat other< property names as equivalent to htdig-keywords, or disable< the htdig-keywords or keywords properties, by changing the/ > keywords_meta_tag_names attribute in your configuration.

 description

7 The value allows you to specify an alternate excerpt8 (description) of a page. If the config-file attribute- < use_meta_description is used, then any documents with: descriptions will use them instead of the automatically generated excerpts.; The weight that words in the content string will have in& search results is controlled by the0 ? meta_description_factor attribute in your configuration.


+Last modified: $Date: 2002/01/27 05:33:20 $ ÿÿ