|
|
Introduction
Daisy Diff is a Java library that diffs (compares) HTML files. It highlights added and removed words and annotates changes to the styling. (Examples)
This project was a Google Summer of Code project for DaisyCMS where it's actively used for diffing HTML content. Development of a stand-alone library is continued here.
Features
- Works with badly formed HTML that can be found "in the wild".
- The diffing is more specialized in HTML than XML tree differs. Changing part of a text node will not cause the entire node to be changed.
- In addition to the default visual diff, HTML source can be diffed coherently.
- Provides easy to understand descriptions of the changes.
- Allow easy browsing of the modifications through keyboard shortcuts.
Download
A stand-alone library is available in the download section. To embed Daisy Diff in your application you can checkout the SVN project.
Contact
Questions about Daisy Diff or HTML diffing can be sent to guyvdb@gmail.com.
