Hi, On Tue, Jan 27, 2009 at 10:30 AM, Asiri Rathnayake < [email protected]> wrote:
Hi Guillaume,
Another thing I've been wondering about: should we keep a copy of the
original office document attached to the wiki page it has been converted to? It could be useful in some cases, when using a wiki page as a displayer for a document that can be edited through webdav in its original format and displayed on a wiki page for quick view... But maybe that makes more sense for presentations than for Word documents. [I know this is akin to thread hijacking - please move this part in another thread if planning a lengthy answer ;-)]
Ok, only now I realized what you meant.... yes this would be great! For an example on a wiki page someone would put:
$officeimporter.importDocument($doc.fullName, "test.doc", true)
and the return string would be xwiki 2.0 code for test.doc. (the final boolean flag is used to differentiate between html and xwiki2.0)
Exactly :-) But as I stated it, this might make more sense for presentations and spreadsheets than for text since the WYSIWYG editor is meant to let the user edit text in the wiki.
This coupled with webdav would make page editing really easy. There are several issues we need to be concerned about:
1. Requires a live oo server running all the time. (ok) 2. Officeimporter will be invoked each time the page is loaded (not good)
I could see 2 solutions: 1. Caching + a "force refresh" button included in the macro that calls the document (I don't know how hard this is to do) 2. Use the non-filtered xhmtl output to soften the server load a bit User will hit the button repeatedly only in near real-time situations, when they want to see their work online right away. Thus heavy load happens only for a short period of time. When they're done working, the document is cached and it renders as a classic wiki page.
3. Requires webdav ui integration. (ok)
My concern is point 2, which is too much of an overhead.
WDYT?
In any case, that's not a priority. I've got a couple other ideas regarding improvements we could bring to the Office Importer, I'll start a new thread to discuss them. Guillaume
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://guillaumelerouge.com/