News for hackers. Stuff that matters.
Re:Build a Blog Engine in Go by buro9 on Saturday August 03, 2013 @05:24AM (#6151582)
Neat, but I keep wondering with these static generators... why wouldn't you just use pandoc http://johnmacfarlane.net/pandoc/ for the HTML generation?
Re:Build a Blog Engine in Go by toyg on Saturday August 03, 2013 @06:25AM (#6151708)
Building a [static|dynamic] blog in $language is the most classic weekend project for us web-nerds. It's the one field where universal reinvention of wheel is culturally accepted. And it's just fun, I guess.
Re:Build a Blog Engine in Go by buro9 on Saturday August 03, 2013 @01:40PM (#6152698)
That's cool, and there's lots of things people should play with: the Go templates for the design and layout, the file system watcher for auto-updates, the file writing, etc.

But when it comes to formats, pandoc is so damn feature-rich, and would allow authors to write in whatever was best for a particular post. Markdown most of the time, restructered text occasionally, TeX rarely.

If anything it would extend the capabilities whilst introducing to the weekend project the execution of an OS command and using stdout and stdin to communicate.

A good addition to the weekend project, and a comprehensive addition to the features of the static blog generator.