Domanda

Just wondering if anyone can suggest a tool (either jquery or php) that allows document comparison? The documents are stored in MySQL (if that's relevant).

I've googled it, and found a couple of things (looks like there's something for jquery, but it's under development?). In any case, maybe my search terms aren't great, so, was hoping to get some suggestions...

EDIT Just as a follow-up... I wound up using http://code.google.com/p/google-diff-match-patch/wiki/API It's fast and simple!

È stato utile?

Soluzione

Here is a handy javascript lib for finding diffs on a line by line basis and viewing them in html

https://github.com/cemerick/jsdifflib

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top