1This directory contains a script ('makefsdata') to create C code suitable for
2httpd for given html pages (or other files) in a directory.
3
4There is also a plain C console application doing the same and extended a bit.
5
6Usage: htmlgen [targetdir] [-s] [-i]s
7   targetdir: relative or absolute path to files to convert
8   switch -s: toggle processing of subdirectories (default is on)
9   switch -e: exclude HTTP header from file (header is created at runtime, default is on)
10   switch -11: include HTTP 1.1 header (1.0 is default)
11
12  if targetdir not specified, makefsdata will attempt to
13  process files in subdirectory 'fs'.
14
15The C version of this program can optionally store the none-SSI files in
16a compressed form in which they are also sent to the web client (which
17must support the Deflate content encoding). Files that grow during compression
18(due to being not compressible well), will stored umcompressed automatically.
19In order to do so, compile the program with MAKEFS_SUPPORT_DEFLATE set to 1. You must
20manually download minizip.c for this to work. As an alternative, you can additionally
21define MAKEFS_SUPPORT_DEFLATE_ZLIB to use your system's zlib instead.
22Compression of .html, .js, .css and .svg files usually yields very good compression
23rates and is a great way of reducing your program's size.
24