TWiki

Changes Index Search

Webs Book Compare GPCE06 Gmt Gpce Gpce04 Gpce05 IFIPWG211 IPA06 Main Octave PEPM07 PEPM08 PHP Sandbox Sdf Stratego Sts TWiki Tiger Tools Transform Variability default porn free porn

Meta Data Rendering

TWiki

Meta Data Rendering

Various meta data can be stored in topics - MetaDataDefinition

This is rendered using the %META% variable. This is mostly used in the view, preview and edit scripts.

At present support is fairly basic:

Variable usage: down Comment:
%META{"attachments"}% Show attachments, excluding hidden ones
%META{"form"}% Show form data, see Form Templates
%META{"moved"}% Details of any topic moves
%META{"parent [options]"}% Show topic parent
all="on" Show all attachments i.e. including hidden ones
dontrecurse="on" By default recurses up tree, this has some cost
options for attachments:
options for parent:
prefix="..." Prefix that goes before parents, but only if there are parents, default ""
seperator="..." Seperator between parents, default is " > "
suffix="..." Suffix, only appears if there are parents, default ""

Possible future additions:

  • Rendering of form data to alternate formats e.g. bullet lists
  • Specify a template to be used for rendering

-- JohnTalintyre? - 29 Aug 2001