← Back to Book Detail

45 Export Validation Logs (44/46) -- Maricopa Open Digital Press Guide

Browse
95%

45 Export Validation Logs

45 Export Validation Logs Pressbooks EPUB, MOBI, and PDF files are made to be compatible with the submission specifications at all major ebook stores and print-on-demand services. However, sometimes markup that isn’t compatible with the EPUB, MOBI, or PDF file formats can be imported into Pressbooks when you bring in your content. We recommend testing your files before you submit them to your distributor of choice to make sure they pass all specifications. You can receive validation logs (or error reports) from Pressbooks directly to your email. Read on to find out more about: Receiving Validation Logs You can decide whether or not you want to receive validation logs for all your exported files. To enable or modify this setting: - Go to Settings > Export from the left sidebar menu in Pressbooks - Next to “Email Validation Logs,” choose either “Yes” or “No” - Click Save Changes By default, all books’ Email Validation Log setting is set to “No. Ignore validation errors.” If you choose to receive validation logs (or error reports) from Pressbooks, all file validation error logs will be forwarded to the email address associated with your Pressbooks account. Afterward, you’ll receive a message whenever any file you export has an error. You’ll know exported files contain errors if you see a banner at the top of the Export screen that reads: “Warning: The export has validation errors. See logs for more details.” Each type of file is created with a different software, so each type of file will have a slightly different validation log. Read on to see how to interpret each type of validation log. EPUB Validation Logs EPUB validation logs will appear in your email inbox with the following subject line: Pressbooks\Modules\Export\Epub\Epub201 Below is an example of what an error report may look like. Array ( [time] => Mon Dec 10 22:17:33 2018 [user] => tmcgrath [site_url] => https://yourbooktitle.pressbook [blog_id] => 107381 [theme] => Atwood ) ERROR(RSC-020): /srv/www/pressbooks.com/releas Check finished with errors. How to Read an EPUB Validation Log The validation log can be broken down into parts. The first part is metadata that identifies your book. You’ll see the time the book was exported, username of the person who exported the book, and the URL of the book in Pressbooks. You’ll also see other internal data, like your book’s WordPress ID number and the theme your book was built with. After the metadata are the error logs: ERROR(RSC-020): This code identifies what type of error has been caught. The code correlates to the description at the end of the entry log. /srv/www/pressbooks.com/releases/20181205114740/web/app/uploads/sites/107381/pressbooks/exports/Test-Book-2-1544480239.epub/OEBPS/: chapter-035-your-chapter.html: This information tells you exactly where the problem is in your book. In this book, the chapter that contains the error is chapter 35, which has been titled “Your Chapter.” If you saved a chapter before giving it a title, this URL wil
← Previous Chapter Next Chapter →