Forum OpenACS Q&A: Re: xowiki - data export
The easiest way to export all data from an xowiki instance is to point you browser to xowiki/admin and press export. The result is a plain text file containing all data as xotcl objects. These objects can be loaded into plain Tcl to do with it whatever you want. This is the most flexible approach and allows to import the contents of an xowiki instance into other systems and as well to import data from other systems into xowiki.
If you need a more text oriented approach, you will probably need pages in a certain order. One can use the prototype page "book" and produce a single HTML file from all pages of the xowiki instance, including a table of contents. This requires to specify the page order (section) to define the order and which pages should be exported.
For example, the static HTML file http://media.wu-wien.ac.at/download/xowiki-doc/ was generated this way with minor editing on the result.
One can load the generated HTML file into OpenOffice and save it as ODT. If you want to go towards pdf, there are several options to go from HTML to pdf as well.
I read through the xowiki docs regarding exporting using the book prototype, but wasn't able to render all pages in the instance into this format.
Can you provide instructions on how to generate a page similar to http://media.wu-wien.ac.at/download/xowiki-doc/ from all pages in an instance?
Save the page generated page and edit as desired (e.g. adding style-files, adding more info, etc.). You can also make your own variant of the book-print page, which can be found in packages/xowiki/book-print.page). The single html-file can be converted to pdf using the usual html-conversion tools, or can be printed into pdf.
For exporting all pages (e.g. exchange between instances), use the export functionality in admin).