# 2017-08-26 20:27:40.281825 UTC (+0000)

Phlog System – How To Publish

On bitreich do the following:

       % mkdir -p $HOME/gopher/phlog

You will need following scripts:

       /br/bin/blog
       /br/bin/bitreich-blog

First, copy them over to your PATH on your computer you create the blog posts
on.

Then do the following:

       % mkdir -p $HOME/.blog-bitreich
       % cd $HOME/.blog-bitreich
       % git init
       % touch blogrc

Now open the file »blogrc« and add the following:

       publishcp scp %s [email protected]:gopher/phlog
       publishcmd

The publishcp command defines where to copy the file of the article and the
publishcmd can run for example some script to generate static files. I use
this for some other blog. On bitreich we do not need it.

Now use our blog command:

       # Add a posting.
       % bitreich-blog -a
       # At least add one empty line after the timestamp and a title.
       2017-01-22T19-45-26-510048 # timestamp / id of blog post

       # Other interesting commands:
       % bitreich-blog -l
       % bitreich-blog -e 2017-01-22T19-45-26-510048
       % bitreich-blog -d 2017-01-22T19-45-26-510048

Let us publish our news on bitreich:

       % bitreich-blog -p 2017-01-22T19-45-26-510048

See the magic happen.

Have fun!

Sincerely,

20h