Re: prestore hook

[email protected] (Joshua N Pritikin) Wed, 18 May 2005 11:48:13 +0530
Newsgroups perl.kwiki
Message-ID <[email protected]>
On Mon, 2005-05-16 at 03:17 +0200, Carlos Escribano wrote: 
> El Lunes 16 Mayo 2005 02:53, Brian Ingerson escribió:
> > Why can't you just do a pre/page:store hook to grab the old content,

Where is the old content?

> > save it in memory, and then diff it with current content in a
> > post/page:store hook?

OK, maybe but

> Or use data from archive and compare it with the new content.

That's not a good solution because then I have to use some kind of
Kwiki::Archive::*.  I don't want to do that.  Any variant of
Kwiki::Archive::* is too slow and painful to install compared with the
Spoon patch I posted earlier which makes the whole thing trivial.

-- 
If you are an American then support http://fairtax.org
 (Permanently replace 50,000+ pages of tax law with about 200 pages.)
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBCit4lqcqnlKSmC70RAkm3AJ9YX/UswYgbiM6ONH0IiCoium8bvQCgxjXc
UM31i9NZ6kYMmc6DvwR3vec=
=IACN
-----END PGP SIGNATURE-----