Paul Libbrecht wrote: > Hello Wikiers, > > There is, within XWiki 1.5.4, a possibility to export as XML the > content of a page, with attachments and everything: > curl -O > 'http://user:passw...@draft.i2geo.net/xwiki/bin/view/Main/WebHome?xpage=xml' > how can I do the same with all the existing version and authors? > Adding &backup=true&history=true did not help.
You can't do that directly, as there is no public API to do it. You can write a custom page that generates the XML for a document using programming rights: $xwiki.getDocument($request.exportedDocument).getDocument().toXMLDocument(true, true, true, true, $context.context) But this exposes private information such as emails and password hashes, so use it carefully. -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users