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