]> git.ipfire.org Git - thirdparty/sarg.git/commit - html.c
Write the access times in one html page
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Thu, 24 Jan 2013 21:17:23 +0000 (22:17 +0100)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Thu, 24 Jan 2013 21:17:23 +0000 (22:17 +0100)
commitf72b484ad4c51d08e4d950ae2faa275869ac45cb
treedfe9631e9e15e6cba580861ea48581289fbd0760
parent164ef212527927f58230e5f2e4adbba229280be9
Write the access times in one html page

Web sites access times were written in a file named after the user's name
and the visited site URL. There were one file per site, they were small and
numerous. In fact, they could be so numerous that they could fill the disk
inode table.

Moreover, with a file name made of the user's name and the visited site
URL, the manufactured file name could be more than 256 characters resulting
in an OS error on Windows and Linux.

To fix these two problems, the access times are all grouped inside one web
page with anchors to directly scroll to the relevant site. The html file
name is fixed (tt.html) and doesn't depend on the user's name or web
site URL.
css.c
documentation/util.txt
html.c
include/conf.h
include/defs.h
report.c
util.c