一个干净的最小宝石,可以将简单的博客添加到现有应用程序中?
我需要在现有的应用程序中建立一个博客,但它不必很花哨,某些类别和一种将纺织品目录转换为包含日期的博客文章的方法就可以,已经搜索过这个,但没有出现任何花哨的东西。
关于将博客添加到现有 Rails 应用程序的好 gem 有什么建议吗?
I need an blog inside my existing app but it doesn't have to be fancy, some category's and an way to convert a directory of textiles to the blogposts including date would fit, already searched for this but nothing fancy came up.
any recommendations on a good gem to add blog to existing rails app?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以根据需要推出自己的简单博客引擎,Rails 可以让这一切变得简单。然而,有几个选项效果非常好:
还有其他完整的 CMS 解决方案可用:
You can roll out your own simple blogging engine for your needs and Rails makes it easy. However, there are a couple of options which work fantastically:
There are other full blown CMS solutions available:
我最终得到了一个非常简单的博客控制器,它从数据库加载一些页面内容,同时使用 redcloth 来保留格式使用相同的方法在我的应用程序中提供静态页面。
I finally ended up with a very simple blog controller that loads some page content from the database, using redcloth to preserve formatting, also use this same method for serving static pages in my app.