Hi Cristina, Cristina Scheau wrote:
Hi everybody!
I still have a doubt regarding the xhtml - xwiki convertor. My problem is how I handle the fact that the xwiki Documents can be written also in xwiki syntax 1.0 and 2.0. I've take a look over http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-rendering/xwiki.... (this one is for xwiki syntax 2.0 . For 1.0 what should I use?)
I think you should focus only on XWiki 2.0 syntax.
What about the WYSIWYG services? can I use with more syntaxes? I've heard also that the cleaner and converter module will be out of the server package.. when will happen? (I would like in these three weeks to implement a basic bidectional convertor - and change it after the new xml-rpc services will be done.
You can find the converter used by the WYSIWYG here: http://tinyurl.com/nkabqg . It converts from HTML to any syntax supported by the rendering module and from a supported syntax to HTML. So it is a bidirectional converter for HTML. We could extend it to a generic converter component (from any syntax to any syntax). I know we discussed about this a while ago and the conclusion was that is wasn't required but it seems to be useful. The converter component could be used by the WYSIWYG and the XML-RPC services. I'll split the WYSIWYG server and client code in two modules asap so you'll be able to use the HTML converter. Marius
Best regards, Cristina
On Tue, May 19, 2009 at 6:18 PM, Marius Dumitru Florea < [email protected]> wrote:
Hi Cristina,
Florin Ciubotaru wrote:
Hi,
Since XOO is a client app you won't be using these components directly. You need to have this functionality exposed in a service like XML-RPC, REST or whatever you have decided to use.
Hi Cristina,
On Tue, May 19, 2009 at 1:18 PM, Cristina Scheau <[email protected]>wrote:
Hello!
For the XOO project, I would need a conversion module which has two components: 1. converter from the swriter html in pure html. 2. bidirectional converter wiki syntax - html.
Actually for these two particular issues you don't need the office importer specific code. You just need the html cleaner and rendering components. The WYSIWYG is closer to your use case. Here's how the WYSIWYG services use the rendering and html cleaner:
Asiri Rathnayake wrote: -
https://svn.xwiki.org/svnroot/xwiki/platform/web/tags/xwiki-web-1.9-mileston...
There's a lot of code there. Here's how you can use the HTML cleaner:
http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/wysiwyg/src/main/java/...
And here's how you can convert from HTML to Wiki and back:
http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/wysiwyg/src/main/java/...
Hope this helps, Marius
Is this already done in the Office Importer project? If yes, I would be grateful if you tell me where can I find this components. Thanks, Florin Ciubotaru
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs