in reply to web page update notifier


You could use a md5 hash to check if the file has
modified or not. It is much more accurate and safe than
only using a diff. In addition, using the MD5 hash will
make the storage for the file much smaller..

*someone said to use "HEAD", to check the last modified
date. This value is not safe/trustworthy.

[]'s

-DBC

Replies are listed 'Best First'.
Re^2: web page update notifier
by Juerd (Abbot) on Jul 12, 2004 at 10:54 UTC

    It is much more accurate and safe than only using a diff.

    Accuracy is irrelevant for text documents. Either a line is the same, or it is not. Besides that, I'm especially interested in *which* lines are different, and how they changed. diff tells me exactly that.

    the last modified date. This value is not safe/trustworthy.

    It has proven to be worthy of my trust.

    Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }