         articleView.render res, locals, (err) ->
           if err then throw new Error 500
 
-    # Setup RSS feed route
+    # RSS feed
     app.get '/feed.xml', (req, res, next) ->
       exports.cache.ready ->
         articles = []

        listView.render res, locals, (err) ->
          if err then throw new Error 500

    # Setup article viewing route
    app.get /^(\/([0-9]{4})\/([0-9]{2})\/([0-9]{2})\/(.*)\/?)$/, (req, res, next) ->
      exports.cache.ready () ->
        article = exports.cache.getArticle req.params[0]

  # Default paging to 10
  configs.perPage ?= 10

  # Default rebuild secret
  configs.rebuildSecret ?= 'typhoon'

  # Setup base url and data paths
  Article.baseUrl configs.baseUrl
  exports.cache.build configs.articlesDir, configs.encoding || "utf8"
