雇主希望任何非技术人员都能够修改内容 - 简单的解决方案吗?
我在工作中遇到了一些麻烦。我的部门为公司设计了许多内部系统,大部分与数据报告相关。我们只有不到 10 个真正需要人工维护的真实内容页面。这些页面是用 PHP 编写的,并由非技术人员通过 Dreamweaver 进行维护 - 他们使用设计编辑器,并尽可能避免编写代码。虽然有一些问题,但总体来说效果很好。
最近该项目已更新并转换为 ASP.NET Web 应用程序。这导致了一些架构更改,使得内容更难以使用所见即所得编辑器进行编辑(它现在是修订控制的,它是经过编译的,因此必须在修改后重新部署,等等)。我们有点假设一直维护它的工作人员会继续这样做,现在使用 Visual Studio 的“设计”模式而不是 Dreamweaver 的。我们错了,出于技术和非技术原因,这不是一个选择。
工作人员不会接触任何 HTML - 我们需要一个所见即所得的编辑器(这是我们收到的要求......没有与他们争论这一点)。我开始研究 CMS,主要是 Drupal,但经过一番尝试后,我发现内容“Blocks”实际上并没有 WYSIWIG 编辑器,而是期望 HTML。所有 CMS 都是如此吗?是否有一些易于设置且附带所见即所得编辑器的 CMS?还有人有其他想法吗?不管它用什么语言,我会让一些东西发挥作用。
这确实不是我的专业领域 - 我主要进行应用程序开发,偶尔也进行 Web 前端。不确定我是否问了正确的问题,但希望有人能提供帮助。
I'm in a bit of a pickle at work. My department designs a number of internal systems for the company, mostly data-reporting related. We have less than 10 true content pages that actually need to be maintained by a human. These pages were written in PHP and maintained through Dreamweaver by a non-technical staff members - they used the design editor, and avoided the code as much as possible. There were issues, but overall it worked well.
Recently this project was updated and converted to a ASP.NET Web Application. This resulted in some architecture changes, making the content harder to edit with a WYSIWIG editor (it's now revision controlled, it's compiled and thus must be re-deployed after modifications are made, etc.). We sort of assumed that the staff member who had been maintaining it would just continue to do so, now using Visual Studio's "Design" mode instead of Dreamweaver's. We were mistaken, and it isn't an option for technical and non-technical reasons.
The staff member will not be touching any HTML - we need a WYSIWIG editor (this is a requirement we were handed...no arguing with them over that). I started looking at CMS', mainly Drupal, but after a bit of playing around I see that content 'Blocks' don't really have a WYSIWIG editor, instead expecting HTML. Is this true for all CMS'? Is there some easy-to-setup CMS out there that comes with a WYSIWIG editor? Does anyone have any other ideas? Don't care what language it's in, I'll make something work.
This really isn't my area of expertise - I do application development primarily, with an occasional web front-end. Not sure I'm even asking the right question, but hoping someone can help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
WordPress 使用 TinyMCE,它对于我的一些非技术客户来说效果很好。您可以编写 (PHP) 脚本来调用 WP 函数并提取页面内容。
回到正题,我发现 WordPress 的后端对于很多人来说都是可用且友好的。我们经常将它用作后端,并为前端构建完全定制的东西,并取得了良好的效果。
WordPress makes use of TinyMCE, and it works pretty well for some NON techie clients of mine. You can write (PHP) scripts that will call the WP functions and pull the page content.
Back to the point, I have found the backend of WordPress to be usable and friendly to a good mix of people. We often use it for a backend and build something completely custom for the frontend, and have had good results.
http://www.cushycms.com/
它们可以让您向任何网站添加简单的所见即所得功能,无论使用的技术。
您只需在源文件中添加一次标签,然后让您的用户前往 CushyCMS.com 添加文本内容。
http://www.cushycms.com/
They let you add easy WYSIWYG capability to any website, regardless of the technology used.
You just add a tag once in your source file, and let your users go to CushyCMS.com to add text content.
我绝不是 CMS 专家,但我相信 SiteCore 可能会满足您的需求。它是一个.NET系统,构建在ASP.NET之上,从我有限的使用经验来看,它的UI对于商业用户来说非常有用。
I am by no means a CMS expert, but I believe SiteCore might suit your needs. It is a .NET system, built on top of ASP.NET, and from my limited experience with it, the UI for business users is very usable.
看看 Joomla。它包括所见即所得编辑器。比 Drupal 简单多了
Take a look on Joomla. It includes WYSIWYG editor. It is much simpler than Drupal
正如 Frank 指出的那样,TinyMCE 是一个不错的选择,事实上您在这里使用它:D。看一些示例: http://tinymce.moxiecode.com/examples/full.php
优点是 TinyMCE 只是 javascript,因此理论上您可以将其添加到任何 CMS,或者实际上添加到任何 HTML 表单。
另外,如果您有兴趣,我认为这是 Joomla 的默认输入法。
As Frank points out, TinyMCE is a great option, in fact you use it here :D. Have a look at some examples: http://tinymce.moxiecode.com/examples/full.php
The good point is that TinyMCE is just javascript, so in theory you can add it to any CMS, or in fact to any HTML form.
Also, I think is the default input method for Joomla if you are interested.
我会推荐 CKEditor(FCKEditor 的后继者),我没有在 ASP .NET 代码中使用过 FCKEditor,但在 PHP 中使用过它并取得了很大的成功。我还没有抽出时间将旧代码转换为 CKEditor,但计划将来这样做。
如果您可以从具有 FTP 访问权限的服务器加载 HTML 文件...我使用的一个快速但肮脏的解决方案是 CushyCMS.com,您提供 ftp 凭据并连接文件,然后就可以使用了。我的非技术客户非常喜欢这个编辑器。它允许您明确说出想要编辑的内容和不编辑的内容。
在 PHP 中,我通常使用 CushyCMS 进行架构设计的方式是让主页在内容页面上执行 require_once,并且内容页面具有我希望他们能够编辑的 HTML 块。
所以代码看起来像这样:
其中 page_content.php 看起来像这样:
希望这有帮助。
I would recommend CKEditor (the successor to the FCKEditor), I haven't used FCKEditor in ASP .NET code, but have used it in PHP with a lot of success. I haven't gotten around to converting old code to CKEditor, but plan to in the future.
If this is something where you can load HTML files from your server that has FTP access...a quick and dirty solution I have used is CushyCMS.com, you supply ftp credentials and hook up the files and they are good to go. Non-technical customers of mine have liked the editor a lot. It allows you to specifically say what you want edited and what you don't.
In PHP the way I usually architect using CushyCMS is to have the main page do a require_once on the content page and the content page has the HTML block that I want them to be able to edit.
so the code looks like this:
where page_content.php looks something like this:
Hope this helps.
我曾经认为,为了用户友好的编辑,你需要一个所见即所得的编辑器,比如已经提到的TinyMCE。不再。
在这样的富文本编辑器中编辑内容不是很方便。很多时候,您最终会弄乱内容,要么需要技术娴熟的人来帮忙,要么您必须切换到代码视图(= HTML)来清理混乱。
现在我更倾向于使用 Markdown,就像这个网站(和 Reddit)使用的那样。对于大多数用途,您不需要需要富文本,它就像所见即所得工具一样方便。如果您需要一些富文本修饰,例如将某些文本设置为粗体或斜体,这也很容易。列表,无论是编号列表还是项目符号列表,都很简单。并建立链接......那些所见即所得的工具似乎总是能够以你无法想象的方式把事情搞砸。
另外,通过这种方式,生成的 HTML总是干净且最小,并且用户很难搞乱。
I used to think that for user friendly editing, you need a WYSIWYG editor, such as the TinyMCE that has already mentioned. Not any more.
Editing content in such a rich text editor is not very handy. Very often you end up messing up the content, and either does a technically savvy person have to come to help, or you have to switch to CODE view (= HTML) to clean up the mess.
Now I'd be far more inclined to use something Markdown, like this site (and Reddit) uses. For most purposes, you don't need rich text, and it is just as handy a WYSIWYG tool. If you need a few rich text touches, like making some text bold or italic, this works quite easily too. Lists, either numbered or bulletted, are a snap. And making links... Those WYSIWYG tools always seem to be able to mess it up in ways you can't even imagine.
Plus, this way, the resulting HTML is always clean and minimal, and it's extremely hard for the user to mess up.
表达网怎么样?它用于编辑ASP.NET网页,并且可以与TFS集成
What about Expression Web? It is made to edit ASP.NET web pages, and can integrate with TFS