From jos.van.den.oever at kogmbh.com Fri Jun 10 18:52:02 2011 From: jos.van.den.oever at kogmbh.com (Jos van den Oever) Date: Fri, 10 Jun 2011 18:52:02 +0200 Subject: [WebODF] Are these directions still relevant ? In-Reply-To: <4DF240FB.6040205@verizon.net> References: <4DF240FB.6040205@verizon.net> Message-ID: <201106101852.02202.jos.van.den.oever@kogmbh.com> On Friday, June 10, 2011 18:06:19 PM Mark R Swain wrote: > WebODF on a web server > http://www.webodf.org/redmine/projects/webodf/wiki/WebODF_on_a_web_server > I couldn't find the odf.html nor the css ! Hello Mark, Actually this information has just been invalidated. The new way is to use webodf.js and webodf.css function init() { var url = "myurl.odt", odfelement = document.getElementById("odf"), odfcanvas = new odf.OdfCanvas(odfelement); odfcanvas.load(url); }
webodf.js and webodf.css are located in the folder webodf and are the only two files you need. Cheers, Jos -- Jos van den Oever, software architect +49 391 25 19 15 53 074 3491911 http://kogmbh.com/legal/