Basic Documentation

v3.0 - XML

Version 3.0 uses an XML Package File.
Below are the definitions:

  • <WikidotPackage> - Defines XML as a Wikidot Package
    • <page> - Create a page
      • <clone> - Clone page from another Wikidot Wiki
        • <site> - (Clone ONLY) site name of the clone page source (for sandbox.wikidot.com - it will be "sandbox"
        • <name> - (Clone ONLY) page name of the clone page source (for sandbox.wikidot.com/test - it will be "test"
      • <name> - the page name for the new page (e.g. blog:_template)
      • <title> - the title of the new page (e.g. Lorem Ipsum)
      • <tag> - tag(s) for the new page - separated by space (e.g. cheesecake muffin)
      • <parent> - the parent (page name) for the new page - (e.g. start)
      • <source> - the source of the new page in <![CDATA tags
      • <sourceurl> - the source will be taken from the url provided. Needs to be plain text (preferably ANSI or UTF-8)
    • <config> - Configure something from the admin:manage panel
      • <type> -type of config (e.g. autonumberate1)
      • <instruction> -the instruction for the user to configure (e.g. Set auto numbering for blog category)

Here is a sample v3.0 XML Package:

<?xml version="1.0" encoding="UTF-8" ?>
<WikidotPackage>
    <page>
        <clone>
        <site>editor</site>
        <name>thread:1</name>
        </clone>
    </page>
    <page>
        <name>sample</name>
        <title>Lorem Ipsum</title>
        <tag>lorem text</tag>
        <sourceurl>http://packages.wikidot.com/local--code/package:17/1</sourceurl>
    </page>
    <page>
        <name>sample</name>
        <title>Lorem Ipsum</title>
        <tag>lorem text</tag>
        <source>
<![CDATA[
Try to drag and drop this into the Wikidot textbox below!
]]>
        </source>
    </page>
    <config>
        <type>autonumberate</type>
        <instruction>Set autoumbering to this category</instruction>
    </config>
<WikidotPackage>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License