[dokuwiki] Re: Using the Dokuwiki engine outside Dokuwiki?
- From: Tux <cactux@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 11 Nov 2008 14:43:22 +0100
2008/11/8, Tux <cactux@xxxxxxxxx>:
> Hello,
>
> How can I re-use the Dokuwiki engine in a page outside the scope of Dokuwiki?
> I have a page with some text that I would like to transform in HTML,
> but it is not in my current Dokuwiki.
> Is it possible to do something like this, where $my_text contains a
> text with Dokuwiki syntax:
> <?php
> include_once("path_to_doukiwi/some_file.php");
> $my_html = dokuwiki_function($my_text);
> ?>
> Then I can echo $my_html :)
I found another way: I'll use Markdown. It is not as good as Dokuwiki,
but it is made for that purpose exactly.
For more information: http://daringfireball.net/projects/markdown/
If you find a way to use Dokuwiki's text to html conversion engine,
please tell me as I would prefer to use it. Meanwhile, I have a
solution, so this is not urgent.
Thanks
Yann
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
Other related posts: