如何查看两个html文档之间的差异?

发布于 2024-11-02 00:46:19 字数 145 浏览 3 评论 0原文

我正在开发一个帮助系统,其中有数百个用 HTML 编写的页面。 我想将这些 HTML 页面提供给多个人,以便他们可以进行更改。 在上传他们修改的文档之前,我需要某种方式(例如颜色编码)来检查并修复他们的更改。例如,我想查看以红色或其他视觉提示标记的所有更改。最好的方法是什么?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

何以笙箫默 2024-11-09 00:46:19

使用差异工具。我真的很喜欢 SourceGear 的 DiffMerge,而且它是免费的!

Use a diff tool. I really like SourceGear's DiffMerge, and it is free!

情深如许 2024-11-09 00:46:19

Diff 将像其他人所说的那样工作。

然而,作为一名管理员,我会担心必须处理由多人编辑的数百页 HTML。对于 CMS 或文档管理系统来说,要解决这个问题真是太令人兴奋了。保存每个版本非常容易(就像 Stackoverflow 在编辑时所做的那样),以便您可以在最好的版本之间进行选择。另一个巨大的优势是消除常见元素的重复性,例如标头、文档类型声明等。我什至不想开始思考尝试统一所有这些并使其 100% 兼容会有多有趣....

如果您不愿意自己进行设置,则有专门用于此目的的帮助系统。我的公司使用 Kayako,但有几十种可供选择,其中许多是免费的。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文