On 13 Dec 07, at 12:51 AM 13 Dec 07, Sergiu Dumitriu wrote: > Jason van Zyl wrote: >> On 4 Dec 07, at 2:44 AM 4 Dec 07, Thomas Mortagne wrote: >> >>> Hi all, >>> >>> One Codehaus (http://www.codehaus.org/) need to eventually use XWiki >>> as main web site engine would be for us to implement an HTML export >>> feature. >>> >>> I made some work on this and I propose to commit on 1.3 (Sergiu just >>> created the 1.2 branch) a new ExportAction (like the pdf/rtf one) >>> that >>> handle HTLM/ZIP export (http://jira.xwiki.org/jira/browse/ >>> XWIKI-564): >>> - support a range a multiwiki pages in view mode without request >>> parameters >>> - add skin dependencies in the package >>> - add attachments in the package >>> - modify links targeting skin, attachment and exported pages in >>> exported pages (using a custom URL factory) >>> - package all this in a zip file >>> >> >> So will this be a single action that I can run? >> >> Also can I control the structure of the exported HTML? I would like >> to >> be able to apply any CSS to the site that is output. > > You can always add &skin=XWiki.MyExportSkin to the URL in order to > generate the HTML with a different skin, where skin involves both the > HTML structure of the document and css. What it can't change is the > HTML > generated by the wiki code, but an XSL could fix this. >
Cool, that will do it. > As for Doxia filters, that's on the way, but still far from the 1.2 > release... > >> >> Can I trigger this with a webservice call? > > If by webservice you mean SOAP, then not yet... If you mean REST, then > sure. If you mean XmlRpc, then just ask for it strongly enough and it > will be available. > REST is fine. I hate SOAP so whenever I talk about webservices I definitely won't be talking about SOAP. SOAP is dead. >> >> Those are my use cases. I know, very demanding :-) >> >> But this would allow integration into existing system to that XWiki >> could be integrated into any existing system. >> >>> WDYT ? >>> > > > Sergiu > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs Thanks, Jason ---------------------------------------------------------- Jason van Zyl Founder, Apache Maven jason at sonatype dot com ---------------------------------------------------------- Three people can keep a secret provided two of them are dead. -- Unknown _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

