💾 Archived View for sdf.org › stug › scripts › index.gmi captured on 2022-06-03 at 23:05:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

Gopher Related Scripts Which Might Be Of Use

--------------------------------------------

This are written by someone who has been learning scraps of script writing

from here and there. I am sure there are much better ways of doing things

but this is how I have ended up doing it. Hopefully it might help someone

avoid making files and setting conditions all the time.

Phlog Writing V2.1

------------------

This script is intended to make phlog writing easier. It does the following:

o Sets up a nanorc which limits the columns and a few other bits

o Creates a file named using auto grabbed date and manual user input

o Turns the auto grabbed date into human readable UK format date

o Updates the gophermap file with the new entry at the top of the gophermap

o Returns to previous nanorc config

o Allows for updates to be made to the current day entry

o Updates the Gemini Capsule index.gmi file as well

Requirements to run as is:

o Nano to be installed

o A folder in your home directory called 'gopher'

o A folder within the folder 'gopher' called 'phlog'

o A folder in your home directory called 'scripts'

o A .nanorc file called 'nanorc_gopher' in the 'scripts' folder

phlog_write_v2_1.ksh Phlog Script File

Article Writing V1.1

--------------------

This script is intended to make articles under different folders easier. It is similar to the phlog script but sorts files into the right gopher pages.

Features and requirements are the same as the phlog script.

To use this, you will want to change the folder selection. They are set up for me.

Article Script File