Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/TWikiMetaData?rev1=12&rev2=8
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 22:14:21 2014
Кодировка:
%TOPICTITLE% (8 vs. 12) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r12  >  r11  >  r10  >  r9  >  r8  ...
TWikiMetaData 12 - 2003-06-18 - PeterThoeny
Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Line: 131 to 131
  Meta Data is rendered with the %META% variable. This is mostly used in the view, preview and edit scripts.
Added:
>
>
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:

Variable usage: Comment:
%META{"form"}% Show form data, see TWikiForms.

Added:
>
>
%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
Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Line: 57 to 57
 %META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%

Key Comment

Changed:
<
<
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
Line: 94 to 94
 

META:FORM

Key Comment

Changed:
<
<
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

Line: 124 to 124
 

Viewing Meta Data in Page Source

Changed:
<
<
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
Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Line: 134 to 134
 Current support covers:

Variable usage: Comment:

Changed:
<
<
%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

Changed:
<
<
-- MikeMannix - 03 Dec 2001
>
>
-- MikeMannix - 03 Dec 2001
-- PeterThoeny - 10 Jan 2002

TWikiMetaData 9 - 2001-12-03 - MikeMannix
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Changed:
<
<

Appendix B: TWiki Meta Data

>
>

TWiki Meta Data

 
Changed:
<
<
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

Changed:
<
<
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

Line: 151 to 151
 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

Changed:
<
<
-- MikeMannix - 02 Oct 2001
>
>
-- MikeMannix - 03 Dec 2001

Revision 12r12 - 2003-06-18 - 21:19:00 - PeterThoeny
Revision 11r11 - 2002-12-11 - 07:30:00 - PeterThoeny
Revision 10r10 - 2002-01-12 - 23:23:53 - MikeMannix
Revision 9r9 - 2001-12-03 - 12:53:00 - MikeMannix
Revision 8r8 - 2001-10-02 - 07:38:10 - MikeMannix
This site is powered by the TWiki collaboration platformCopyright © 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
Syndicate this site RSSATOM