News for hackers. Stuff that matters.
Re:Toto - Heroku blogging in 10 seconds & 230 LOC by breck on Wednesday February 03, 2010 @03:45PM (#1098814)
I really like the idea.

I've casually been working on a similar project except with PHP.

-http://github.com/breck7/brecksblog

-http://brecksblog.com

It's 1 file, under 250 lines of code, and powers a fair number of blogs now. Also uses a file for storage (no database needed).

Re:Toto - Heroku blogging in 10 seconds & 230 LOC by malyk on Wednesday February 03, 2010 @04:42PM (#1098953)
Any example blogs out there? Obviously it's configurable, but just having an example or demo blog out there might be nice.
Re:Toto - Heroku blogging in 10 seconds & 230 LOC by barmstrong on Wednesday February 03, 2010 @06:01PM (#1099168)
Yep any example blogs you can point us to? Very cool idea!
Re:Toto - Heroku blogging in 10 seconds & 230 LOC by stanleydrew on Wednesday February 03, 2010 @01:48PM (#1098486)
This seems to borrow a lot from Jekyll (http://wiki.github.com/mojombo/jekyll/usage), or maybe both are borrowing from some common ancestor?
Re:Toto - Heroku blogging in 10 seconds & 230 LOC by cloudhead on Wednesday February 03, 2010 @01:57PM (#1098520)
Yea, I evaluated jekyll, scanty, webby, aerial and a couple of other similar engines before making this, but none of them really worked the way I wanted.
Re:Toto - Heroku blogging in 10 seconds & 230 LOC by spooneybarger on Wednesday February 03, 2010 @02:00PM (#1098529)
what about how jekyll works made you want to do something else?
Re:Toto - Heroku blogging in 10 seconds & 230 LOC by cloudhead on Wednesday February 03, 2010 @02:09PM (#1098543)
Two reasons mainly:

- I wanted it to play well with Heroku, Jekyll generates files, which is incompatible with the read-only filesystem of heroku.

- I wanted something really simple, Jekyll's become a little too heavy for what should be a simple task.

Re:Toto - Heroku blogging in 10 seconds & 230 LOC by stanleydrew on Wednesday February 03, 2010 @02:29PM (#1098591)
I agree that jekyll's getting a bit heavy, although I'm definitely not even taking full advantage of all it's features. I still don't know much about Heroku though, and this might be a good way to try it out.
Re:Toto - Heroku blogging in 10 seconds & 230 LOC by spooneybarger on Wednesday February 03, 2010 @02:11PM (#1098553)
i cant seem to reply to your reply...

as to your point 1, have you seen:

http://www.jstorimer.com/2009/12/29/jekyll-on-heroku.html

Re:Toto - Heroku blogging in 10 seconds & 230 LOC by btucker on Wednesday February 03, 2010 @05:06PM (#1099019)
Rael Dornfest's http://www.blosxom.com/? I'd say that blazed the trail ~10 years ago for this type of software. I know for me at least, Blosxom was incredibly eye opening.
Re:Toto - Heroku blogging in 10 seconds & 230 LOC by hyperbolist on Wednesday February 03, 2010 @04:35PM (#1098938)
Thanks for this, I'm enjoying it!

You probably want to add something like

  set :url,       "http://example.com"                      # site root URL
to your config.ru documentation.