I'm working on a help system with hundreds of pages written in HTML. I want to give those HTML pages to multiple people so they can make changes. Before I upload their modified documents, I need some way (such as color coding) to check and fix their changes. For example, I want to see all the changes marked in red or some other visual cue. What is the best way to do this?
3 Answers
Use a diff tool. I really like SourceGear's DiffMerge, and it is free!

- 37,935
- 10
- 86
- 125

- 103,639
- 52
- 277
- 404
-
@MehandiHassan [Google](https://www.google.si/search?q=code%20diff%20web) is your friend. – Robert Koritnik Aug 05 '16 at 11:59
Diff will work as others have said.
However, I'd be leery as an admin to be having to deal with hundreds of pages of HTML edited by multiple people. This is SCREAMING for a CMS or Document Management System of sorts to deal with exactly this problem. It would be more than easy enough to save each version (as Stackoverflow does on edits) so that you could pick and choose between the best ones. Another huge advantage would be eliminating the repetitive nature of common elements, such as headers, doctype declarations, etc. I wouldn't even want to begin to think how much fun it would be to try to unify all that and get it 100% compliant....
There are Help systems out there for just this purpose if you're not up to setting this up yourself. My company uses Kayako, but there are dozens to choose from, many free.

- 12,918
- 5
- 49
- 82
-
Thanks bperson76. I did not mention in my question that I am using a CMS (RoboHelp) and the files generated by RoboHelp are html files. It is those files that I would like to use Diff on. – edt Apr 18 '11 at 23:07
-
Right. And U can effectively compare two files at the same time. Maybe four at most. If the number is larger it may become overwhelming and you will be making lots of mistakes as a human. – Robert Koritnik Apr 19 '11 at 05:37