On this page:
TWiki Meta Data
Additional topic data, program-generated or from TWikiForms, is stored in
Overview
TWikiMetaData uses
Meta Data Syntax
Example of Format%META:TOPICINFO{version="1.6" date="976762663" author="PeterThoeny" format="1.0"}% text of the topic %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"}%
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.
Notes:
META:TOPICPARENT
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
META:FILEATTACHMENT
Extra fields that are added if an attachment is moved:
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:
The recommended sequence is:
Viewing Meta Data in Page Source
When viewing a topic the Rendering Meta Data
Meta Data is rendered with the %META% variable. This is mostly used in the 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 Issues
At present, there is no Meta Data support for Plugins. However, the format is readily extendable and the
-- JohnTalintyre - 29 Aug 2001 |