Summary Plugin

Syntax Rules

%SUMMARY{prefix="Blog*" excludetopic="BlogTemplate" author="NelsonFerraz" startdate="20050801" enddate="20050901" limit="20" offset="0" reverse="on" format="   * [[$topic][$title]] ($day/$mon/$yea)\n$text"}%

%SUMMARY{prefix="Blog*" excludetopic="BlogTemplate" author="" startdate="20050801" enddate="20050901" limit="" offset="" reverse="on" format="   * [[$topic][$title]] ($day/$mon/$yea)\n$text"}%

Topic filenames should be in the "prefix_author_date" format, for instance: "Blog_NelsonFerraz_20050801123000".

  • '$title' is extracted from the first /---+ (.+)/
  • '$text' is extracted from the first paragraph after $title /([^\n]+)/

Plugin Settings

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

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Este plugin não faz nada, mas pode ser usado como modelo para seus próprios plugins.

  • Your own setting, i.e.:
    • Set EXAMPLE = got it!

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

Plugin Installation Instructions

  • Just unzip the file and put the files in the correct directories.

Plugin Info

Plugin Author: TWiki:Main.NelsonFerraz
Plugin Version: 10 Aug 2005
Change History:  
10 Aug 2005: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/SummaryPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/SummaryPluginDev

Related Topics: TWikiPreferences, TWikiPlugins, DefaultPlugin

-- TWiki:Main.AndreaSterbini - 27 Feb 2001
-- TWiki:Main.PeterThoeny - 21 Mar 2004

Revision: r1.1 - 21 Aug 2005 - 13:34 - TWikiGuest
TWiki > SummaryPlugin
Direitos de cópia © 1999-2024 pelos autores que contribuem. Todo material dessa plataforma de colaboração é propriedade dos autores que contribuem.
Ideias, solicitações, problemas relacionados a Ilanet? Dê sua opinião
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Ilanet? Send feedback