First, Kansan-View scripts and css are now available on GitHub.
Second, many thanks to Alexander Willner from Berlin, Germany for making the script fully compatible with both the stock 2.7 (coming with any recent macOS version) and 3.6 version of python. Furthermore, he introduce dynamic home folder as well as default output in the same directory as the script path. This removes the need of previous version to edit the script to change the unix user name in the file path. As such, the new version is extremely easy to run . Better, follow the instruction (method 2) given here and make it a system service, assign a keyboard shortcut and never, ever run python directly yourself!
The following will allow a visual project-level overview of what is on your plate. It is comprised of 3 files: a python script, a CSS file and a PDF README file (a copy of this post). It can be executed from the terminal or as a system service using the macOS Automator app (thus never needing to open a terminal and can be associated to a keyboard short cut).
*** read below for the download link ***
Quite surprisingly, I hadn’t written html code since I completed my PhD in 1996. From 1993 to 1996, I created and maintained our research group webpage. At the time, we were one of the few to actually have sites. Well, it does come back and boy it much easier than anticipated (at least at the current level) 😉