문제

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!

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top