How this website was made?

Automation is the key. I do not want to write a single line of html or some other annoying syntax ready to be presented to the crowds. Instead, I find it more productive and less time consuming to come up with simplest possible source format, and convert that to whatever format is needed with simple script. For this site I spent about 45 minutes and invented a jnz file format along with a simple perl tool to convert it to html.

Below are the tool, the needed files and a live source code for one of the pages of this site to show how these pages was made. jnz_to_html.pl script is handy to produce static html pages from very simple jnz file format. As said, jnz is made by me in a hurry for my own needs, so please do not take it too serious or consider it as general purpose file format. You are welcome to use it how ever you like or develop it further if you want. If it wrecks everything and ruins your life, dont blame me. Use it at your own risk.

jnz_to_html.pl

This is the perl script to produce static html pages from jnz formatted file.

html_head.txt

This is the html header part to be included by jnz_to_html.pl in top of generated html page.

html_foot.txt

This is the html footer part to be included by jnz_to_html.pl in bottom of generated html page.

html_page.txt

These are titles for each page, used in html header part above.

html_link.txt

These are the links and menu structure for menu bar in upper left corner of the page, converted automatically by jnz_to_html.pl.

html_refs.txt

These are the links to external web pages, included automatically by jnz_to_html.pl if any of the keywords appears in paragraphs.

blogi.jnz

Finally, the jnz source of Opensource-hostausta blog page.

jnz_to_html.pl | html_head.txt | html_foot.txt | html_page.txt | html_link.txt | html_refs.txt | blogi.jnz

Copyright © 2017-2020, Jani Salonen <salojan at goto10 piste co>. Piste is finnish word and means dot. All rights reserved.