key Log In or Register to edit

AddMetaPlugin

This plugin is designed to be used in template topics, to give them a way to add meta data at the time of topic creation

Syntax Rules

  • %ADDMETA{type="type" key="key" value="value"}%
  • %ADDMETA{type="type" value="value"}%

In the latter case, key defaults to keyh

Plugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %ADDMETAPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the Text Formatting Rules topic:
    • Set SHORTDESCRIPTION = Allows template topics to add (simple) meta data to topics based on them

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

Plugin Info

Plugin Author: TWiki:Main.MeredithLesly
Copyright: © 2001-2006, T Wiki Contributor
License: GPL (GNU General Public License)
Plugin Version: 01 Feb 2006
Change History:  
03 Mar 2006: Original version
TWiki Dependency: $TWiki::Plugins::VERSION 1.1
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
TWiki:Plugins/Benchmark: Good Style 99%, Formatted Search 99%, Add Meta Plugin 99%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/AddMetaPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/AddMetaPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/AddMetaPluginAppraisal

Related Topics: T Wiki Plugins, Developer Documentation Category, Admin Documentation Category, T Wiki Preferences

-- Meredith Lesly? - 03 Mar 2006

 
Ad Sponsor
Back to Redbourn
Copyright © We make no guarantee of the correctness of the content of this site. All material on this collaboration platform is the property of Martin Cleaver and the contributing authors.