[dokuwiki] Re: Generating HTML HEAD content with syntax plugins

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 07 Sep 2007 16:13:13 +0100

Hi,

Read up on how DW gets from the raw wiki data to the html output. There are pages at splitbrain concerning the parser, metadata and caching. Also check out action plugins, events and the events_list in particular the TPL_METAHEADER_OUTPUT event.

Before the html is produced (and before any output is sent to the browser, so before TPL_METAHEADER_OUTPUT) the page's metadata is retrieved and (re)generated if necessary. Your syntax plugin can output information to the metadata. Information that will be available to an action plugin handling later events (e.g. TPL_METAHEADER_OUTPUT).

-- Chris


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

Other related posts: