Best way to create a blog with static pages in Ruby
I just visited the Static Website Generation on Ruby toolbox and I don't know which of applications listed there is best suited for a little blog engine. Basically I need:
- an index page with 1..5 of latest articles with shortened content;
- possibility to add few main pages and a menu to access them (breadcrumb optional);
- show articles
- show/search archives
- commenting system - Disqus Ok
- tag-list cloud - optional
- Look&Feel via layout
Important all content will be translated in 3 languages!
I can host on my own server, so side processing is possible.Update:
First I'l开发者_StackOverflowl try nanoc
=> blog's source on github
I think nanoc worth a try it has everything you specified, even if is not the best ranked on ruby toolbox its actively developed and highly customizable.
nanoc is a tool that runs on your local computer and compiles documents written in formats such as Markdown, Textile, Haml… into a static web site consisting of simple HTML files, ready for uploading to any web server.
and thats true :) I use it for a while not specially for a blog, but it has also helpers for that...
check out jekyll, it should work well for this.
Try my own "serious" - apart from archive search and tag cloud, it has everything you specified, plus the basic install should take you something like 5 minutes on heroku (and maybe 10 on your own server via Rack). It also has syntax highlighting, Disqus comments, Google Analytics and other goodies.
http://github.com/colszowka/serious
gem install serious
Disclaimer: It does not produce static html pages you can upload to your php vhost, though. But it uses caching and is really easy to setup and works on the free plan on heroku.
精彩评论