TWiki.MetaDataRendering (r1.1 vs. r1.3)
Diffs

 <<O>>  Difference Topic MetaDataRendering (r1.3 - 11 Jan 2002 - PeterThoeny)
Changed:
<
<
META TOPICINFO MikeMannix? date="999187860" format="1.0" version="1.2"
>
>
META TOPICINFO PeterThoeny date="1010736000" format="1.0" version="1.3"

META TOPICPARENT TWikiTemplates

Meta Data Rendering

Line: 9 to 9

At present support is fairly basic:

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

Possible future additions:

  • Rendering of form data to alternate formats e.g. bullet lists
Line: 25 to 24

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

-- JohnTalintyre? - 29 Aug 2001
Added:
>
>
-- PeterThoeny - 10 Jan 2002

 <<O>>  Difference Topic MetaDataRendering (r1.2 - 30 Aug 2001 - MikeMannix?)
Changed:
<
<
META TOPICINFO JohnTalintyre? date="999103602" format="1.0" version="1.1"
>
>
META TOPICINFO MikeMannix? date="999187860" format="1.0" version="1.2"

META TOPICPARENT TWikiTemplates
Added:
>
>

Meta Data Rendering

Various meta data can be stored in topics - MetaDataDefinition

Line: 23 to 24

Possible future additions:
  • Rendering of form data to alternate formats e.g. bullet lists
  • Specify a template to be used for rendering
Changed:
<
<
>
>

-- JohnTalintyre? - 29 Aug 2001

 <<O>>  Difference Topic MetaDataRendering (r1.1 - 29 Aug 2001 - JohnTalintyre?)
Line: 1 to 1
Added:
>
>
META TOPICINFO JohnTalintyre? date="999103602" format="1.0" version="1.1"
META TOPICPARENT TWikiTemplates

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

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


Topic: MetaDataRendering . { View | Diffs | r1.3 | > | r1.2 | > | r1.1 | More }

Revision r1.1 - 29 Aug 2001 - 16:22 - JohnTalintyre?
Revision r1.3 - 11 Jan 2002 - 08:00 - PeterThoeny