Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for a web based diff component [closed]

Tags:

compare

diff

In a content management system, moderators have to approve changes to existing articles. Currently the system shows the old and the revised version of the text in plain text. It is a pain to find the actual differences.

In GoogleDocs, there is a 'Compare revisions' feature which highlights the differences between two documents.

If there a free component out there that does the same thing?

If not, would you write such a component in JavaScript or on the server side?

All the usual diff tools are desktop applications.

like image 453
Peter Hahndorf Avatar asked Sep 05 '09 20:09

Peter Hahndorf


1 Answers

John Resig wrote one in JavaScript that looks interesting.

Here it is.

like image 147
Chris Nielsen Avatar answered Sep 25 '22 02:09

Chris Nielsen