Phlog automation
================

I  noticed that  it  takes a  long time  to  complete Phlog's  writing
activities. Ie. you should write  your article, and then carefully add
white space characters in your gophermap. There are several utilities,
for eg. [Burrow  helper], to do so.   But the best solution  is my own
one, so I have written two scripts.

One of  the causes of writing  own script is improving  Bash scripting
and knowledge  of utilities  like sed,  awk, and so  on. Being  in the
small-net is always about learning to do things on your own.

The first script  [1] adds the timestamp of the  last Phlog article on
the main gophermap.  It's looking for the special phrase "Last entry:"
and replacing the date, title, and link for a new one.

The second script [2] adds the date, title, and link for a new article
to the top of the article  list, detected by the special phrase "...",
on Phlog's gophermap.


~ [Burrow helper] 
  https://github.com/jamestomasino/burrow

~ [1]
  gopher://sdf.org:70/0/users/szczezuja/regenerate_main_gophermap.sh

~ [2]
  gopher://sdf.org:70/0/users/szczezuja/regenerate_phlog_gophermap.sh

--
szczezuja.space CC BY-SA
@ Sat 07 May 2022 03:30:07 PM CEST