IrcLogPlugin

renders a chunk of text

this is just a prototype/proof of concept. it needs to support parameters like web and topic, an arbitrary url (href?), perhaps some prepackaged css stylesheets for the rendered log. maybe some sort of filtering? plus, it would be nice for the rendering to show timestamps, which it currently ignores. stuff like that...

other suggestions for improvements:
  • (optionally and/or by default) mask ip addresses
  • merge multiple lines into a single block

Syntax Rules

  • %IRCLOG{ text... }%

Examples

IrcLogPlugin Global Settings

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

  • One line description, is shown in the Text Formatting Rules topic:
    • Set SHORTDESCRIPTION = Pretty prints IRC logs

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

  • (not functional yet)
    • Set COLOUR_PART = #009
    • Set COLOUR_JOIN = #090
    • Set COLOUR_SERVER = #090
    • Set COLOUR_NICKCHANGE = #090
    • Set COLOUR_ACTION = #0f0
    • Set COLOUR_NICKS =

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

Test:

Plugin Info

Plugin Author: TWiki:Main.WillNorris
Plugin Version: 07 Nov 2003 (V1.000)
Change History:  
07 Nov 2003: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Required: 5.005?
Perl Running: 5.8.0
Plugin Home: TWiki:Plugins.IrcLogPlugin
Feedback: TWiki:Plugins.IrcLogPluginDev

Related Topics: TWiki Preferences, TWiki Plugins

-- TWiki:Main.WillNorris - 07 Nov 2003

Topic revision: r1 - 08 Nov 2003 - 06:37:07 - Will Norris?
 
2picthead.jpg}
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.