9 Replies Latest reply: Apr 6, 2013 7:31 AM by sb0117
rob4ll Level 1 Level 1

I want to look inside the "FixedLayoutExample3-0.epub" to better understand the xhtml and CSS content of the example book. I know that the .epub is a zip of various directories which are all described in the Asset Guide and other documents. But I cannot open it up. Double clicking takes me into the Application Loader - which I makes sense I suppose. But I can't do anything else with the file. I tried renaming it to .zip and using unzippers (izip and UnZipper) but neither worked. I read that Pages can't open a .epub. So how do I use it?

 

Sorry if this is terribly obvious but I can't seem to find infomation anywhere and I am now wondering if it has to do with how I set up my iTunesConnect account (i.e. for Free Books). Maybe Apple figure if you're not smart enough to open the file, you're not going to be able to figure out how to publish an eBook anyway but trying to use this "Resource" is pretty frustrating.

 

Cheers,

R.


iBook
Solved by Tom Gewecke on Jan 29, 2013 6:51 AM Solved

You are right, something messed up there.

 

Instead put the zip file in your Home folder (Finder > Go > Home) and then open Terminal.app in Applications/Utilities and type "unzip filename.zip"  (no quotes).   You might want to rename the file to something short like fle3.zip before doing this to make it easier to type the command.

  • Tom Gewecke Level 9 Level 9

    Normally on a Mac you do not use an "unzipper".  You just double click on the file AFTER you have changed the extension to .zip.  What happens when you do that?   The files inside you would read with TextEdit or TextWrangler, etc.

  • rob4ll Level 1 Level 1

    I am on a Mac (should have mentioned that).  After changing the file extension from .epub to .zip in the finder. Double click on "FixedLayoutExample3-0.zip produces another file:

     

    • FixedLayoutExample3-0.zip  --> FixedLayoutExample3-0 2.zip

     

    Double clicking on that:

     

    • FixedLayoutExample3-0 2.zip --> FixedLayoutExample3-0 2.zip.cpgz

     

    Double clicking on that:

     

    • FixedLayoutExample3-0 2.zip.cpgz --> FixedLayoutExample3-0 2 2.zip

     

    ... and so on. I never get to see the source files.

  • Tom Gewecke Level 9 Level 9

    You are right, something messed up there.

     

    Instead put the zip file in your Home folder (Finder > Go > Home) and then open Terminal.app in Applications/Utilities and type "unzip filename.zip"  (no quotes).   You might want to rename the file to something short like fle3.zip before doing this to make it easier to type the command.

  • rob4ll Level 1 Level 1

    Thanks Tom,

     

    that worked. I have no idea why my automatic unzip isn't working - I tried it on my old MacBook just now and it worked fine.

     

    Anyway, I've got what I needed. Thanks again.

     

    Cheers,

    Rob

  • katk2 Level 1 Level 1

    I'm having the same problem trying to unzip "Fixed layout EPUB example 3.0. I tried using unzip but it doesn't recognize it as a valid zip formatted file.

    Any ideas?

     

    Steve

  • katk2 Level 1 Level 1

    I'm having the same problem trying to unzip "Fixed layout EPUB example 3.0. I tried using unzip but it doesn't recognize it as a valid zip formatted file.

    Any ideas?

     

    I do this:

    $ unzip ./fixed.zip

    Archive:  fixed.zip

      End-of-central-directory signature not found.  Either this file is not

      a zipfile, or it constitutes one disk of a multi-part archive.  In the

      latter case the central directory and zipfile comment will be found on

      the last disk(s) of this archive.

    unzip:  cannot find zipfile directory in one of fixed.zip or

            fixed.zip.zip, and cannot find fixed.zip.ZIP, period.

     

     

    Steve

  • katk2 Level 1 Level 1

    Re the Fixed layout EPUB exampl 3.0, I should have mentioned I'm on a MAC mini running  OSX 10.8.2 (Mountain Lion)

     

    Steve

  • Anne-Marie Concepcion Level 1 Level 1

    No need to run Terminal. Download the two AppleScripts available on this forum post:

    http://www.mobileread.com/forums/showpost.php?p=1181614&postcount=18

     

    One is called EPUB_UnZip and the other is EPUB_Zip. Put them on the desktop or drag them onto your Finder sidebar. Then to unzip an EPUB, drag-drop it on top of the EPUB_UnZipscript. After you've created or edited an EPUB, drag the parent folder onto EPUB_Zip.

     

    Anne-Marie Concepcion

    InDesignSecret.com

  • sb0117 Level 3 Level 3

    Thanks for sharing this tool. It works really well.