jQuery或PHP:比较文档
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!
只是想知道是否有人可以建议允许文档比较的工具(jquery或php)? 这些文件存储在MySQL中(如果相关的话)。 p>
我用谷歌搜索了它,发现了一些东西(看起来有点像jquery,但它正在开发中?)。 无论如何,也许我的搜索条件不是很好,所以,希望得到一些建议...... p>
编辑 只是作为后续行动......我 最后使用 http://code.google.com/p/ google-diff-match-patch / wiki / API 快速而简单! strong> p> div>
Here is a handy javascript lib for finding diffs on a line by line basis and viewing them in html