(*** This bug was imported into bugs.kde.org ***) Package: konqueror Version: KDE 3.0.0 Severity: wishlist Installed from: Unspecified Linux Compiler: Not Specified OS: Linux OS/Compiler notes: Not Specified The extension used to save archived web pages by Konqueror is war and the file type description is "web archive". However this extension is already being used for J2EE web applications which might create some confusion. Since the archive is actually gzipped tar it might be more appropriate to call it just that - .tar.gz. (Submitted via bugs.kde.org) (Called from KBugReport dialog. Fields Application KDE Version OS Compiler manually changed)
Subject: Proposal to change webarchive extension from .war to .wtz Hi folks, Some bug scanning brought me here: http://bugs.kde.org/show_bug.cgi?id=44431 and it left me with a couple of questions. Are there any more things to consider besides the following? * remove kdebase/konqueror/kfmclient_war.desktop * add kdebase/konqueror/kfmclient_wtz.desktop * replace .war with .wtz in kdeaddons/konq-plugins/webarchiver/plugin_webarchiver.cpp * replace .war with .wtz in kdeaddons/konq-plugins/webarchiver/x-webarchive.desktop What does one do in this case about existing webarchives that have been created and have the extension .war? Should it still be handled for a while? ie should the .desktop handle both .war and .wtz? Should I not delete the kfmclient_war.desktop yet? Thanks, James
Yep. There might be installations with several 1000 boxes relying on the .war extension. We should stay backward compatible within the 3.x series, IMHO.
Subject: Re: Proposal to change webarchive extension from .war to .wtz On Sunday 15 June 2003 10:58, James Michael Greenhalgh wrote: > Hi folks, > > Some bug scanning brought me here: > http://bugs.kde.org/show_bug.cgi?id=44431 and it left me with a couple of > questions. > > Are there any more things to consider besides the following? > > * remove kdebase/konqueror/kfmclient_war.desktop > * add kdebase/konqueror/kfmclient_wtz.desktop > * replace .war with .wtz in > kdeaddons/konq-plugins/webarchiver/plugin_webarchiver.cpp > * replace .war with .wtz in > kdeaddons/konq-plugins/webarchiver/x-webarchive.desktop > > What does one do in this case about existing webarchives that have been > created and have the extension .war? Should it still be handled for a > while? ie should the .desktop handle both .war and .wtz? Should I not > delete the kfmclient_war.desktop yet? I suggest to distinguish between web archive and J2EE application based on magic. As long as J2EE applications aren't tar-gzip as well, that shouldn't be too hard. Cheers, Waldo
.
*** Bug 57915 has been marked as a duplicate of this bug. ***
Cannot the extension be more explicit, such as .konq-webarchive.tar.gz? Will the KDE Desktop be able to recognize the longest matched regular expression rather than the first matched?? -SHam Rao