#!/bin/bash
# A bash script to make posting new phlog posts a bit
# easier.
#
# To set up a new phlog, do
#
# whip setup
#
# This makes a 'phlog' directory in your 'public_gopher'
# directory and creates two files inside it,
# 'gophermap', and '.phlog_index'.
#
# To write a new phlog post, do
#
# whip new "My Phlog Post Title"
#
# This makes a new text file for your post, opens it for
# editing and, once you've quit your text editor,
# updates the '.phlog_index' file. (You can set your
# preferred text editor below, it defaults to `nano -r
# 56`).
#
# NB: Phlog posts should be hard wrapped at less than 70
# characters. You'll probably want to add a link to
# your phlog from your main gophermap
# (~/public_gopher/gophermap)
#
# TODO: add whip_html and whip_rss as subcommands