Javascript version

    

In the example above, the Javascript version is selected (for Upload on a Server).
Once the package is built, two options are available:

  • Open package in File Explorer / File Finder
    All data can be uploaded “as is” to a server for publishing the book over the Internet to be viewed in every Browser
  • Open the Package from the local disk via a local server in the default Browser.
    For this, a local server like XAMPP must be installed and running.

Before publishing a Javascript version, the special Javascript Settings should be checked.

Before publishing, you should check the status information presented above the Publish Button. The overview provides a summary of all used elements for a quick plausibility check:

  • is the number of page images equal to the number of thumbnails?
  • For a single Page Book: is the number of Page Images equal (single language) or n-times (n languages) the number of pages?
  • For a double-page book: is the number of Page Images equal to half the number of (single) pages + 1?
  • Are all languages listed?
  • are all expected elements listed?

Here you see, that more Page Images than needed are available: 66 instead of 20.
This should be avoided so unused Page Images do not increase the Package SIze without providing any value.

This can be achieved in clicking the Button in the Manage Elements window.

If everything is correct, the generation of the Javascript package can be started with a click of the Button.

The progress of the publishing process is displayed as usual in the status window. Depending on the size and content of the book, this may take a few seconds.

Once the Javascript Package is created, the folder containing that package can be opened in the File Explorer/Finder in clicking Open Package Folder .
The next step is uploading all the content of the package to the server (see Server Upload).

Usually, mz3Tool detects a XAMPP installation and sets the Publish Path accordingly and presents the Button.(see Local server for details).

Requirements:

  • A working and running XAMPP Installation
  • Publish Path set to xampp/htdocs
  • Apache was started in the XAMPP Control Panel

Open the XAMPP Control Panel and start Apache
Apache (local Server) was successfully started; all OK!

Revision: 2
Last modified: 2020/01/27

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment