Wiki import

How to import existing wiki pages?

If you want to switch from tinyPM 2.x to tinyPM 3, you can migrate your existing wiki pages using XML import feature:
  • upgrade your tinypm to 2.6.6
  • sign in to tinyPM 2.6.6, go to Wiki->Actions->Export all wiki pages, you will obtain XML file as shown below
  • sign in to tinyPM 3, go to Wiki->Import wiki

Sample XML

<wiki>
  <page>
    <code>start</code>
    <title>start</title>
    <!-- dialect: CONFLUENCE, MEDIAWIKI, TEXTILE, TRAC, DOKUWIKI -->
    <dialect>DOKUWIKI</dialect>
    <!-- special: whether page is starred or not -->
    <special>true</special>
    <project>
      <code>tpm</code>
    </project>
    <body>page text</body>
    <attachments>
      <attachment>http://your-domain/tinypm/api/attachment/1?token=t</attachment>
    </attachments>
  </page>
</wiki>