TWikiMetaData 12 - 2003-06-18 - PeterThoeny
|
|
META TOPICPARENT |
name="WebHome" |
| |
Meta Data is rendered with the %META% variable. This is mostly used in the view , preview and edit scripts. | |
> > | Note: Rendering meta data is currently not supported in topic text. As a workaround, use FormattedSearch on the current topic only to render form fields. | | Current support covers:
| |
> > |
%META{"formfield"}% |
Show form field value. Parameter: name="field_name" . Example: %META{ "formfield" name="TopicClassification" }% |
| |
%META{"attachments"}% |
Show attachments, except for hidden ones. Options: all="on" : Show all attachments, including hidden ones. |
%META{"moved"}% |
Details of any topic moves. |
|
|
TWikiMetaData 11 - 2002-12-11 - PeterThoeny
|
|
META TOPICPARENT |
name="WebHome" |
| | %META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
| |
< < |
from |
Full name i.e. web.topic |
to |
Full name i.e. web.topic |
| > > |
from |
Full name, i.e., web.topic |
to |
Full name, i.e., web.topic |
| |
by |
Who did it, is the REMOTE_USER, not WikiName |
date |
integer, unx time, seconds since start 1970 |
| | META:FORM
| |
< < |
name |
A topic name - the topic represents one of the TWikiForms. Can optionally include the web name i.e. web.topic, but doesn't normally |
| > > |
name |
A topic name - the topic represents one of the TWikiForms. Can optionally include the web name (i.e., web.topic), but doesn't normally |
| |
META:FIELD | |
Viewing Meta Data in Page Source | |
< < | When viewing a topic the Raw Text link can be clicked to show the text of a topic (ie: as seen when editing). This is done by adding raw=on to URL. raw=debug shows the meta data as well as the topic data, ex: debug view for this topic | > > | When viewing a topic the Raw Text link can be clicked to show the text of a topic (i.e., as seen when editing). This is done by adding raw=on to URL. raw=debug shows the meta data as well as the topic data, ex: debug view for this topic | |
Rendering Meta Data |
|
TWikiMetaData 10 - 2002-01-12 - MikeMannix
|
|
META TOPICPARENT |
name="WebHome" |
| | Current support covers:
| |
< < |
%META{"form"}% |
Show form data, see TWikiForms |
%META{"attachments"}% |
Show attachments, exclude hidden |
Options for Attachments: |
|
all="on" |
Show ALL attachments (including hidden) |
%META{"moved"}% |
Details of any topic moves |
%META{"parent [options]"}% |
Show topic parent |
Options for parent: |
|
dontrecurse="on" |
By default recurses up tree, at some cost |
prefix="..." |
Prefix for parents, only if there are parents; default "" |
suffix="..." |
Suffix, only appears if there are parents; default "" |
separator="..." |
Separator between parents, default is " > " |
| > > |
%META{"form"}% |
Show form data, see TWikiForms. |
%META{"attachments"}% |
Show attachments, except for hidden ones. Options: all="on" : Show all attachments, including hidden ones. |
%META{"moved"}% |
Details of any topic moves. |
%META{"parent"}% |
Show topic parent. Options: dontrecurse="on" : By default recurses up tree, at some cost. nowebhome="on" : Suppress WebHome. prefix="..." : Prefix for parents, only if there are parents, default "" . suffix="..." : Suffix, only appears if there are parents, default "" . separator="..." : Separator between parents, default is " > " . |
| |
Known Issues
At present, there is no Meta Data support for Plugins. However, the format is readily extendable and the Meta.pm code that supports the format needs only minor alteration.
-- JohnTalintyre - 29 Aug 2001
| |
< < | -- MikeMannix - 03 Dec 2001 | > > | -- MikeMannix - 03 Dec 2001
-- PeterThoeny - 10 Jan 2002 |
|
TWikiMetaData 9 - 2001-12-03 - MikeMannix
|
|
META TOPICPARENT |
name="WebHome" |
| |
< < | Appendix B: TWiki Meta Data | > > | TWiki Meta Data | | | |
< < | Additional topic data, not editable from main freeform text box, stored in META variable name/value pairs | > > | Additional topic data, program-generated or from TWikiForms, is stored in META variable name/value pairs | |
Overview | |
< < | TWikiMetaData uses META variables to store topic data that's separate from the main free-form content. This includes program-generated info like FileAttachment data, and user-defined TWikiForms info. | > > | TWikiMetaData uses META variables to store topic data that's separate from the main free-form content. This includes program-generated info like FileAttachment and topic movement data, and user-defined TWikiForms info. Use META variables to format and display Meta Data. | |
Meta Data Syntax | | At present, there is no Meta Data support for Plugins. However, the format is readily extendable and the Meta.pm code that supports the format needs only minor alteration.
-- JohnTalintyre - 29 Aug 2001
| |
< < | -- MikeMannix - 02 Oct 2001
| > > | -- MikeMannix - 03 Dec 2001 |
|
|
|
 Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiMetaData
|
|