[xwiki-dev] Generate PDF out of multiple wiki pages

Ludovic Dubost ludovic at xwiki.com
Tue Mar 13 23:26:29 CET 2007


One easy way to handle this is to create a page which includes the 
childrens using #includeTopic("pagename")

You could add the following script at the end of your parent page

#if($context.action=="pdf")
#set($sql = "where doc.parent='$doc.fullName'")
#foreach($item in $xwiki.searchDocuments($sql))
#includeTopic($item)
#end
#end

Ludovic

Christoph Dittmann a écrit :
> Hi all,
>
> i'm very interested in xwiki and up to now i'm very satisfied with its features.
>
> I just got one problem. I've got a wiki page with multiple subpages (children) and i want to generate a PDF which contains the wiki page with all its subpages. I couldn't find any option which enables me doing that.
> So i want to know if there is any posibility doing that.
>
> Thanks in advance
> Christoph
>   
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-dev at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>   


-- 
Ludovic Dubost
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost 
AIM: nvludo Yahoo: ludovic





More information about the devs mailing list