[dokuwiki] Re: embedding a wiki article into a standalone php page

  • From: Xavier <err.network@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 24 Aug 2010 08:47:39 -0400

Bill and freggeln,

Thanks for your help, I was able to solve my problem fairly easily
after reading the thread. If it helps anybody in the future, this is
what I did based on that example:

<?php
include_once('/var/www/test.local/inc/init.php');
include_once('/var/www/test.local/inc/parserutils.php');
$info = array();
$inst = p_get_instructions(implode('',
file('/var/www/test.local/data/pages/start.txt')));
print p_render('xhtml',$inst,$info);
?>

Now I can embed wiki entries into other pages :)

Xavier
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: