From: Steve W. <sw...@wc...> - 2000-07-08 03:27:48
|
Hmm. It might be overkill. How long will it take for you to do? I'm worried that you might spend 100 hours on something that might not have a great demand... but it would be great to have a secure way to dump a Wiki. Since this is an admin feature speed is not important; but if I read you right, you're going to implement zip in PHP? Is there anything you can't do? :-) sw On Fri, 7 Jul 2000, Jeff Dairiki wrote: > 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 > > > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > http://lists.sourceforge.net/mailman/listinfo/phpwiki-talk > ................................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |