Loading...
 

XML Import-Export


See also MediaWiki Importer

Introduced in Tiki3

(2022-08-14) The XML Import-Export feature is outdated, thereby broken and barely documented. It uses image galleries, which are no longer supported in Tiki. Both the import and export of images is broken.

It was possible to import/or export a list of pages or a structure in an xml format
Each page could be exported with:

  • its history
  • its comments
  • its attached files
  • its images


The export produced a zip file containing

  • a wiki.xml page
  • a directory for each page. And each of this directory
    • page.txt: that contains the data of a page
    • a directory attachments that contains all the attached files of the page
    • a directory images that contains all the images contained in the page (via the wiki plugin
       Plugin Image
      No image specified. One of the following parameters must be set: fileId, randomGalleryId, fgalId, attId or src.
      )
    • a directory history that contains all the data of each history


Example of a wiki.xml page

Copy to clipboard
noel me Joyeux Noel /test/tikiwikitrunk/tiki-download_file.php?fileId=2&display 89597 image/jpeg

This example is very simplified. More fields are provided

For a structure we will have something like

Copy to clipboard
noel 1 noel 1.1 noel 2 noel


The export could be done in wiki->List pages or in Structures-> List structures
The import could be done by calling tiki-import_xml_zip.php
You need to have tiki_p_admin to do the import and the export

Image

List Slides
XML Import-Export See also MediaWiki Importer Introduced in Tiki3 (2022-08-14) The XML Import-Export feature is outdated, thereby broken and barely documented. It uses image galleries, which are no longer supported in Tiki. Both the import and export of images is broken. It was possible to import/or export a list of pages or a structure in an xml format Each page could be exported with: its history its comments its attached files its images The export produced a zip file containing a wiki.xml page a directory for each page. And each of this directory page.txt: that contains the data of a page a directory attachments that contains all the attached files of the page a directory images that contains all the images contained in the page (via the wiki plugin Plugin Image No image specified. One of the following parameters must be set: fileId, randomGalleryId, fgalId, attId or src. ) a directory history that contains all the data of each history Example of a wiki.xml page Copy to clipboard noel me Joyeux Noel /test/tikiwikitrunk/tiki-download_file.php?fileId=2&display 89597 image/jpeg This example is very simplified. More fields are provided For a structure we will have something like Copy to clipboard noel 1 noel 1.1 noel 2 noel The export could be done in wiki->List pages or in Structures-> List structures The import could be done by calling tiki-import_xml_zip.php You need to have tiki_p_admin to do the import and the export