Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file in META-INF ? #32

Closed
lohic opened this issue Sep 14, 2015 · 3 comments
Closed

Add file in META-INF ? #32

lohic opened this issue Sep 14, 2015 · 3 comments

Comments

@lohic
Copy link

lohic commented Sep 14, 2015

Hello, I can't find a way with the library to add a file in the META-INF folder (I'm trying to add com.apple.ibooks.display-options.xml to be able to force embed font in apple pub reading software).

Is there a way to do it ?

For the moment, I'm using the ZipArchive php class and add it after my pub generation.

@Grandt
Copy link
Owner

Grandt commented Sep 15, 2015

Bloody Apple and their proprietary ways of doing normal things.

I'll look into it and see if I can have an update ready today.

Grandt added a commit that referenced this issue Sep 15, 2015
---------------------------------------------------------------------
Rev. 4.0.2 - 2015-09-15
* Changed: Added function addFileToMETAINF to enable users to add the
apple ibooks metadata.
*   $book->addFileToMETAINF("com.apple.ibooks.display-options.xml",
$xmldata);
@Grandt
Copy link
Owner

Grandt commented Sep 15, 2015

I just released Rev. 4.0.2

  • Changed: Added function addFileToMETAINF to enable users to add the apple ibooks metadata.
  • $book->addFileToMETAINF("com.apple.ibooks.display-options.xml", $xmldata);

@lohic
Copy link
Author

lohic commented Sep 15, 2015

Hello @Grandt ,

Thank you for this really quick update, that works perfectly.

@lohic lohic closed this as completed Sep 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants