Hi people.
I think I have fixed the trouble I previously explained about the iso-8601
format date for htnotify (Gilles was right when he said about '-').
I have introduced a function called parse_date() that scans the date string
and return the year, the month and the day. I have set it to allow these
tokens for the date:
/ - . and space too
So I could write (with iso-8601 option set):
<META NAME="htdig-notification-date" CONTENT="1999-02-10">
or
<META NAME="htdig-notification-date" CONTENT="1999 02 10">
and so on ...
I made some tests. I include the htnotify.cc source (zipped). Please try it.
It also notify (if verbose is set) every document found with an
htdig-notication meta specified. And also send a notification message for
malformed date parameters.
I'm gonna make further changes (for example I want to add the possibility
to specify the month by string: April, Apr, etc ...).
I'm very proud to have contributed to htdig, even if in a very very very
little part.
Sorry for my english, but I'm very happy too.
CIAO to Everyone
Gabriele
htnotify.zip
----------------------------------------------------------
U.O. Rete Civica - Comune di Prato
Via Ricasoli, 4 - 59100 Prato PO Italia
Tel. +39 0574616342 Fax +39 0574616003
http://www.comune.prato.it
E-Mail: [EMAIL PROTECTED]
----------------------------------------------------------