[Zope3-dev] Axe DTML Document
Lalo Martins
lalo@hackandroll.org
Tue, 18 Dec 2001 19:01:59 -0200
On Tue, Dec 18, 2001 at 01:44:14PM -0700, Jeffrey P Shell wrote:
> > - It would have History/diff capabilities perhaps like what DTML
> >objects
> >have now, maybe better.
>
> Diffing textual content is hard. Source code tends to be easier
> since it's line oriented. I would *love* to see a good diffing
> algorithm for content. It's a feature of Word that I especially
> like. I don't know if I'd expect this of Zope properly, but if
> there was a ChangeTracking component that could be replaced, I'd be
> happy.
Check out http://www.python.org/doc/2.2/lib/module-difflib.html
- and, this is probably already installed in your machine, and
*definitely* already installed in a machine running Zope3.
Lalo