CHM (Developers)
> > There is also *.html.gz format. It's in the HTML spec, should be
> supported by compliant (all current?) browsers.
> (Are you sure? Afaik HTTP2 allows for GZ compression, but .gz on HTML
> sounds like an Unix extension, not something a standard would describe,
> since .gz is meaning less on a standard windows install. Do you have a
> reference?)
Such files are found on Unix servers, and get used in the usual two ways: They can be read online like any other .HTML file, or downloaded. A compliant browser decompresses for reading. Opera does it for sure, using zlib.
> Well, the crucial part is the combination of archive functionality with
> compression, and an preexisting viewer (This because the slack space of
> tens of thousands of little html files is as important as the
> compression).
By preexisting viewer, do you mean one that the user already has? Or one that you don't have to write, but that you can just throw into the download package? Either way, I don't see any problem, when you put it in those terms. HTML files can be separately gzipped, or tarred first in the normal way. Images can remain as separate files from the original HTML. Viewer should be no problem - doesn't everybody have a browser?
The slack space problem goes away if raw HTML files are tarred before gzipping (or bzipping). An untar/decompressor can be in the download package with little cost in total size (like, *.tar.gz or *.tar.bz2, plus 7zip.exe inside a *.zip download file) - parallel to the old common practice of including a *.zip + unzipper on diskettes.
My point is, there are purely mechanical solutions that do not require programming other than revising scripts for packing files and uploading to servers.
> Also .chm has the ability to embed internal files, which are important for
> additional tables for e.g. context sensitive help etc.
Perhaps .ps or .pdf, with batch files to run Ghostscript or other free reader?
> All browsers will be internal anyway, since starting up and fully
> instrumenting the many commonly used browsers is next to impossible.
Yes, browsers are annoying, with so many variations and degrees of compliance with the HTML specs. But I see that as another reason to go with .ps or .pdf, and perhaps supply a reader on the FP servers.
Complete thread:
- Free Pascal questions - rr, 24.08.2008, 23:31 (Developers)
- Free Pascal questions - marcov, 25.08.2008, 10:28
- Free Pascal questions - Laaca, 25.08.2008, 11:02
- Free Pascal questions - marcov, 25.08.2008, 11:22
- CHM - DOS386, 28.08.2008, 05:48
- Free Pascal questions - marcov, 12.10.2008, 13:46
- Free Pascal questions | 2.2.2 minimal test - DOS386, 18.10.2008, 03:13
- Free Pascal questions | 2.2.2 minimal test - Laaca, 18.10.2008, 12:10
- Free Pascal questions | 2.2.2 minimal test - DOS386, 19.10.2008, 01:29
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 20.10.2008, 08:49
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 20.10.2008, 09:01
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 20.10.2008, 11:00
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 20.10.2008, 18:09
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 21.10.2008, 12:17
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 22.10.2008, 15:22
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - rr, 22.10.2008, 15:59
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 22.10.2008, 19:26
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 25.10.2008, 01:31
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - ecm, 25.10.2008, 10:33
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 25.10.2008, 12:13
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 25.10.2008, 20:17
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 25.10.2008, 23:49
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 26.10.2008, 11:43
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 28.10.2008, 10:01
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 29.10.2008, 15:40
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 28.10.2008, 10:01
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 26.10.2008, 11:43
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 25.10.2008, 23:49
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 25.10.2008, 20:17
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 25.10.2008, 12:13
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - ecm, 25.10.2008, 10:33
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 25.10.2008, 01:31
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 22.10.2008, 15:22
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 20.10.2008, 11:00
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 20.10.2008, 09:01
- Free Pascal questions | 2.2.2 minimal test - Laaca, 18.10.2008, 12:10
- Free Pascal questions | 2.2.2 minimal test - DOS386, 18.10.2008, 03:13
- Free Pascal questions - rr, 25.08.2008, 22:07
- Free Pascal questions - marcov, 26.08.2008, 11:14
- Free Pascal questions - rr, 27.08.2008, 12:47
- Free Pascal questions - marcov, 28.08.2008, 00:17
- Free Pascal questions - Rugxulo, 28.08.2008, 04:30
- Free Pascal questions - rr, 28.08.2008, 09:50
- Free Pascal questions - rr, 28.08.2008, 09:54
- Free Pascal questions - Rugxulo, 28.08.2008, 11:00
- Free Pascal questions - rr, 28.08.2008, 13:08
- Free Pascal questions - Rugxulo, 28.08.2008, 11:00
- Free Pascal questions - Rugxulo, 28.08.2008, 04:30
- Free Pascal questions - marcov, 28.08.2008, 00:17
- Free Pascal questions - rr, 27.08.2008, 12:47
- Free Pascal questions - marcov, 26.08.2008, 11:14
- Free Pascal questions - Laaca, 25.08.2008, 11:02
- Free Pascal questions - marcov, 25.08.2008, 10:28