[dokuwiki] Re: renderer plugin: how to grab output from another renderer?

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 29 Aug 2011 18:55:39 +0200

>> bump... any idea or pointer on how to make the _xhtml rendering of a page
>> available to my new renderer?
>
> Regarding the output of do=export_xhtml, you can access it from php by
> downloading it...file_get_contents()

Ouch, don't do that. Better fetch the xhtml using p_cached_output().
Also have a look at the dw2pdf plugin. It does something similar.

Andi

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

Other related posts: