View Single Post
Old 02-25-2013, 07:13 AM   #23
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by Jellby View Post
zip file.epub META-INF/com.apple.ibooks.display-options.xml

It requires having the apple file in a META-INF directory, though.
Looks very useful. How can I resist messing around...

Following what you said, I put the apple.xml file in a META-INF folder, alongside with two EPUBS (screenshot).

I then tried the customary:
Code:
roger@lmde64:~/Bureau/Test$ zip *.epub META-INF/com.apple.ibooks.display-options.xml
updating: META-INF/com.apple.ibooks.display-options.xml (deflated 27%)
  adding: Cocardes et dentelles v2.epub (deflated 1%)
roger@lmde64:~/Bureau/Test$
Result: Only the first EPUB file was correctly processed. The second one, "Cocardes et dentelles v2" was not. Is there a way to batch this?

If I take away from the Test folder the first processed EPUB and then repeat the same command, the second EPUB is correctly processed. This can go quickly...
Attached Thumbnails
Click image for larger version

Name:	apple.png
Views:	205
Size:	26.7 KB
ID:	101950  

Last edited by roger64; 02-25-2013 at 07:21 AM.
roger64 is offline   Reply With Quote