[WebODF] ViewerJS 0.5.6 released, bringing new parameter "startpage" and updated pdf.js & webodf.js

Friedrich W. H. Kossebau friedrich at kogmbh.com
Mon Mar 16 17:00:30 CET 2015


Dear WebODF-interested and enthusiasts,

following the release of WebODF 0.5.6, also ViewerJS, the WebODF-using 
Open Source document viewer for webpages, is available in an updated version.


Features:
It bumps both webodf.js to the latest version 0.5.6 as well as pdf.js to the 
latest stable v1.0.1040.

The customization added in 0.5.5 has been extended by a new parameter. Next to 
"zoom", "title", and "type" it is now also possible to set the initial page 
displayed, by setting the parameter "startpage" (for files of type PDF and 
ODP).

Example:
        /ViewerJS/index.html?startpage=42#some/slides/123

This will display the file fetched from "some/slides/123" and initially show 
the page 42.


Fixes:
The handling of PDFs with different page sizes has seen a fix, please try this 
version if you had problems with that before.


ViewerJS continues to be the candidate for embedding ODF or PDF files directly 
in webpages, without any external server dependencies, just done with HTML, 
CSS and Javascript. 

Please visit http://viewerjs.org/ to learn more about ViewerJS, play with the 
examples at http://viewerjs.org/examples/, and give it a deployment in your 
webpages. And then spread your knowledge among your peers 

Or try the "bower" package, listed with "viewerjs" at the central bower 
registry. We are interested to get feedback on it, please tell if it works for 
you or what could be improved.

If you use another package/dependency manager, please tell us how we can 
support it. There is currently a special repo set up for such managers which 
contains the files of the ViewerJS build, so any needed metadata file could be 
placed there:
        https://github.com/kogmbh/ViewerJS_release

Cheers
Friedrich

-- 
Friedrich W. H. Kossebau // KO GmbH
http://kogmbh.com/legal/


More information about the WebODF mailing list