Skip to content
An example of a simple static blog generator in Scala.
Scala
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
posts
src
static
templates
.gitignore
LICENSE
Makefile
README.textile

README.textile

Simple Scala Blog

A lightweight blogging system, designed to transmute a directory of Textile files into an equivalent directory of HTML files with a minimum of fuss.

Rationalization

Writing a custom blogging system is a wholly unnecessary act. This system was written so the author could muck about with Scala. Though there’s some basic attempt at providing a configuration mechanism, templates and logic are currently too intertwined. Improving this is an exercise for the reader/forker.

You’re encouraged to borrow chunks of code you fancy. The good parts are mostly the use of XML literals. You might find the FileHelpers trait handy, as it provides easy-to-use methods for stuff that should really be in java.io.File or similar.

Requirements

  • Scala (tested with 2.7.2 final)
  • GNU Make
  • JTextile (included, but is kind of wonky)
  • GNU RegExp for Java (included)

License

Licensed under the Apache Public License, Version 2.

Something went wrong with that request. Please try again.