2007/12/11, Vincent Massol <vincent@massol.net>:

On Dec 11, 2007, at 1:00 AM, 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?

It's a url yes.

Agree.

> Also can I control the structure of the exported HTML?

what's your need?

Did not understood this.

> I would like to
> be able to apply any CSS to the site that is output.

By default we export the albatross skin in a directory. This skin
contains css files. You can certainly replace these CSS with your own.

In fact we export all skins used by exported pages.

> Can I trigger this with a webservice call?

Since it's a URL you can simply call it with any http client.

Agree.

> 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.

Note: I haven't tried it yet but I'll do soon.

Thanks
-Vincent

_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs



--
Thomas Mortagne