ferranfg
Forum Replies Created
-
Hi, @gfirem This message could be triggered also for other reasons, but using embedded images is the most common.
If this is not the case, you can try to generate the book in smaller batches to see if the error persists on all posts or only on specific posts. Sometimes the books are not generated just because of one post, but it’s a little tricky to find which one.
Forum: Plugins
In reply to: [MPL-Publisher — Ebook & Audiobook Creator] This looks like what I want but…Hi @gnfb this plugin is not intended to download individual posts rather than a group of posts at the same time, so I’m not sure if it will work for you. In your case, a “book” will only have one post, so I think it will require too much work on your side.
You could try to add a download button on every post, but it will require you to paste a shortcode on every post. You can see how shortcodes work here: https://docs.mpl-publisher.com/docs/publish-book/#export-with-shortcode
Forum: Plugins
In reply to: [MPL-Publisher — Ebook & Audiobook Creator] Error opening DOCX fileHi @edjarrett
Glad it’s working. Thanks to you for your finding and patience.
Regarding the heading, I’ve seen that new versions of the library the plugin uses internally to generate the Word document support appropriate headings, so I’m preparing a new plugin release to address this issue.
Version 2.7 should support this feature. Most probably at the end of this week or the following.
Forum: Plugins
In reply to: [MPL-Publisher — Ebook & Audiobook Creator] Error opening DOCX fileHi @edjarrett
I think I’ve found a reason. The error is due using & in your text. If you can confirm it, the pages that does not work should have a & and the others don’t.
I will release a new version to address this issue in the coming days. Until then, if you have the chance to edit the PHP plugin’s code, you can add this line to fix the issue:
https://github.com/ferranfg/mpl-publisher/blob/master/libs/WordPublisher.php#L44
Forum: Plugins
In reply to: [MPL-Publisher — Ebook & Audiobook Creator] Error opening DOCX fileThanks. Let me do a few checks and I will get back to you with my findings.
Forum: Plugins
In reply to: [MPL-Publisher — Ebook & Audiobook Creator] Error opening DOCX fileCould you share with me the URL of both examples? (One of a post which is giving an error and one of a posts which is ok)
If you prefer to do it privately, you can write me at ferran@mpl-publisher.com)
Got it. I will add a more extensive description about sorting posts. Thanks.
Forum: Plugins
In reply to: [MPL-Publisher — Ebook & Audiobook Creator] Error opening DOCX fileHave you tried checking the “Validate content before download” in the plugin settings? The plugin has a checkbox to validate the content before generating the book https://share.cleanshot.com/YUHwpL. It may be related.
If no errors are found, try to refine your generation by choosing fewers posts until you find which post is responsible for corrupting the file.
Hi @edjarrett
Sorry to hear that. Posts that have been checked and reordered will keep their position, but the other posts will be ordered using the default filters when saved.
If you have more questions, feel free to write them to me. I will do my best 🙂
Regards,
Forum: Plugins
In reply to: [MPL-Publisher — Ebook & Audiobook Creator] Custom PostHello @sandicino
Yes, it does.
I’ve tested with some custom post types (used by knowledge-based plugins especially), but, in theory, it should work with all custom post types defined as public.
Then, from the plugin, you can filter all the posts to those using this custom type. You can get more information about filtering here https://docs.mpl-publisher.com/docs/book-options/filter-options/
Forum: Plugins
In reply to: [MPL-Publisher — Ebook & Audiobook Creator] Gallery in DOCX-exportHi @luhewiese Thank you for your message.
The plugin is developed to remove all the web layouts and create a more bookish reading experience. For this reason, it strips all the styles and keeps mainly the content.
In this case, adding the gallery styles into the book would result in copying web styles into read mode, so I’m not interested in this behavior.
For now, I’m closing the issue as I don’t consider this a bug but rather than expected way.
Hello @luhewiese
I’ve just released a new version (2.6.0) that should address this issue. Let me know how it goes. Thanks.
Regards,
Hi @luhewiese
I’ve been able to reproduce the error by changing the default permissions on the WordPress temp folder. Could you check if your permissions are properly configured? More info: https://www.wpbeginner.com/beginners-guide/how-to-fix-file-and-folder-permissions-error-in-wordpress/
Forum: Plugins
In reply to: [MPL-Publisher — Ebook & Audiobook Creator] Image source not readable errorI have some findings, @vnonj
- This error seems related to wrong folder permissions on WordPress. I have been able to reproduce it by changing the temp folder. You can get more information about fixing folder permissions on this link: https://www.wpbeginner.com/beginners-guide/how-to-fix-file-and-folder-permissions-error-in-wordpress/
- The “Image source not readable” happens when you use a lazy load images plugin. In your case, I think you have enabled the Jetpack Lazy Loading images. Try to temporarily disable it and generate the book again. More info: https://jetpack.com/support/lazy-images/
The plugin creates images on-the-fly with an optimized version to include on the ebook, so this is where the unrecognized image name is coming from.
Either way, I will use your sample and see if I can reproduce also the error. I will let you know if I need more details.
Btw, nice paella you have in there 🙂