• 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.

WebRss features a search parameter: /MyWeb/WebRss?search=myitem. But with only one search parameter it is not compatible with search. For instance the result is still limited to 16, which is nice for news updates but too restrictive for search results.

The most common search parameters that should be passed:

  • search string
  • web
  • excludetopic
  • limit
  • scope
  • casesensitive
  • date

SVN 9505+9508 (TWiki4) and 9506+9507 (Develop).

Test:

SEARCHSTRING can be passed with an INCLUDE or as url param.

   * Set SEARCHSTRING = WEBGBCOLOR
%SEARCH{ "%SEARCHSTRING%" scope="text" nosummary="on" nosearch="on" nototal="on" zeroresults="off" casesensitive="on" type="regex" excludetopic="%BASETOPIC%,WebHome,WebStatistics" scope="text" web="%BASEWEB%" limit="all" format="   * <a href='%SCRIPTURL{"view"}%/$web/$topic?q=%SEARCHSTRING%'>$topic</a><br /><span class=\"twikiGrayText twikiSmall\">$summary</span>" header="---++ Referrals to %SEARCHSTRING% <a href='%SCRIPTURL{"view"}%/%BASEWEB%/WebRss?search=%SEARCHSTRING%;excludetopic=%BASETOPIC%,WebHome,WebStatistics;limit=all;web=%BASEWEB%;scope=text;type=regex'><img src='%ICONURL{rss-small}%' width='16' height='16' alt='' /></a>"}%

  • Set SEARCHSTRING = WEBGBCOLOR

Referrals to WEBGBCOLOR

  • Item1008
    See SitePermissions PTh Actually it was being expanded; but the vars in question were undefined, which is handled by printing the var name and parameters...
  • Item2694
    In order to process content in the header `` of a FormattedSearch, $percnt should be expanded to % . This allows one to specify the web background color, such...
  • Item965
    This behaviour is true in Cairo too, but is not desirable as you might have multiple clients and you don`t want them to be able to know that you work for both of them...


Still I cannot manage to get multiple word strings into this query, like "web service". This is needed to offer RSS with WebSearch search results.

AC

ItemTemplate
Summary WebRss lacks search options
ReportedBy TWiki:Main.ArthurClemens
Codebase

SVN Range Thu, 23 Mar 2006 build 9479
AppliesTo Engine
Component

Priority Enhancement
CurrentState Closed
WaitingFor

Checkins 9505 9506 9507 9508 9512 9513
TargetRelease patch
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-04-01 - 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