简单的所见即所得发布系统
我在许多不同的项目中不断处理同样的问题:
如何让具有低/无 IT 技能的人以最简单的方式发布内容。
最简单的方法是将像 TinyMCE(想想 wordpress)这样的东西塞到他们手中,这是通常的路线,因为人们或多或少已经习惯了它。
问题是......当我看到一些由 html 编辑器插入或从 Word 或其他任何地方粘贴的 html(例如泥泞的鞋子被拖进原本干净的房子里)时,我的某些部分不可避免地会陷入痛苦。我知道错误的 HTML 是可以被限制的,但即使它被简化为最基本的形式,它仍然会在用户之间产生混乱和不一致。
我很想强迫用户学习 Markdown 或 Textile(ala stackoverflow),但我通常会输掉这场战斗,而且我还没有看到一个编辑器可以在低入门门槛方面与任何 HTML 编辑器竞争。我还没有看到一个窗口全部包含在一个窗口中(所见即所得),是大部分还是全部?使用一个用于输入,一个用于显示,这是大多数用户无法理解的。
我也经常使用 Zemanta,因为它易于使用,可以降低用户上传受版权保护的材料的风险,但它的小部件也依赖于 HTML,除非您想直接使用他们的 API 来推出自己的小部件。但是,如果没有 HTML,您如何考虑整个文档中的多个图像并处理它们的位置呢?
我很好奇其他人是如何解决这个问题的,因为我创建的每个解决方案之后都会不断地重新评估并发现其不足。有什么建议吗?
I'm constantly dealing with the same problem in many of my different projects:
How to deal with making content publishable in the most simple way possible by people with low/no IT skills.
The easiest way is shove something like TinyMCE (think wordpress) into their hands, the usual route because people are more or less accustomed to it.
The problem is... some part of me is inevitably reduced to agony when I see some of the html that gets inserted either by the html editor or pasted in from Word or wherever else like muddy shoes being dragged into an otherwise clean house. I know that errant HTML can be constrained but even with it reduced to it's most basic form, it still manages to produce mayhem and inconsistencies between users.
I would love to force users to learn Markdown or Textile (ala stackoverflow) but I usually lose this battle and I have yet to see an editor that can compete with any of the HTML editors in terms of low barrier to entry. I have yet to see one that is all contained inside one window (WYSIWYG), most or all? use one to type and one to display which most users just don't get.
I also often use Zemanta, as much for it's ease of use as to reduce the risk of users uploading copyrighted material but it also relies on HTML for it's widgets unless you want to roll your own using their API directly. But without HTML how do you account for multiple images throughout a document and deal with their positioning?
I'm curious to see how others have solved this problem because every solution I have created I constantly re-evaluate afterwards and find lacking. Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
就我个人而言,我喜欢使用 Aloah 作为所见即所得编辑器。它比 TinyMCE 更轻量,并且减少了用户引入丑陋 HTML 的可能性。
还有WYMEditor(所见即所得)。它的外观不如 Aloah 的那么漂亮,但它确实可以防止人们创建糟糕的 HTML。
与 jgauffin 相反,我认为可以强制没有经验的用户创建干净的 HTML。问题更多的是 TinyMCE 等想要提供独立于实现页面样式定义的布局功能。
Personally I like to use Aloah as my go to WYSIWYG Editor. It is more lightweight than TinyMCE and leaves less possibilities for the user to introduce ugly HTML.
There is also WYMEditor (What you see is what you mean). Its looks are not as nice as Aloah's, but it certainly works in keeping people from creating bad HTML.
In opposition to jgauffin I think it is possible to enforce the creation of clean HTML by inexperienced users. The problem is more that TinyMCE and the likes want to provide layout features which are autonomous from the implementing pages style definitions.