The Import and Export functions should support zipped XML as an option. This
would solve several issues when importing/exporting a large number of
pages/versions:
For Export:
- Browsers may try to display the XML in a fancy tree. For a several-MB-file,
this may bog down the computer or crash the browser. It's pointles, anyway
- Browsers often mangle the XML when saving it. In FireFox, saving the page from
the source view leads to broken results, and saving from the normal XML view
will only work if you manually select the (non-obvious) "HTML only" option.
- Downloading a ziped file will be faster, even if zlib compression is enabled
on the server, because the browser will not uncompress it.
- A ziped file will trigger a download dialog, which makes more sense for an
export than showing XML in the browser.
For Import:
- If export supports zip, import should too
- The Ziped file will be a lot smaller. People may have upload limits in php, in
apache, or for their web account.
- Zipped files can be detected and handeled automatically
An additional option for importing a file that is on the server's file system
may be handy too, especially for people who don't have shell access to the
server, but can upload stuff via FTP (as is quite often the case). But there may
be security issues with this.
Version: 1.6.x
Severity: enhancement