[dokuwiki] Re: memory exhausted by renderer.php

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 16 Jul 2010 10:09:21 +0200

Hi

> I already posted my question here (http://forum.dokuwiki.org/post/19886) but
> got the hint to send it directly to the mailing list.
>
> I'm just playing around with the components of dokuwiki and using the
> components to render wiki entries which come from a database.

I suggest reusing DokuWiki's methods from inc/parserutils.php:

$info = array();
$inst = p_get_instructions($your_entry_from_db);
$xhtml = p_render('xhtml',$inst,$info)


Andi

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

Other related posts: