Skip to Content

iWork secret life as ZIP file revealed, includes PDF preview

Former TUAW colleague David Chartier over at Finer Things in Mac has noted something interesting about the innocuous iWork '09 file format. What he found may surprise you.

An iWork '09 file created from Pages, Numbers, or Keynote actually lives a secret life as a ZIP archive. This trick isn't a new one; the most common example of archive trickery by Apple is probably the iPod/iPhone software bundle which uses ZIP as a container format. Previous iWork versions actually created folder-like bundle files by default, which made them tricky to upload to cloud storage or email to collaborators.

In the case of the new iWork files, changing the file extension to .zip and expanding the archive reveals the as-expected XML document and plist files (for the document and its formatting) as well as a little PDF surprise -- a preview version of the file. What this means for you is that you can send an iWork file to a friend or co-worker and regardless of their operating system choice or installed software base, they can "view" your document by unzipping it and opening the PDF.

On Windows, you would simply change the extension to .zip and open with your favorite un-archiving utility. Given the kludgy-ness of this process, it doesn't surprise me that Apple isn't promoting it. However, it would be interesting to see the folks in Cupertino release an iWork viewer for the Windows users in our lives (other than the extant iwork.com sharing service).

[Via Download Squad]

Categories

Tips and tricks iWork

Former TUAW colleague David Chartier over at Finer Things in Mac has noted something interesting about the innocuous iWork '09 file format....
 

Add a Comment

*0 / 3000 Character Maximum

19 Comments

Filter by:
Shunnabunich

"Why not just use office and save yourself...hassle?"

Reported for spam. No other possible explanation for your post.

November 03 2009 at 10:08 AM Report abuse rate up rate down Reply
hoolito

PDF preview is only present within .pages files.
.numbers and .keynote only have .png files als previews. Very poor definition (to use as an icon preview) and not containing all sheets or slides.
So I don't think this is such a revelation. I only see it useful for pages files...

I'll have to wait for that iWork viewer to effortlessly make my Windows friends covet.
Don't have too much hope though...

November 02 2009 at 2:47 PM Report abuse rate up rate down Reply
Michael

Yeah, it's no embarrassment and no news: Open Office and the new MS Office formats already do it, and surely many Mac users must have already known.

Here is one curious thing, though. AFAIK, Apple has not registered a MIME-type for any iWork documents. Not here, are they?

http://www.iana.org/assignments/media-types/

I haven't got iWork 09 - still using 08. However, I believe if you attach an IWork document - such as a Pages word-processing document - to an email, it can't be given the right MIME-type .... because there isn't one. Therefore, Mail.app gives it the MIME-type application/zip.

Now that's ridiculous and is likely to give cause problems at the other end, since the recipient's mail program is unlikely to be able to determine the correct helper-application without a MIME-type to go by.

November 02 2009 at 1:09 PM Report abuse rate up rate down Reply
Urbz

This is useful to me because with all my documents stored on my iDisk, I can edit a file on a Windows PC at school without needing my laptop...

November 02 2009 at 12:03 PM Report abuse rate up rate down Reply
michaelm

Keynote does a better job with graphics as compared to PowerPoint. If one uses LaTeX to create an equation--a far better way than using Equation Editor in Office--one can output a PDF that works beautifully in Keynote. It looks terrible in PowerPoint. Also, PowerPoint files get messed-up ("corrupted" ?) and are then useless. iWork files are always accessible as they do not exist as binaries. One could go on and on. In the end, I stopped trying to figure out how to make PowerPoint work for me. I use Keynote and when I need to send someone a PP version, I export it. Has always worked better for me this way.

Perhaps Office 2008 (or 2007 on Windows) has fixed some of these issues but after iWork came out and I started to use it, I have rarely looked back.

November 02 2009 at 12:03 PM Report abuse rate up rate down Reply
Dani L

Here's what I think is a real use of this feature:

I use Keynote a lot, but I don't know of a way to edit images that I have included in my presentation with an external program, such as Photoshop. By unzipping the Keynote document it becomes possible to retrieve and of the images included in the presentation, edit it with any application that is right for the task, save in the same place (w/o changing the name), and zip back the folder. Next time the presentation is opened in Keynote, the changes will be there. I just tried it.

Of course, this is a rather annoying procedure, if anyone has a simpler way, I'd be happy to hear about it.

Dani

November 02 2009 at 11:52 AM Report abuse rate up rate down Reply
wvmikep

...because iWork does many things better than Office.

November 02 2009 at 11:23 AM Report abuse rate up rate down Reply
Alex C

Very old story...

This trick also works with Office 2007 (.docx, .xlsx, .pptx) and OpenOffice.org (.odt) documents. They even include a preview, but not in pdf format (maybe as a png thumbnail).

November 02 2009 at 11:10 AM Report abuse rate up rate down Reply
Erik

This file structure isn't anything out of the ordinary. Microsoft Office (as of 2007 for Windows and 2008 for Mac) files are also .zip archives containing XML data. I believe that Open Office.org files are also built the same way.

November 02 2009 at 11:00 AM Report abuse rate up rate down Reply
1 reply to Erik's comment
totoro

Yes, the whole docx, etc. format is similar. As is the new eBook standard, ePub.

November 02 2009 at 11:20 AM Report abuse rate up rate down Reply
Mike

Isn't new? Yeah, it's the ISO document standard. See ODF.
ODF files are zips as well...

November 02 2009 at 10:58 AM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.