Question
I'm looking for a way to replicate the diff-ing capabilities of a standard search whcn clicking on the date of a topic in a FormattedSearch way. If I have to nest a search and hack together a URL that way I probably could given enough sugar and some free time, but is there an easier way?
%SEARCH{ "GrantBow" web="Support" scope="text" nosearch="on" nosummary="on" nototal="on"
regex="off" order="modified" reverse="on" limit="2"
header="| *Topic:* | *Changed:* | *By:* |"
format="| $web.$topic | [[$web.$topic][$date]] - $rev | $wikiusername |"}%
I want to replace the actual link part of [ [ $web.$topic ][ $date ] ] with an
rdiff url instead of a
view url.
- TWiki version: twiki.org
- Perl version:
- Web server & version:
- Server OS:
- Web browser & version:
- Client OS:
--
GrantBow - 17 Jan 2003
Answer
Uou need to build the rdiff URL. Use this instead of
[[$web.$topic][$date]]:
[[%SCRIPTURL%/rdiff%SCRIPTSUFFIX%/$web/$topic][$date]]
--
PeterThoeny - 18 Jan 2003
Thanks!
--
GrantBow - 21 Jan 2003