WordPress、社区服务器还是 N2?
我正在创建一个网站,我想在其中发布技术文章。 我正在寻找一个可以帮助我轻松发布代码、针对搜索引擎进行优化并且易于使用和操作的系统。
目前,我还没有任何计划在那里建立论坛,也许将来会。
有什么建议么?
I am starting a website where i would like to post technical articles. I am looking for a system that helps me post code easily, is optimized for Search engines and is easy to use and operate.
For now, I don't have any plan of having a forum in there, maybe in the future.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
如果您想保留 .Net 后端,而不是完整的社区服务器,您可以尝试 BlogEngine.Net 。 源代码以 C# 形式提供,并且包含一个代码格式化插件。
如果您没有托管在 Microsoft 服务器上,那么我可能会赞同 Darth 的建议并使用 WordPress。
If you want to stay with a .Net back end, rather than full Community Server you could try BlogEngine.Net. Source is available in c#, and there is a code formatting addin included.
If you are not hosting on a Microsoft server then I would probably second Darth's suggestion and go with WordPress.
WordPress 非常适合入门。 它管理方便,易于设置和使用。 而且几乎所有东西都有一大堆插件。
WordPress is good to start with. It has convenient administration and is easy to setup and use. And there's whole bunch of plugins for almost everything.
现在,您还可以查看 DotNetNuke (Codeplex 下载)。 安装非常简单,社区可以帮助您解决任何问题。
只需添加一个页面并将代码粘贴到 text/html 模块中即可,瞧,完成了。
当然,它不会将您的代码格式化为 pwerty 颜色,但它会满足您的要求。 这是 VB.NET 代码,因此需要 IIS/SQL Server 组合(如果在您的系统首选项内)。
Now, you could also have a look at DotNetNuke (Codeplex Download). Install is straight forward, with a community to help you with any issues.
Just add a page and paste your code into the text/html module and voila, done.
Granted it will not format your code in pwerty colours but it will do what you require. This is VB.NET code so will require IIS/SQL Server combination if that is within your system preferences.
带有“wp-syntax”插件的 WordPress 可以实现一些很好的代码突出显示。
它使用 GeSHi 突出显示,因此您只需执行如下操作:
由于它基于 GeSHi,因此它支持更多功能,并且比 Google Code Prettify 更易于复制和粘贴。
关于 WordPress 的“日期”性质,可以根据主题(即日期的重要性)并通过更改永久链接来更改。 例如“http://example.com/article/”是可能的。
Wordpress with the "wp-syntax" plugin makes for some nice code highlighting.
It uses GeSHi highlighting, so you simply need to do something like the below:
As it's based upon GeSHi, it supports a lot more and is nicer to copy and paste than Google Code Prettify.
In regards to the "dated" nature of Wordpress, this can be changed relevant to theme (that is, how important you make the date) and through changing the permalinks. For example "http://example.com/article/" is possible.
我是 Mediawiki 的粉丝,因为它可以发布代码(有一些不错的源代码突出显示插件),特别是因为代码文章通常不像 WordPress 上的博客文章那样具有特定的日期。
I'm a fan of Mediawiki for posting code (there are some nice source highlighting plugins), especially as code articles generally aren't date specific like blog posts on WordPress migh tbe.