Tags:
create new tag
, view all tags

Question

I am using %TAGME to doe a search. I try to format the search using format=.

All goes well, until I try to SPACEOUT the topic

%TAGME{ tpaction="query" web="%URLPARAM{qweb}%"   topic="%URLPARAM{qtopic}%" tag="%URLPARAM{"tag" multiple="on" separator=","}%" by="%URLPARAM{by}%"   format="<p/><b> $percentSPACEOUT{\"$topic\"}$percent </b><br/> <span style=\"font-size:smaller;background-color:#e0e0e0;\"> $pattern(.*<question>(.{0,100}).*?</question>.*) </span><br/>Tags: $taglist"  }%
This search returns
 $percentSPACEOUT{"DetailedLevelUserNeedsAndBusinessAnalysis"}$percent
The Guild also requires that the Tenderer undertake further business analysis to refine the system
Tags: Business analysis, documentation, methodology, sign-off, traceability Number of topics: 1

When I write % instead of $percent, i get:
 Number of topics: 1
... but no result text at all.

I typed

%SPACEDTOPIC{\"$topic\"}%
by mistake and got the spaced topic Tag%20Me%20Search, so it appears as if in principle this is possible. How should I do this?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: debian linux kernel 2.6
Web server: apache
Perl version: 5.8
Client OS: -
Web Browser: firefox
Categories: Plugins

-- BramVanOosterhout - 12 Apr 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Any suggestions at all?

-- BramVanOosterhout - 29 Apr 2008

Does not look like it. Should I report this as a bug?

-- BramVanOosterhout - 25 May 2008

You can try a $percntCALC{$PROPERSPACE($topic)}$percnt

-- PeterThoeny - 02 Aug 2008

 
Change status to:
Topic revision: r4 - 2008-08-02 - PeterThoeny
 
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.