[dokuwiki] dokuwiki2html
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx <dokuwiki@xxxxxxxxxxxxx>
- Date: Fri, 25 Jan 2008 14:58:31 +0100
Hi list, hi Pierre!
As promised on IRC, here is my first hacking attempt at writing a
HTML2DokuWiki parser in pure PHP as replacement for the Perl module
used in the FCKW plugin.
This is very rough code and still needs a lot of work. If anyone
wants to pick it up from here feel free to do so.
The script will take a .html file as first parameter and will try to
parse it into DokuWiki syntax (with mlots of debug output currently):
$> php html2dokuwiki.php testfile.html
You need the html parser library from http://php-html.sourceforge.net/
Andi
--
http://www.splitbrain.org
Other related posts:
- » [dokuwiki] dokuwiki2html