• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

this is but a small, specific instance of the event stuff peter has talked about before on twiki.org

this plugin "executes" a series of URL's when a new topic is created which matches a topic regex.

TODO:

  1. figure out/decide on a format for listing more than one event!
  2. trap errors --- but what to do about them? abort the sequence or ???
  3. probably need to recode the URL fetch using a trick similiar to twiki's internal %INCLUDE%
    • that is, if the URL matches the wiki, do an internal "redirect" rather than an external URL HTTP GET
  4. documentation

here's an example of how it could be used on twiki.org to automatically create Dev and Appraisal topics when a new Plugin, Contrib, Skin, or AddOn topic is created in the plugins web:

        * Set MATCH = ^Plugins.(.*?)(Plugin|AddOn|Skin|Contrib)$

        * Set EXECUTE = %SCRIPTURL%/save%SCRIPTSUFFIX%?topic=$1$2Dev;templatetopic=$2DevTemplate %SCRIPTURL%/save%SCRIPTSUFFIX%?topic=$1$2Appraisal;templatetopic=$2AppraisalTemplate

because this plugin "executes" URL's, and because twiki has a mostly REST interface, other actions are possible: eg, creating a new web, renaming topics, etc...

SVN:7581

WN

You might also look at CPAN:Workflow http://search.cpan.org/dist/Workflow/

See http://www.google.ca/search?q=%22what+is+workflow%22&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official

for a general description.

MC

Interesting. I suggest to discuss this in TWiki:Plugins.NewTopicEventPluginDev where more eyes are watching. We should use the bugs web only for small actionaly items, not for spec discussion and design.

This Plugin has a similar functionality to the TWiki:Plugins.TopicCreatePluginDev. That plugin works but has not been release yet.

-- PTh

TWiki:Plugins.TopicCreatePlugin has been released (21-nov-05)

-- TWiki:Main.StanleyKnutson

ItemTemplate
Summary NewTopicEventPlugin
ReportedBy WillNorris
Codebase

AppliesTo Extension
Component NewTopicEventPlugin
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins 7581
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2005-11-21 - WillNorris
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback