I am looking for a tool to display/track changes in text a little bit like it is done on stackoverflow when a question is edited. Does anybody know of a tool to achieve that?
+2
A:
You may want to use diff for that.
If you can use PHP on your server there's a handy pear package to perform the task you require. Here's an example :
http://articles.techrepublic.com.com/5100-10878_11-6174867.html
There's actually a actually Javascript implementations outhere as well, not tested though:
Theo.T
2009-03-04 02:13:13
unfortunately i can't use php.Do you know of any asp.net tool that achieves the same task?
zaladane
2009-03-04 06:33:40
Did you try the Javascript one ? Really curious about it.
Theo.T
2009-03-04 09:24:14
A:
A copy of my own answer from here.
What about DaisyDiff (Java and PHP vesions available).
Following features are really nice:
- 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.
- The default GUI allows easy browsing of the modifications through keyboard shortcuts and links.
elhoim
2009-10-20 09:02:24