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]
Share
Categories
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
"Why not just use office and save yourself...hassle?"
Reported for spam. No other possible explanation for your post.
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...
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.
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 Permalink rate up rate down ReplyKeynote 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.
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
...because iWork does many things better than Office.
November 02 2009 at 11:23 AM Report abuse Permalink rate up rate down ReplyVery 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).
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 Permalink rate up rate down ReplyYes, the whole docx, etc. format is similar. As is the new eBook standard, ePub.
November 02 2009 at 11:20 AM Report abuse Permalink rate up rate down ReplyIsn't new? Yeah, it's the ISO document standard. See ODF.
ODF files are zips as well...
Hot Apps on TUAW
Deals of the Day
more deals- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



19 Comments