Additionally to the usual presentation as “book” or magazine”, now a new TML version is supported.
This offers new features automatically; e.g. good support of bots/crawlers (text now is readable and no longer hidden in images) and a search/find option.

Technical Details

The basic index.html file is extended with a logic that redirects to a pure HTML page in case JavaScript is not enabled.
In other words: Without Javascript support a special page is opened: “/mobile-version/(lc)/index,html”
With “(lc)” as one of the language codes used in the Mz3 Book.
The index.html file found at this location is a 100% pure HTML page: no JavaScript, no jQuery, no other libraries – only HTML and CSS code

Advantage
Content (text, links, audio/video player) otherwise hidden in images (the ‘PIMGs’: Page Images) now can be found and interpreted by programs automatically.

Key Features

  • Support of automatic translations
    Chrome, for example, offers (depending o the personal configuration) an automatic translation if the language detected on the page is different from the langue the user is using in the browser.
  • manual Translation (Cut&Paste)
    Text now can be extracted and used as in other programs (e.g. translators or editors).
  • automatic transcription to speech
    Special programs (mostly part of the operating system) can find the text and convert it into speech to support people with impaired sight.
  • Bot/Crawler Support
    bots/crawlers are programs used by browser providers to scan the internet for valuable information, which then is used for the search engines.
    For that access to text is mandatory, images cannot be interpreted (yet?).
    The search results are saved in big databases and used to fulfill search requests of the users.

It is important that the provided information is accessible, so keywords and descriptions can be found.
To make this as easy as possible for the “robots” (i.e. to best support the search engines: SEO Search Engine Optimization), Text and keywords must be presented in a well-organized way; and of course, must be readable.

The better the quality and the more significant (“good”) text can be found, the better the ranking of the website. This is important to be listed as high as possible in the list reported by the search engines.
To achieve a good “ranking” it also is important the content is readable on mobile devices, links are significant (and available) and images and other content like audio and video players are found.

Nobody knows exactly the algorithms the search engines are based on. But the new HTML option now addresses many of those requirements and the ranking of a “MegaZine2 Page” should improve significantly!

  • manual Seach
    The HTML version is the perfect base for a manual text search also.
    The usual search options available in the browser can be used. A search keyword can be entered after e.g. the shortcut “CTRL-f”.
    Hits are highlighted within the text, and the previous/next arrows allow quick navigation from hit to hit.

Creating the Search Index File

There are two options available for building the text file needed for the HTML page:

  • Automatically
    If the book is created/converted out of a PDF file, now by default the search index file is built automatically with every conversion. A conversion of a single page is sufficient to create that file, containing all text found in the PDF file!
    Nothing more needs to be done: for every language that is converted, a respective text file is created that is used as the base for the HTML version.
  • Manually
    If no PDF file is used and the book is built from images (either “Page Images PIMGs” or images like photos placed in a layout on pages, you can make use of the “(“Edit Book” – “Add SEO Text”) Window.
    When that command is entered, a search index file for the actual active language is created, if not available yet. This text file can be opened with a single click on the “Edit” button,
    The file contains a page brack line for every page of the book and comments, so you know where to add your page specific text.
    You can formulate/write that text or copy&paste any text out of other documents.
    Another option is to create a text file from a PDF with e.g. Adobe Acrobat. That file then can be added via Drag&Drop.

Use

  • automatically
    If JavaScript is disabled, the HTML-Page will open automatically. Because bots/crawlers do not use Javascript (in general), this immediately presents the text version to those crawlers and they can do their job.
  • manually
    Opening the (“Edit Book” – “Add SEO Text”) Window not only creates the template for a missing text file but also adds a special button (icon) to the navigation bar/burger menu:

A click on this button opens the HTML version on the same page.
If that icon is not needed/desired, it can be modified or deleted via the “Settings – Configure Javascript Settings – Modify Symbols” command.
But keep in mind that for test purposes it is very helpful to switch versions easily!

The symbol of that “mobile-version” button (the icon) can be exchanged with a different symbol; e.g. a “find” symbol like a spy-glass, indicating that a search is available with a click.
We recommend offering this option to all readers of a MegZine3 Book!

BTW, a switch back and force while staying on the same open page is very easy and fast:

  • Mz3 Book -> HTML version: Vial the mobile-version button
  • Back from any “page” in focus on the HTML site to the Mz3 Book: A click into the visible page area of the HTML version will switch back into the Mz3 Book on the same page.

Last modified: 21 March 2020

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