简体   繁体   English

Blog宝石/ Rails引擎/ Mongoid

[英]Blog Gem/Engine for Rails/Mongoid

What Rails blogging gem/engines are there that can be used with MongoDB/Mongoid? MongoDB / Mongoid可以使用哪些Rails博客gem / engine?

I've used Typo and RefineryCMS-Blog for MySQL/ActiveRecord apps, but they don't work with Mongoid (and frankly are more heavyweight than I need). 我已经将Typo和RefineryCMS-Blog用于MySQL / ActiveRecord应用程序,但是它们不适用于Mongoid(坦率地说,它们比我需要的重量更大)。

I used refinery before so didn't use this time because it's complicated and too big for my app. 我以前使用过炼油厂,所以这次没有用,因为它太复杂了,对我的应用程序来说太大了。 I was about to create mongoid branch for blogit gem but found bloggy. 我本来打算为blogit gem创建monongoid分支,但发现了bloggy。 I don't know if you need authenticated user access to your blog but you shouldn't anyway so 我不知道您是否需要经过身份验证的用户访问您的博客,但无论如何都不应该这样
I used bloggy gem to integrate jerkyll blog which is databaseless. 我使用bloggy gem集成了无数据库的Jerkyll Blog。

Jekyll is the most popular blog system out there and whats nice about bloggy gem is that you don't have to make configurations, it just places your blog into "/blog" path. Jekyll是目前最流行的博客系统,关于Blog gem的好处是您无需进行配置,只需将博客置于“ / blog”路径即可。 Another plus is that http://jekyllthemes.org has many themes you can choose from. 另一个优点是http://jekyllthemes.org有许多主题可供选择。

Note that -for me- it gets stuck sometimes but I find that it does create the necessary files even it gets stuck. 请注意-对我-有时会卡住,但我发现即使卡住了,它也确实创建了必要的文件。 Be sure that after you create a post remove the "published: false" from the markdown before generating it. 在创建帖子后,请确保在生成帖子之前,先将其从Markdown中删除“ published:false”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM