
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored embedded in the topic text usingMETA: tags
On this page:
OverviewBy default, TWiki stores topics in files on disk, in a really simple and obvious directory structure. The big advantage of this approach is that it makes it really easy to manipulate topics from outside TWiki, and is also very safe; there are no complex binary indexes to maintain, and moving a topic from one TWiki to another is as simple as copying a couple of text files. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | To keep eveything together in one place, TWiki uses a simple method for embedding additional data (program-generated or from TWikiForms) in topics. It does this using META: tags. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | To keep everything together in one place, TWiki uses a simple method for embedding additional data (program-generated or from TWikiForms) in topics. It does this using META: tags. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
META: data includes program-generated info like FileAttachment and topic movement data, and user-defined TWikiForms info.
Meta Data Syntax
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
You can render form fields in topic text by using the FORMFIELD variable. Example:%FORMFIELD{"TopicClassification"}% For details, see VarFORMFIELD. Current support covers:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deleted: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored embedded in the topic text usingMETA: tags
On this page:
OverviewBy default, TWiki stores topics in files on disk, in a really simple and obvious directory structure. The big advantage of this approach is that it makes it really easy to manipulate topics from outside TWiki, and is also very safe; there are no complex binary indexes to maintain, and moving a topic from one TWiki to another is as simple as copying a couple of text files. To keep eveything together in one place, TWiki uses a simple method for embedding additional data (program-generated or from TWikiForms) in topics. It does this usingMETA: tags.
META: data includes program-generated info like FileAttachment and topic movement data, and user-defined TWikiForms info.
Meta Data Syntax
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
You can render form fields in topic text by using the FORMFIELD variable. Example:%FORMFIELD{"TopicClassification"}% For details, see VarFORMFIELD. Current support covers:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deleted: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | TWiki Meta Data | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | TWiki Meta Data | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | Additional topic data, program-generated or from TWikiForms, is stored in META variable name/value pairs | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | Additional topic data, program-generated or from TWikiForms, is stored embedded in the topic text using META: tags | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 and topic movement data, and user-defined TWikiForms info. Use META variables to format and display Meta Data. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | By default, TWiki stores topics in files on disk, in a really simple and obvious directory structure. The big advantage of this approach is that it makes it really easy to manipulate topics from outside TWiki, and is also very safe; there are no complex binary indexes to maintain, and moving a topic from one TWiki to another is as simple as copying a couple of text files. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | To keep eveything together in one place, TWiki uses a simple method for embedding additional data (program-generated or from TWikiForms) in topics. It does this using META: tags.
META: data includes program-generated info like FileAttachment and topic movement data, and user-defined TWikiForms info. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Meta Data Syntax
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
You can render form fields in topic text by using the FORMFIELD variable. Example:%FORMFIELD{"TopicClassification"}% For details, see VarFORMFIELD. Current support covers:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deleted: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Related Topics: DeveloperDocumentationCategory, UserDocumentationCategory | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deleted: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | -- Contributors: TWiki:Main.JohnTalintyre | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
On this page:
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs
OverviewTWikiMetaData usesMETA 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
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Example of Format
%META:TOPICINFO{version="1.6" date="976762663" author="LastEditorWikiName" format="1.0"}%
text of the topic
%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName"
by="TopicMoverWikiName" date="976762680"}%
%META:TOPICPARENT{name="NavigationByTopicContext"}%
%META:FILEATTACHMENT{name="Sample.txt" version="1.3" ... }%
%META:FILEATTACHMENT{name="Smile.gif" version="1.1" ... }%
%META:FORM{name="WebFormTemplate"}%
%META:FIELD{name="OperatingSystem" value="OsWin"}%
%META:FIELD{name="TopicClassification" value="PublicFAQ"}%
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
You can render form fields in topic text by using the FORMFIELD variable. Example:%FORMFIELD{"TopicClassification"}% For details, see VarFORMFIELD. Current support covers:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | Note: SEARCH can also be used to render meta data, see examples in FormattedSearch and SearchPatternCookbook. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
Related Topics: DeveloperDocumentationCategory, UserDocumentationCategory | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | -- Contributors: TWiki:Main.JohnTalintyre | ||||||||||||||||||||||||||||||||||||||||||||||||||||
On this page:
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs
OverviewTWikiMetaData usesMETA 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 | |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
Example of Format
| |||||||||
| Changed: | |||||||||
| < < | text of the topic | ||||||||
| > > | text of the topic | ||||||||
| %META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" | |||||||||
| Changed: | |||||||||
| < < | by="TopicMoverWikiName" date="976762680"}% | ||||||||
| > > | by="TopicMoverWikiName" date="976762680"}% | ||||||||
%META:TOPICPARENT{name="NavigationByTopicContext"}%
%META:FILEATTACHMENT{name="Sample.txt" version="1.3" ... }%
%META:FILEATTACHMENT{name="Smile.gif" version="1.1" ... }%
%META:FORM{name="WebFormTemplate"}%
%META:FIELD{name="OperatingSystem" value="OsWin"}%
%META:FIELD{name="TopicClassification" value="PublicFAQ"}%
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO | |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}% | |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
META:TOPICPARENT | |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
META:FILEATTACHMENT | |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| Extra fields that are added if an attachment is moved: | |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
META:FORM | |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read. | |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons: | |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| The recommended sequence is: | |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
You can render form fields in topic text by using the FORMFIELD variable. Example:%FORMFIELD{"TopicClassification"}% | |||||||||
| Changed: | |||||||||
| < < | For details, see TWikiVariables#VarFORMFIELD. | ||||||||
| > > | For details, see VarFORMFIELD. | ||||||||
| Current support covers: | |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
%META{"attachments"}% | Show attachments, except for hidden ones. Options: | |||||||||
| Changed: | |||||||||
| < < | all="on": Show all attachments, including hidden ones. | | ||||||||
| > > | all="on": Show all attachments, including hidden ones. | | ||||||||
%META{"parent"}% | Show topic parent. Options: | |||||||||
| Changed: | |||||||||
| < < | 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 " > ". | | ||||||||
| > > | 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 IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
Related Topics: DeveloperDocumentationCategory, UserDocumentationCategory
| |||||||||
| Deleted: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs
OverviewTWikiMetaData usesMETA 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
Example of Format | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | %META:TOPICINFO{version="1.6" date="976762663" author="PeterThoeny" format="1.0"}% | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | %META:TOPICINFO{version="1.6" date="976762663" author="LastEditorWikiName" format="1.0"}% | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| text of the topic %META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | by="JohnTalintyre" date="976762680"}% | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | by="TopicMoverWikiName" date="976762680"}% | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
%META:TOPICPARENT{name="NavigationByTopicContext"}%
%META:FILEATTACHMENT{name="Sample.txt" version="1.3" ... }%
%META:FILEATTACHMENT{name="Smile.gif" version="1.1" ... }%
%META:FORM{name="WebFormTemplate"}%
%META:FIELD{name="OperatingSystem" value="OsWin"}%
%META:FIELD{name="TopicClassification" value="PublicFAQ"}%
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
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 (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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | You can render form fields in topic text by using the FORMFIELD variable. Example: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | %FORMFIELD{"TopicClassification"}% For details, see TWikiVariables#VarFORMFIELD. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Current support covers:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | | %META{"attachments"}% | Show attachments, except for hidden ones. Options: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | | %META{"attachments"}% | Show attachments, except for hidden ones. Options: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
all="on": Show all attachments, including hidden ones. |
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | -- TWiki:Main.JohnTalintyre -- TWiki:Main.MikeMannix -- TWiki:Main.PeterThoeny | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | Related Topics: DeveloperDocumentationCategory, UserDocumentationCategory | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | On this page:
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs
OverviewTWikiMetaData usesMETA 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
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, 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:
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
-- TWiki:Main.JohnTalintyre-- TWiki:Main.MikeMannix -- TWiki:Main.PeterThoeny | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | On this page:
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs
OverviewTWikiMetaData usesMETA 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
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, 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:
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
-- TWiki:Main.JohnTalintyre-- TWiki:Main.MikeMannix -- TWiki:Main.PeterThoeny | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
On this page:
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs
OverviewTWikiMetaData usesMETA 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
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
| |||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
| |||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||
Notes:
META:TOPICPARENT
META:FILEATTACHMENT
| |||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, 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:
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
-- TWiki:Main.JohnTalintyre-- TWiki:Main.MikeMannix -- TWiki:Main.PeterThoeny | |||||||||||||||||||||||||
On this page:
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs
OverviewTWikiMetaData usesMETA 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
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, 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:
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | -- JohnTalintyre - 29 Aug 2001 -- MikeMannix - 03 Dec 2001 -- PeterThoeny - 10 Jan 2002 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | -- TWiki:Main.JohnTalintyre -- TWiki:Main.MikeMannix -- TWiki:Main.PeterThoeny | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
On this page:
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs
OverviewTWikiMetaData usesMETA 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
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, 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:
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
-- JohnTalintyre - 29 Aug 2001 -- MikeMannix - 03 Dec 2001 -- PeterThoeny - 10 Jan 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
On this page:
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs
OverviewTWikiMetaData usesMETA 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
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, 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:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
-- JohnTalintyre - 29 Aug 2001 -- MikeMannix - 03 Dec 2001 -- PeterThoeny - 10 Jan 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
On this page:
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs
OverviewTWikiMetaData usesMETA 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
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
| |||||||||||||||||
| Changed: | |||||||||||||||||
| < < |
| ||||||||||||||||
| > > |
| ||||||||||||||||
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
| |||||||||||||||||
| Changed: | |||||||||||||||||
| < < |
| ||||||||||||||||
| > > |
| ||||||||||||||||
Notes:
META:TOPICPARENT
| |||||||||||||||||
| Changed: | |||||||||||||||||
| < < |
| ||||||||||||||||
| > > |
| ||||||||||||||||
META:FILEATTACHMENT
| |||||||||||||||||
| Changed: | |||||||||||||||||
| < < |
| ||||||||||||||||
| > > |
| ||||||||||||||||
Extra fields that are added if an attachment is moved:
| |||||||||||||||||
| Changed: | |||||||||||||||||
| < < |
| ||||||||||||||||
| > > |
| ||||||||||||||||
META:FORM
| |||||||||||||||||
| Changed: | |||||||||||||||||
| < < |
| ||||||||||||||||
| > > |
| ||||||||||||||||
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read. | |||||||||||||||||
| Changed: | |||||||||||||||||
| < < |
| ||||||||||||||||
| > > |
| ||||||||||||||||
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
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 DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
Current support covers: | |||||||||||||||||
| Changed: | |||||||||||||||||
| < < |
%META{"attachments"}% | Show attachments, except for hidden ones. Options: | ||||||||||||||||
| > > |
%META{"attachments"}% | Show attachments, except for hidden ones. Options: | ||||||||||||||||
all="on": Show all attachments, including hidden ones. | | |||||||||||||||||
| Changed: | |||||||||||||||||
| < < |
%META{"parent"}% | Show topic parent. Options: | ||||||||||||||||
| > > |
%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 IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
-- JohnTalintyre - 29 Aug 2001 -- MikeMannix - 03 Dec 2001 | |||||||||||||||||
| Changed: | |||||||||||||||||
| < < | -- PeterThoeny - 10 Jan 2002 | ||||||||||||||||
| > > | -- PeterThoeny - 10 Jan 2002 | ||||||||||||||||
On this page:
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs
OverviewTWikiMetaData usesMETA 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
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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
Rendering Meta DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
Current support covers:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deleted: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
-- JohnTalintyre - 29 Aug 2001 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | -- MikeMannix - 03 Dec 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | -- MikeMannix - 03 Dec 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | -- PeterThoeny - 10 Jan 2002 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
On this page:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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
Rendering Meta DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
Current support covers:
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
-- JohnTalintyre - 29 Aug 2001 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | -- MikeMannix - 02 Oct 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | -- MikeMannix - 03 Dec 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
On this page:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | TWiki Meta Data | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | Appendix B: TWiki Meta Data | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Additional topic data, not editable from main freeform text box, stored in META variable name/value pairs
OverviewTWikiMetaData usesMETA 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.
Meta Data Syntax
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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
Rendering Meta DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
Current support covers:
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | -- JohnTalintyre - 29 Aug 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | -- JohnTalintyre - 29 Aug 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | -- MikeMannix - 02 Oct 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
On this page:
TWiki Meta Data | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | Topic data not editable from main freeform text box, stored in name/value META variable pairs | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | Additional topic data, not editable from main freeform text box, stored in META variable name/value pairs | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
OverviewTWikiMetaData usesMETA 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.
Meta Data Syntax
Example of Format
Meta Data SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.META:TOPICINFO
META:TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history.%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%
META:TOPICPARENT
META:FILEATTACHMENT
META:FORM
META:FIELDShould only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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
Rendering Meta DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
Current support covers:
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | -- JohnTalintyre - 29 Aug 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | -- JohnTalintyre - 29 Aug 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||
| Deleted: | |||||||||||||||||||
| < < | Warning: Can't find topic TWiki.UtilTempDocNote | ||||||||||||||||||
On this page:
TWiki Meta DataTopic data not editable from main freeform text box, stored in name/valueMETA variable 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 Form Template 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 data, and user-defined TWikiForms info. | ||||||||||||||||||
Meta Data Syntax | |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
Example of Format | |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | |||||||||||||||||||
| > > | |||||||||||||||||||
| %META:TOPICINFO{version="1.6" date="976762663" author="PeterThoeny" format="1.0"}% text of the topic | |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | %META:TOPICMOVED{from="Codev.OldName" to="CoDev.NewName" | ||||||||||||||||||
| > > | %META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" | ||||||||||||||||||
| by="JohnTalintyre" date="976762680"}% %META:TOPICPARENT{name="NavigationByTopicContext"}% %META:FILEATTACHMENT{name="Sample.txt" version="1.3" ... }% %META:FILEATTACHMENT{name="Smile.gif" version="1.1" ... }% %META:FORM{name="WebFormTemplate"}% %META:FIELD{name="OperatingSystem" value="OsWin"}% %META:FIELD{name="TopicClassification" value="PublicFAQ"}% | |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | |||||||||||||||||||
| > > | |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | Specifications | ||||||||||||||||||
| > > | Meta Data Specifications | ||||||||||||||||||
| The current version of Meta Data is 1.0, with support for the following variables. | |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | TOPICINFO | ||||||||||||||||||
| > > | META:TOPICINFO | ||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | TOPICMOVED | ||||||||||||||||||
| > > | META:TOPICMOVED | ||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | This is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history. | ||||||||||||||||||
| > > | This is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history. | ||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | %META:TOPICMOVED{from="Codev.OldName" to="CoDev.NewName" by="talintj" date="976762680"}% | ||||||||||||||||||
| > > | %META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}% | ||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
Notes:
| |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | TOPICPARENT | ||||||||||||||||||
| > > | META:TOPICPARENT | ||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
| |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | FILEATTACHMENT | ||||||||||||||||||
| > > | META:FILEATTACHMENT | ||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
| |||||||||||||||||||
| Added: | |||||||||||||||||||
| > > |
| ||||||||||||||||||
| |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | FORM | ||||||||||||||||||
| > > | META:FORM | ||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | FIELD | ||||||||||||||||||
| > > | META:FIELD | ||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < | Should only be present if there is a FORM entry. Note that this data is used when viewing a topic, the form template definition is not read. | ||||||||||||||||||
| > > | Should only be present if there is a META:FORM entry. Note that this data is used when viewing a topic, the form template definition is not read. | ||||||||||||||||||
| |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
| |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
| |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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
Rendering Meta DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
Current support covers:
| |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
| |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
| Deleted: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
-- JohnTalintyre - 29 Aug 2001 | |||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | Warning: Can't find topic TWiki.UtilTempDocNote | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
On this page:
TWiki Meta DataTopic data not editable from main freeform text box, stored in name/valueMETA variable pairs
OverviewTWikiMetaData usesMETA 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 Form Template info.
Meta Data Syntax
Example of Format
SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.TOPICINFO
TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history. %META:TOPICMOVED{from="Codev.OldName" to="CoDev.NewName" by="talintj" date="976762680"}%
TOPICPARENT
FILEATTACHMENT
FORM
FIELDShould only be present if there is a FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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
Rendering Meta DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
Current support covers:
Known IssuesAt present, there is no Meta Data support for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
-- JohnTalintyre - 29 Aug 2001 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
On this page:
TWiki Meta DataTopic data not editable from main freeform text box, stored in name/valueMETA variable pairs
OverviewTWikiMetaData usesMETA 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 Form Template info.
Meta Data Syntax
Example of Format
SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.TOPICINFO
TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history. %META:TOPICMOVED{from="Codev.OldName" to="CoDev.NewName" by="talintj" date="976762680"}%
TOPICPARENT
FILEATTACHMENT
FORM
FIELDShould only be present if there is a FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended Sequence | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | There no absolute need for meta data variables to be in a specific order, however, it does for the following reasons: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | There is no absolute need for Meta Data variables to be listed in a specific order within a topic, but it makes sense to do so a couple of good reasons: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deleted: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | These could be done in other ways, but this adds complexity
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deleted: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | So the order is: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | The recommended sequence is: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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
Rendering Meta Data | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | Meta Data is rendered with the %META% variable. This is mostly used in the view, preview and edit scripts. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | Meta Data is rendered with the %META% variable. This is mostly used in the view, preview and edit scripts. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | Current support is fairly basic: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | Current support covers: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Known Issues | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | There is currently no support for meta data for Plugins. However, the format is readily extendable and the Meta.pm code that supports the format needs only minor alteration. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | 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: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < | Warning: Can't find topic TWiki.MetaDataDefinition | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > | TWiki Meta DataTopic data not editable from main freeform text box, stored in name/valueMETA variable pairs
OverviewTWikiMetaData usesMETA 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 Form Template info.
Meta Data Syntax
Example of Format
SpecificationsThe current version of Meta Data is 1.0, with support for the following variables.TOPICINFO
TOPICMOVEDThis is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent TOPICMOVED meta variable exists in the topic, older ones are to be found in the rcs history. %META:TOPICMOVED{from="Codev.OldName" to="CoDev.NewName" by="talintj" date="976762680"}%
TOPICPARENT
FILEATTACHMENT
FORM
FIELDShould only be present if there is a FORM entry. Note that this data is used when viewing a topic, the form template definition is not read.
Recommended SequenceThere no absolute need for meta data variables to be in a specific order, however, it does for the following reasons:
Viewing Meta Data in Page SourceWhen viewing a topic theRaw 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
Rendering Meta DataMeta Data is rendered with the %META% variable. This is mostly used in theview, preview and edit scripts.
Current support is fairly basic:
Known IssuesThere is currently no support for meta data for Plugins. However, the format is readily extendable and theMeta.pm code that supports the format needs only minor alteration.
-- JohnTalintyre - 29 Aug 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||
| Deleted: | ||||||||
| < < | TWiki Meta Data | |||||||
| Warning: Can't find topic TWiki.MetaDataDefinition | ||||||||
On this page:
TWiki Meta DataWarning: Can't find topic TWiki.MetaDataDefinition |