ZipWriter is Here!
Posted: September 17th, 2007
Yes, finally after months of twiddling my thumbs waiting for approval to land the zipwriter component has gone into trunk, and is enabled for all applications (some apps might need to add the interface to their packages list). If you want to use check out the interface, it’s fairly well documented I think. That magic contract ID you need is "@mozilla.org/zipwriter;1".
It’s been quite a long process both writing the code, getting reviewed and getting agreement for it to appear in Firefox so I hope all you extension authors and application developers are going to make good use out of it in your projects. Let me know what you come up with.
Categories: mozilla
Comments
February 20, 2008
Eric Shepherd
This interface is slated to be documented in the next week or so.
January 14, 2008
Chuck Baker
FEBE does indeed make use of external zip/unzip binaries. I’m very anxious to use this new zipWriter component in FEBE v6.0, but can’t find any decent documentation with examples (ala xulplanet.com).
As far as packing all your extensions into a single installable xpi, see CLEO: https://addons.mozilla.org/en-US/firefox/addon/2942
September 18, 2007
malte
Yay! ![]()
September 18, 2007
Todd
Note: nsIZipEntry interface is defined here:
http://mxr.mozilla.org/seamonkey/source/modules/libjar/nsIZipReader.idl
September 17, 2007
Jose
Would be possible with this to add a feature to save a web page as a file, as in mht for example?
September 17, 2007
Febe
I believe Febe does this, though I’m not sure if they use their own zip program. If so, they could switch to using zipwriter. https://addons.mozilla.org/en-US/firefox/addon/2109
September 17, 2007
Richard Klein
How about an extension that takes all of your installed extensions and makes a multiple item package out of them. That way it would be easy to move extensions from one computer to another ![]()
February 21, 2008
Tahir Khan
When is zipwriter expected to a part of firefox? I am using 2.0.0.12 on mac and pc. I am getting:
Error: Components.classes['@mozilla.org/zipwriter;1'] has no properties
So I am really anxious to know after which release will the developers can start using the object?