DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:tikiwiki2dokuwiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tips:tikiwiki2dokuwiki [2014-02-25 22:50] 50.78.32.25tips:tikiwiki2dokuwiki [2023-03-02 12:03] (current) Aleksandr
Line 15: Line 15:
 <file> <file>
 <?php <?php
- // You must copy utf8.php from Dokuwki in the same directory+ // You must copy utf8.php from DokuWiki in the same directory
  // and create a pages directory.  // and create a pages directory.
  
Line 140: Line 140:
 mysql_close($link);  mysql_close($link); 
 </file> </file>
 +
 +==== Discussion ====
 +
 +This php script does the job good, but only does 50% of the job. I have 67 wiki page but it only output (to ''%%<present-working-directory>%%/pages'' ) 60 pages. And the main issue is character outside of ASCII don't convert (I have ''/var/www/dokuwiki/inc/utf8.php'' include in %%<present-working-directory>%%), and some other syntax don't convert especially html tag ( ''%%{DIV(class="someclass")}some content{DIV}%%'' ).\\
 +But this script is a good starting point I think, it probably work well after some trim. Thanks for sharing :-) --- [[user>treegb]] 2016-10-07.
tips/tikiwiki2dokuwiki.1393365031.txt.gz · Last modified: 2014-02-25 22:50 by 50.78.32.25

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki