| <<O>> Difference Topic TWikiMetaData (r1.9 - 03 Dec 2001 - MikeMannix?) |
| Line: 1 6 to 1 6 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Changed: | ||||||||
| < < |
Appendix B: TWiki Meta Data | |||||||
| > > |
TWiki Meta Data | |||||||
| Line: 8 to 8 | ||||||||
| 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
| |||||||
| Line: 12 to 12 | ||||||||
| 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.
| |||||||
| Line: 154 to 154 | ||||||||
| Changed: | ||||||||
| < < |
-- MikeMannix - 02 Oct 2001 | |||||||
| > > |
-- MikeMannix - 03 Dec 2001 | |||||||
| <<O>> Difference Topic TWikiMetaData (r1.8 - 02 Oct 2001 - MikeMannix?) |
| Line: 1 6 to 1 6 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Changed: | ||||||||
| < < |
TWiki Meta Data | |||||||
| > > |
Appendix B: TWiki Meta Data | |||||||
| Line: 153 to 154 | ||||||||
| Added: | ||||||||
| > > |
-- MikeMannix - 02 Oct 2001 | |||||||
| <<O>> Difference Topic TWikiMetaData (r1.7 - 16 Sep 2001 - MikeMannix?) |
| Line: 1 8 to 1 8 | ||||||||
|---|---|---|---|---|---|---|---|---|
| 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
| |||||||
| <<O>> Difference Topic TWikiMetaData (r1.6 - 14 Sep 2001 - PeterThoeny?) |
| Line: 1 3 to 1 2 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Deleted: | ||||||||
| < < |
||||||||
| Line: 14 to 12 | ||||||||
| 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.
| |||||||
| Line: 18 to 16 | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Line: 29 to 27 | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Line: 32 to 30 | ||||||||
| Changed: | ||||||||
| < < |
%META:TOPICMOVED{from="Codev.OldName" to="CoDev.NewName" | |||||||
| > > |
%META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" | |||||||
| Line: 40 to 38 | ||||||||
| Changed: | ||||||||
| < < |
||||||||
| > > |
||||||||
| Line: 43 to 41 | ||||||||
| Changed: | ||||||||
| < < |
Specifications | |||||||
| > > |
Meta Data Specifications | |||||||
| Line: 47 to 45 | ||||||||
| Changed: | ||||||||
| < < |
TOPICINFO | |||||||
| > > |
META:TOPICINFO | |||||||
| Line: 55 to 53 | ||||||||
| Changed: | ||||||||
| < < |
TOPICMOVED | |||||||
| > > |
META:TOPICMOVED | |||||||
| Line: 57 to 55 | ||||||||
| 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. | |||||||
| Line: 59 to 57 | ||||||||
| 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"}%
| |||||||
| Line: 71 to 69 | ||||||||
| Changed: | ||||||||
| < < |
TOPICPARENT | |||||||
| > > |
META:TOPICPARENT | |||||||
| Line: 76 to 74 | ||||||||
| Changed: | ||||||||
| < < |
FILEATTACHMENT | |||||||
| > > |
META:FILEATTACHMENT | |||||||
| Line: 89 to 88 | ||||||||
| Added: | ||||||||
| > > |
| |||||||
| Line: 95 to 94 | ||||||||
| Changed: | ||||||||
| < < |
FORM | |||||||
| > > |
META:FORM | |||||||
| Line: 98 to 97 | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Line: 100 to 99 | ||||||||
| Changed: | ||||||||
| < < |
FIELD | |||||||
| > > |
META:FIELD | |||||||
| Line: 102 to 101 | ||||||||
| 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. | |||||||
| Line: 105 to 104 | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Line: 118 to 117 | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Line: 120 to 119 | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Line: 138 to 137 | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Line: 148 to 147 | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| <<O>> Difference Topic TWikiMetaData (r1.5 - 12 Sep 2001 - MikeMannix?) |
| Line: 1 2 to 1 3 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
||||||||
| <<O>> Difference Topic TWikiMetaData (r1.4 - 08 Sep 2001 - MikeMannix?) |
| Line: 1 109 to 1 109 | ||||||||
|---|---|---|---|---|---|---|---|---|
| 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:
| |||||||
| Line: 117 to 115 | ||||||||
| Deleted: | ||||||||
| < < |
So the order is: | |||||||
| Line: 119 to 117 | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Line: 133 to 131 | ||||||||
| 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.
| |||||||
| Line: 135 to 133 | ||||||||
| Changed: | ||||||||
| < < |
Current support is fairly basic: | |||||||
| > > |
Current support covers: | |||||||
| Line: 140 to 138 | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Line: 156 to 154 | ||||||||
| 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.
| |||||||
| <<O>> Difference Topic TWikiMetaData (r1.3 - 07 Sep 2001 - MikeMannix?) |
| Line: 1 5 to 1 5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
Merged into TWikiMetaData - this topic to be rolled back. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <<O>> Difference Topic TWikiMetaData (r1.2 - 30 Aug 2001 - MikeMannix?) |
| Line: 1 5 to 1 4 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Deleted: | ||||||||
| < < |
TWiki Meta Data | |||||||
| <<O>> Difference Topic TWikiMetaData (r1.1 - 30 Aug 2001 - MikeMannix?) |
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
TWiki Meta DataMerged into TWikiMetaData - this topic to be rolled back. | |||||||
| Topic TWikiMetaData . { View | Diffs | r1.9 | > | r1.8 | > | r1.7 | More } output as: { } |
|
Revision r1.1 - 30 Aug 2001 - 16:20 - MikeMannix? Revision r1.9 - 03 Dec 2001 - 12:53 - MikeMannix? |