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

  • From: Håkan Sandell <sandell.hakan@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 29 Aug 2011 18:45:58 +0200

2011/8/29 B Berteh <berteh@xxxxxxxxxxx>:
> bump... any idea or pointer on how to make the _xhtml rendering of a page
> available to my new renderer?

Well, DokuWiki renderers don't work that way, they are feed page
instructions from a cached list and render each instruction. Of cause
there are a document_end() function you can use to skip this and
insert any output you like.
But having a separate PHP script is better IMHO, you can only have one
renderer at a time.

Regarding the output of do=export_xhtml, you can access it from php by
downloading it...file_get_contents()

/Håkan
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: