Sample: Looking Below the Surface


This post is part of the series – 2015_08_samples. Other posts:
  1. Introduction: Time to Move Forward
  2. Sample: Advancing Portable Documents for the Open Web Platform: Epub+Web
  3. Sample: Bridging the Web and Digital Publishing
  4. Sample of “5DOC Book ” – Art Book
  5. Sample: Looking Below the Surface (Current)

Click to go to the sample
Click to go to the sample

The last sample – Part IV of the 5DOC series of new offline prototype documents – is the same document as the first sample in native format, but with quasi-offline content supplemented with downloaded data. The content of the other version in Part I was taken from the source of the web page, and this version contains material that is download when the offline page is loaded in a browser.

Don’t take my word for it! Download and load it into a browser tab with a live internet connection and into another tab with the connection off.

OK, so it’s not 100% offline, but it offers an innovative new option. The 5DOC now becomes a living document that is referenced as a file instead of a bookmark or a multistep search and navigate process to find the updated version of a given document.

Open the file in a browser and enjoy an updated version.


Sample: HTMLBook Documentation


Note (11 November 2015): this sample has been unpublished due to a change in approach by 5DOC for producing content with code syntax highlighting. Previously, 5DOC used a WordPress plugin and abstracted the relevant code for the 5DOC downloaded version.

Over time it has become obvious that in fact each sample has a different approach to code syntax highlighting and the goal should be flexibility not consistency. All links below initially to the 5DOC sample, now link to the original content.


HTMLBook–Unofficial Draft by O’Reilly Media, Inc proposes a standard for an HTML5 book based on XHTML5. This online sample is now available for download and offline use.

Arguments about HTML5 vs XHTML5 are about as clear as a discussion of the difference between General Motors and Opel. Once the “scout” in you indulges in learning, you then discover you have wasted your time. Gut instinct: go with HTML5. Here is one debate.

We have to ask ourselves what is the point? IMHO too much effort is made to make things complicated and less useful–to stay within known parameters. But why do we need e-readers when we have browsers and why do we need XHTML5 when we have JSON? is busy developing the capability to represent WordPress content with JSON Rest API. And there is already interest in extracting JSON from EPUB. So it is very realistic to project the capability to go from WordPress ⇔ HTML5 and from other forms of data structure ⇒ (WordPress || HTML5).

Sample: Embedded Images



This example of Embedded Images from the Project Gutenberg is now available for download.

This document includes several images embedded on the fly using a customised version of the EP Image Base64 Encode plugin. Samples with encoded audio and video will be released ASAP.

A complex 5DOC.ORG HTML5 document containing media, Javascript, CSS and more can easily be produced and is much more functional and feature-full than the dead as a doormat PDF file.

What you see on your on-line web pages is virtually identical to what you retain offline!



Screen Shot 2014-07-01 at 20.51.26

5DOC.ORG documents support annotations

Where tagged, annotations can be added to a downloaded 5DOC.ORG document.

Samples with an Annotate tag contain code that enables the adding and storing of annotations if the user has an account with AnnotateIt.

If signed up and logged in to the AnnotateIt service, click on the AnnotateIt bookmark or button at the top of a 5DOC.ORG document, select some text and click the popup to add an annotation.

As annotations are stored on the AnnotateIT site, they will be available when the document is opened on any compatible platform.