#### ##### ### ##### ##### #### #### ### #### ##### #### ##### # # # # # # # # # # # # # # # # # ## # ### # ##### # # # #### ##### # ## ### # ## ### # # # # # # # # # # # # # # # # # # # # ## #### # # # # ##### #### # # # #### ##### #### ##### # # For generating static pages, from a directory. staticpagegen can generate XHTML files and Gophermaps. What it does is that it copies the directory to 2 different directories "gopher" and "xhtml". In addition to the files and the subdirectories inside the given directory, it creates XHTML files and Gophermaps in the generated directories and their subdirectories, and these pages contain links to the files in the same directory level. Let us consider the directory "worthwhile_stuff": worthwhile_stuff \__ educational \__ how_to_keep_chickens.txt \__ c_programming_lang.pdf \__ unabomber_manifesto.txt \__ artistic \__ na_kupalu_by_a_shishkin.jpg \__ cirno.ff.bz2 \__ alice_pub.pem When the following command is exacuted, $ staticpagegen worthwhile_stuff following "gopher" and "xhtml" directories are created: gopher \__ educational \__ how_to_keep_chickens.txt \__ c_programming_lang.pdf \__ unabomber_manifesto.txt \__ index.gph \__ artistic \__ na_kupalu_by_a_shishkin.jpg \__ index.gph \__ cirno.ff.bz2 \__ alice_pub.pem \__ index.gph xhtml \__ educational \__ how_to_keep_chickens.txt \__ c_programming_lang.pdf \__ unabomber_manifesto.txt \__ index.xhtml \__ artistic \__ na_kupalu_by_a_shishkin.jpg \__ index.xhtml \__ cirno.ff.bz2 \__ alice_pub.pem \__ index.xhtml For instance, the "gopher/artistic/index.gph" file will contain: [1|Page|/|server|70] [1|../|/|server|70] [0|na_kupalu_by_a_shishkin.jpg|/artistic/na_kupalu_by_a_shishkin.jpg|server|70] And the "xhtml/educational/index.xhtml" file will contain:
../ how_to_keep_chickens.txt/ c_programming_lang.pdf/ unabomber_manifesto.txt/Many generation options such as the page title can be changed, see the manual page staticpagegen(1) for details. You can fetch it through the releases page