From: Jeff D. <da...@da...> - 2000-07-07 20:19:45
|
I've just checked in to the CVS the beginnings of on-the-fly ZIP file creation. To use, just click on the link near the bottom of admin/index.php3. Current Features: o If PHP has zlib compiled in, pages are compressed (deflated). (If PHP doesn't have zlib, pages are just stored --- also ZIP production is quite a bit slower on account of CRC32 computation in PHP.) (And I've just discovered that my web hosts PHP doesn't have zlib :-/) o Page meta-data (author, version, etc...) is saved in a special custom header field in the zip file. This information is not accessible via any standard zip tools, but I plan on writing an unzipper which can use this information to restore a Wiki from the zip file. (The zip file is (should be) still readable using any unzipper.) o Currently, only the most recent version of a page is archived. If this is an issue, we can easily add an option for including all saved versions of every page. Known Issues: o Speed and volume of output might be an issue for large Wikis (especially when PHP doesn't have zlib support). Certainly the PHP execution timeout should be increased. o I still need to write the unzipper. What's the concensus? Is this cool or just overkill? Jeff |