Return-Path: X-Original-To: apmail-corinthia-dev-archive@minotaur.apache.org Delivered-To: apmail-corinthia-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CE4F17E3A for ; Tue, 24 Mar 2015 23:38:45 +0000 (UTC) Received: (qmail 24787 invoked by uid 500); 24 Mar 2015 23:38:45 -0000 Delivered-To: apmail-corinthia-dev-archive@corinthia.apache.org Received: (qmail 24759 invoked by uid 500); 24 Mar 2015 23:38:45 -0000 Mailing-List: contact dev-help@corinthia.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@corinthia.incubator.apache.org Delivered-To: mailing list dev@corinthia.incubator.apache.org Received: (qmail 24746 invoked by uid 99); 24 Mar 2015 23:38:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2015 23:38:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of franzdecopenhague@outlook.com designates 65.55.34.23 as permitted sender) Received: from [65.55.34.23] (HELO COL004-OMC1S13.hotmail.com) (65.55.34.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2015 23:38:18 +0000 Received: from COL401-EAS273 ([65.55.34.9]) by COL004-OMC1S13.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 24 Mar 2015 16:38:15 -0700 X-TMN: [dlXm+piX20MotHyCYF5k2379TEnqWRpG] X-Originating-Email: [franzdecopenhague@outlook.com] Message-ID: From: Franz de Copenhague To: References: <71C0525E-5804-4A83-AB3B-BCAAC058F0EB@apache.org> In-Reply-To: <71C0525E-5804-4A83-AB3B-BCAAC058F0EB@apache.org> Subject: RE: Web-based editor now in repository Date: Tue, 24 Mar 2015 19:38:22 -0400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0005_01D0666A.16CCC730" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQABAgMEoIVrcTxC2OPCsfRzUAzGdKDLEVeQ Content-Language: en-us X-OriginalArrivalTime: 24 Mar 2015 23:38:15.0401 (UTC) FILETIME=[9968BD90:01D0668B] X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0005_01D0666A.16CCC730 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: Peter Kelly [mailto:pmkelly@apache.org] > Sent: Thursday, March 12, 2015 7:01 AM > To: dev@corinthia.incubator.apache.org > Subject: Web-based editor now in repository >=20 > I=E2=80=99ve just committed the proof-of-concept web-based app built = on the editing > library to the repository, in consumers/web/client. This is the same = as what I > mentioned yesterday on the list at http://web-demo.uxproductivity.com > except that it directly references the latest .js files in the = Editor/src directory, > rather than the older version of the code in the one I just mentioned. >=20 > Now that it=E2=80=99s in the repository, feel free to have a look at = and play around > with it :) It=E2=80=99s *very* basic at the moment, but should at = least be useful as a > starting point. >=20 > Note that while it=E2=80=99s technically possible for the UI code to = access all global > functions provided within the editor, only some of those are meant to = be > public (that is, usable by UI code), while others are considered = =E2=80=9Cprivate=E2=80=9D. The > full list of public API functions is at > https://cwiki.apache.org/confluence/display/Corinthia/API+reference - > please make sure you only call those functions. >=20 > The code here is client-side only, and I have only confirmed that it = works in > Safari and Chrome (which are also what I use for running all the = testcases for > the library - see Editor/tests/testharness.html). >=20 > Depending on your setup, you may run into errors relating to the JS = code > being unable to load resources from the local filesystem. If this is = the case, > set up a local web server on your machine, with the web server root = equal to > the repository, and then access it via the following URL: >=20 > http://localhost:8000/consumers/web/client/index.html >=20 > If you have Python installed, you can start up a web server easily as = follows: >=20 > cd ~/Corinthia > python -m SimpleHTTPServer >=20 > or if you prefer to use python3: >=20 > python3 -m http.server >=20 > With Franz already having started work on a server-side version, we = may be > able to get something quite usable in the not-too-distanct future. = This is > quite exciting! >=20 > =E2=80=94 > Dr Peter M. Kelly > pmkelly@apache.org >=20 > PGP key: http://www.kellypmk.net/pgp-key > (fingerprint 5435 6718 59F0 DD1F = BFA0 > 5E46 2523 BAA1 44AE 2966) I have extended the editor proof-of-concept in a fake web-based app = using the editor that simulates a GET request of sample.docx file. I have modified a little the files interface.js and uxeditor.js with = extra parameters (iframe src and resources path) to be able to integrate = the editor in a different location. franz ------=_NextPart_000_0005_01D0666A.16CCC730--