HTML Diff is a simple Python program that uses Python's difflib to highlight changes in HTML documents (specifically it doesn't break up HTML tags, does a word-by-word highlight, and outputs changes in HTML). HTML Diff is available for use in your own application. It's used in:
- NetNewsWire, to highlight changed news stories
- Dive into accountability (used for Winer Watcher), to highlight weblog revisions
Source code: diff.py
Web Interface
(example)
Revision History
latest: see GitHub
2003-11-02: 0.21 released. Added command-line support.
2003-08-23: 0.2 released. Factored out CGI, style. Added classes to the inserted tags. No longer muck up spacing. Pruned unused functions.
??: Fixed typo bug. (tx Mark Pilgrim)
2002-05-08: 0.1 released. Initial version.