Recognized META information in HTML documents
ht://Dig © 1995, 1996, 1997 Andrew Scherpbier <andrew@contigo.com>
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 may 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
- 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">
<TITLE>Some document title</TITLE>
</HEAD>
<BODY>
Body of document
</BODY></HTML>
Recognized properties
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.
Descriptions of the properties and their values:
- htdig-keywords
-
The value of this property should be a blank separated list of
keywords which will get a very high weight when searching. This
can be used to get around some problems 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.
- htdig-noindex
-
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
-
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.
(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 notification should be sent.
The format is simply month / day / year. Make sure that
the year has the century with it 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 notification
service documentation for more details on this.)
- htdig-email-subject
-
The value specifies the subject the notification message.
This is an optional property.
(Please check the Email notification
service documentation for more details on this.)
Andrew Scherpbier <andrew@contigo.com>
Last modified: Sat Dec 14 19:06:18 PST