Bug 44431 - Archive Web Page file format unclear (typo)
Summary: Archive Web Page file format unclear (typo)
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: webarchiverplugin (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: Malte Starostik
URL:
Keywords:
: 57915 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-27 15:33 UTC by pavel
Modified: 2016-05-07 09:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pavel 2002-06-27 15:22:57 UTC
(*** 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)
Comment 1 James M Greenhalgh 2003-06-15 10:59:02 UTC
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

Comment 2 mcamen 2003-06-15 11:20:51 UTC
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. 
 
Comment 3 Waldo Bastian 2003-06-15 12:15:53 UTC
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
Comment 4 Stephan Binner 2003-07-24 12:19:21 UTC
. 
Comment 5 Daniel Naber 2004-02-22 21:37:17 UTC
*** Bug 57915 has been marked as a duplicate of this bug. ***
Comment 6 Sham Rao 2004-02-23 22:51:56 UTC
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