I need a gem for creating a Blog in my rails Application. We can write a whole bunch of our code, but for this small task an effective Gem is preferable. Please suggest a good Gem for creating a blog that supports following features :
- Adding static Blog contents.
- Feature to have image in blog
- Visitor/Viewer must be able to comment/share the blog
( will be much nicer if can be commented/shared via Facebook account)
I got through Gems like :
- "Redcloth" (for creating static web pages quickly; quite unsure
will it be able to handle image & comment facility. )
- Gem "dynarex-blog" (for creating blog, but unable to find
good tutorial / proper documentation for integrating it with my Application).
Here are some more resources you may benefit from:
Tutorials
Gems
Blog
If I were to create a simple blog app, I'd to this:
Create
Post
,Category
,Tag
,Comment
,Image
modelsUse Slugalicious in the routes to route to the posts with routes like:
domain.com/blog/your-post-title
Add an admin area (probably with ActiveAdmin || RailsAdmin), but you may wish to create your own with this tutorial
I'd use a WYSIWYG (such as Redactor) for creating the posts in the admin area. Looking at Petekun's post, I'd recommend going for the markdown format structure (keeps everything DRY)
Use CanCan to determine which user roles can write comments etc
Images can be uploaded with Paperclip or Carrierwave