Tags:
create new tag
, view all tags

Feature Proposal: Formatted Search Summary with Expand Var

Motivation

Add a $summary(expandvar) to the FormattedSearch to get a summary with expanded variables. Useful for TWikiApplications.

Description

The FormattedSearch already supports a $summary(showvarnames) to show the variable names, e.g. %TOC% is shown as TOC (without the percent).

With the new $summary(expandvar) feature it is possible to get the variable expanded.

Related, the default $summary() strips all variables. It also strips all percent signs. This change retains the percent signs and <nop> tags, so that text with an escaped variable gets rendered identical in the rendered text and topic summary, e.g. as %TOC%. This is relevant for related work going on, TipOfTheDayFeatureRequest.

Impact and Available Solutions

Documentation

In FormattedSearch change $summary(showvarnames) add $summary(expandvar):

$summary(showvarnames) Topic summary, with %ALLTWIKI{...}% variable names shown unexpanded in raw format
$summary(expandvar) Topic summary, with %ALLTWIKI{...}% variables expanded (at a performance cost)

Examples

Implementation

This is now in DEVELOP branch, r3592.

-- PeterThoeny - 04 Feb 2005

Discussion:

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-02-04 - 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.