• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 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.

The topicsearch feature would be more useful with two enhancements:

First, it could search on topics' metainformation in addition to topic text.

Second, it could report its results (report when topics were excluded).

Replacing

    if ( $topicsearch ) {
        if ( $text !~ /$topicsearch/) {
            return;
        }
    }
with
    if ( $topicsearch ) {
        if ( $text !~ /$topicsearch/ and $meta->stringify() !~ /$topicsearch/) {
            print "Page does not match TOPICSEARCH; not ";
            return;
        }
    }
would accomplish this. (But see also Item2120; this code may be affected by that fix.)
Hmmm. Stringifying meta is not something I want to rely on. But the warn is a good idea. In 9986.

CC

ItemTemplate
Summary PublishContrib topicsearch enhancements
ReportedBy TWiki:Main.JoshKelley
Codebase

SVN Range 9826
AppliesTo Extension
Component PublishContrib
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins 9986 9987
TargetRelease n/a
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-04-30 - CrawfordCurrie
 
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