| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<title> |
| 5 |
ht://Dig: Email notification service |
| 6 |
</title> |
| 7 |
</head> |
| 8 |
<body bgcolor="#eef7ff"> |
| 9 |
<h1> |
| 10 |
<img alt="ht://Dig" src="htdig.gif" align="bottom" width=81 height=54> Email |
| 11 |
notification service |
| 12 |
</h1> |
| 13 |
<p> |
| 14 |
ht://Dig Copyright © 1995-2004 <a href="THANKS.html">The ht://Dig Group</a><br> |
| 15 |
Please see the file <a href="COPYING">COPYING</a> for |
| 16 |
license information. |
| 17 |
</p> |
| 18 |
<hr size="4" noshade> |
| 19 |
<h2> |
| 20 |
Introduction |
| 21 |
</h2> |
| 22 |
<p> |
| 23 |
As any HTML author knows, information is only useful if it is |
| 24 |
valid. Unfortunately, a lot of information has an inherent |
| 25 |
expiration date. Things like meeting schedules, announcements |
| 26 |
of upcoming events, and pages with those annoying yellow |
| 27 |
'NEW' images by certain links. |
| 28 |
</p> |
| 29 |
<p> |
| 30 |
<a href="index.html">ht://Dig</a> is a WWW index/search |
| 31 |
system developed at <a href="http://www.sdsu.edu/">San Diego |
| 32 |
State University</a>. Since this index system already scans |
| 33 |
all HTML documents, it was the logical choice to incorporate |
| 34 |
a reminder service into it. |
| 35 |
</p> |
| 36 |
<p> |
| 37 |
ht://Dig can be told to remind you about an HTML page |
| 38 |
sometime in the future. The reminder/notification will come |
| 39 |
by email and will contain the URL to the page plus some other |
| 40 |
information. |
| 41 |
</p> |
| 42 |
<hr> |
| 43 |
<h2> |
| 44 |
Use |
| 45 |
</h2> |
| 46 |
<p> |
| 47 |
ht://Dig detects special use of the <META> tag in HTML |
| 48 |
documents. The <META> tags should go between |
| 49 |
<HEAD> and </HEAD> of an HTML document. |
| 50 |
</p> |
| 51 |
<p> |
| 52 |
Example: |
| 53 |
</p> |
| 54 |
<blockquote> |
| 55 |
<HTML><br> |
| 56 |
<HEAD><br> |
| 57 |
<META NAME="htdig-email" |
| 58 |
CONTENT="[email protected]"><br> |
| 59 |
<META NAME="htdig-email-subject" CONTENT="Reminder to |
| 60 |
update a page"><br> |
| 61 |
<META NAME="htdig-notification-date" |
| 62 |
CONTENT="8/28/1995"><br> |
| 63 |
<TITLE>Someone's homepage.</TITLE><br> |
| 64 |
</HEAD><br> |
| 65 |
<BODY><br> |
| 66 |
<blockquote> |
| 67 |
<em>Body of document</em> |
| 68 |
</blockquote> |
| 69 |
</BODY><br> |
| 70 |
</HTML> |
| 71 |
</blockquote> |
| 72 |
<p> |
| 73 |
After 8/28/1995 [email protected] will get a mail message |
| 74 |
which will look something like this: |
| 75 |
</p> |
| 76 |
<blockquote> |
| 77 |
<strong>From:</strong> ht://Dig email notification service<br> |
| 78 |
<strong>Subject:</strong> WWW notification: Reminder to |
| 79 |
update a page<br> |
| 80 |
<strong>To:</strong> [email protected]<br> |
| 81 |
<br> |
| 82 |
The following page was tagged to notify you after 8/28/1995.<br> |
| 83 |
<br> |
| 84 |
URL: http://www.sdsu.edu/~turtle/index.html<br> |
| 85 |
Date: 8/28/1995<br> |
| 86 |
Subject: Reminder to update a page<br> |
| 87 |
</blockquote> |
| 88 |
<hr> |
| 89 |
<h2> |
| 90 |
Attributes |
| 91 |
</h2> |
| 92 |
<p> |
| 93 |
The special ht://Dig <META> tag attributes related to |
| 94 |
notification are: |
| 95 |
</p> |
| 96 |
<ul> |
| 97 |
<li> |
| 98 |
NAME="htdig-email" CONTENT="<em>email address [, email |
| 99 |
address] ...</em>" |
| 100 |
</li> |
| 101 |
<li> |
| 102 |
NAME="htdig-notification-date" CONTENT="<em>earliest |
| 103 |
notification date</em>" |
| 104 |
</li> |
| 105 |
<li> |
| 106 |
NAME="htdig-email-subject" CONTENT="<em>notification message |
| 107 |
subject</em>" |
| 108 |
</li> |
| 109 |
</ul> |
| 110 |
<p> |
| 111 |
Descriptions of the values for the attributes: |
| 112 |
</p> |
| 113 |
<dl> |
| 114 |
<dt> |
| 115 |
<strong>htdig-email</strong> |
| 116 |
</dt> |
| 117 |
<dd> |
| 118 |
This is the email address the notification message should |
| 119 |
be sent to. Multiple email addresses can be given by |
| 120 |
separating them by commas. If no email address is given, no |
| 121 |
notification will be sent. |
| 122 |
</dd> |
| 123 |
<dt> |
| 124 |
<strong>htdig-notification-date</strong> |
| 125 |
</dt> |
| 126 |
<dd> |
| 127 |
This is the date on or after which the notification should |
| 128 |
be sent. The format is simply <em>month / day / year</em>, |
| 129 |
or if the <a href="attrs.html#iso_8601">iso_8601</a> |
| 130 |
attribute is set, <em>year - month - day</em>. |
| 131 |
Make sure that the year has the century with it as well. |
| 132 |
This means that you should use <em>1995</em> instead of |
| 133 |
<em>95</em>.<br> |
| 134 |
The format of dates is actually a little more flexible than |
| 135 |
this. Any punctuation or white space can be used as separators, |
| 136 |
and if the year, month and date do not appear as expected in the |
| 137 |
order listed above, the notification service will try to make |
| 138 |
sense of the order used, if the date can be resolved unambiguously |
| 139 |
in another order. Using four-digit years avoids ambiguity between |
| 140 |
the year and the month or day. The format <em>year - month - |
| 141 |
day</em> is accepted without ambiguity when a four-digit year is |
| 142 |
used, whether the iso_8601 attribute is set or not. When the |
| 143 |
year is given after the month and day, the format is either |
| 144 |
<em>day - month - year</em>, if iso_8601 is true and the year |
| 145 |
has four digits, or <em>month - day - year</em> otherwise.<br> |
| 146 |
If no date is given, no notification will be sent. If a date is |
| 147 |
given but is malformed, a notification of this error will be sent. |
| 148 |
For correct dates, a notification will be sent every time the |
| 149 |
system runs the notification service, on or after the date given. |
| 150 |
To end the notifications, you must update or remove the |
| 151 |
notification date in the document. |
| 152 |
</dd> |
| 153 |
<dt> |
| 154 |
<strong>htdig-email-subject</strong> |
| 155 |
</dt> |
| 156 |
<dd> |
| 157 |
This specifies the subject the notification message. This |
| 158 |
is an optional attribute. Note that if you want to put |
| 159 |
spaces in the subject, you <strong>have</strong> to put |
| 160 |
double quotes (") around it. |
| 161 |
</dd> |
| 162 |
</dl> |
| 163 |
<p> |
| 164 |
There are a couple of other META attributes which are |
| 165 |
recognized. These can be found in the more general |
| 166 |
<a href="meta.html">ht://Dig META tag documentation</a>. |
| 167 |
</p> |
| 168 |
<hr> |
| 169 |
<h2> |
| 170 |
Disclaimer |
| 171 |
</h2> |
| 172 |
<p> |
| 173 |
This service is a free service for all HTML maintainers whose |
| 174 |
documents are covered by the ht://Dig search system. If any |
| 175 |
of the attributes are improperly formatted, no notifications |
| 176 |
will be mailed. Email notification may not always occur on |
| 177 |
the date that you specified. We can only guarantee a |
| 178 |
notification of at most once a week. |
| 179 |
</p> |
| 180 |
<hr size="4" noshade> |
| 181 |
|
| 182 |
Last modified: $Date: 2004/05/28 13:15:19 $ |
| 183 |
|
| 184 |
</body> |
| 185 |
</html> |