create new tag
, view all tags

Feedback Plugin

ALERT! NOTE: This is an ObsoletePluginPackage. Most of the functionality is covered by the CommentPlugin


Please use FeedbackPluginDev for development related discussion

Feedback TWiki Plugin

This is a Plugin for creating and collecting comments to a page without changing the page itself. This makes sense if you want others to contribute, but still preserve clear ownership of the topic in question. I use it for my weblog, which is in fact only editable by myself.

The plugin provides a joint view of the topic and the collected comments.

user interface

The owner of the page enables the plugin. The plugin splits the text in paragraph like units and adds a button after each paragraph.

After clicking on the button a comment entry form appears and allows the reader to enter some text. Alternatively the user can double click on any paragraph if javascript is enabled.

theorie of operation

Internally the comment data is stored on a separate page - which is optionally specified in the %FEEDBACK% construct see FeedbackPlugin#ExampleAnchor - inside a table:

This table has to have three columns on a single line:

Searchtext Author Comment

The Plugin will search for Searchtext and then add Comment and Author . Searchtext can be Perl Regular expressions or simple strings.

The %FEEDBACK% construct is replaced by a form which enables you to see the page which shall be commented with or without links and directly add the comments in text fields without manually changing the table. The layout is currently a proof of concept one and not designed for usablity.

I think it is somehow related to CommentPlugin and similar work. It was created for my private fun and now released to get feedback smile and get outstanding issues solved.

Syntax Rules


FeedbackPlugin Settings

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

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = This is a Plugin for creating and collecting comments to a page without changing the page.

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

Plugin Installation Instructions

  • copy the Files at the correct locations!
    • V1.16 Stored this text inside the TWiki Web. V1.19 now uses the Plugins Web.

Plugin Info

Plugin Author: FrankHartmann,
Plugin Version: 1.16
Change History: 1.16 initial public release
  1.19 now using forms and http POST method
  1.25 paragraph mode implemented, javascript still missing
  1.29 Javascript implemented as suggested by WoutMertens
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/FeedbackPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/FeedbackPluginDev

Related Topics: TWikiPreferences, TWikiPlugins, DefaultPlugin


A TAG %FEEDBACK% will automatically add the Comment Data to a Page named FeedbackPluginFeedback or if you would like an other name: %FEEDBACK{CommentPage="SeparatePage"}%

Online Demo

The 1.29ff version is normally installed at mattzz , so you can play with a demo here:


Known Issues

  • the %FEEDBACK% is partly expanded even within verbatim tags.
  • the way the table rows are added to the page holding the comment data seems to be unclean. Currently it is file IO, without locking or TWiki routines involved.
  • the javascript part is not working with some versions of IE.


A sorted list of features, which will be implemented if things go well.

  1. Make it look good.
  2. allow the web page to be commented to be an external one.
  3. data handling
    1. show orphaned comments
    2. allow form based editing/deleting of old comments

-- TWiki:Main/FrankHartmann - 20 Aug 2002

Topic attachments
I Attachment History Action Size Date Who Comment
Compressed Zip archivezip FeedbackPlugin.zip r1 manage 7.6 K 2004-11-07 - 06:08 WillNorris release compatable with AutomatedPluginsDownload
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2004-11-16 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.