Tags:
create new tag
, view all tags

Feature Proposal: Dynamic Text

Motivation

Suppose you now something (e.g. patch) will be there in a week:

Have a look in %TEMPTEXT{temp="upcoming" final="available" until=050505}% patch

Until 050505 you read Have a look in the upcoming patch
Starting on 050505 the final text becomes Have a look in the available patch

This way you can insert dynamic text, and not bother anymore.

Description

Dynamic text that changes to it final at a given timestamp.

-- TonTLam - 03 May 2005

Impact and Available Solutions

Note: Patch is attached as http://twiki.org/p/pub/Codev/DynamicText/twiki-foo-bar-patch.diff. The patch is against the TWikiAlphaRelease of 15 Feb 2004.

Documentation

If necessary, user documentation of new features introduced by this proposal.

attributes meaning default
temp temporary text <empty>
final final text <empty>
until timestamp <required>

Examples

Example uses of features introduced by proposal.

The %TEMPTEXT{temp="new", until=050518}% patch release %TEMPTEXT{temp="is scheduled for May 18." final="can be found at someURL" until=050518}%

On the first invokation on 050518 %TEMPTEXT{}% is replaced by the final text. This way we prevent endless checking.

Implementation

Any comments on how the feature is implemented or could be improved


Discussion:

No patch attached... --TW

Sounds like a duplication of the functionality of MacrosPlugin.

-- FranzJosefSilli - 04 May 2005

With MacrosPlugin you still need to change in another topic, while this proposal is to change automatically based on a timeout.

-- TonTLam - 04 May 2005

Heh; sounds like fun! A good candidate for a plugin. I can't actually think of an application, but don't let that stop you! wink It's quite similar in concept to ActionTrackerPlugin. Maybe you could use ActionTrackerPlugin?

-- CrawfordCurrie - 04 May 2005

 
Topic revision: r5 - 2005-05-04 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.