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.

Topic: Changed: By:
WebStatistics 2026年06月25日 - 14:31 - 7989 TWikiGuest
BrowserIssues 2012年01月05日 - 22:03 - 104 PeterThoeny

  • 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

Edit | Attach | (削除) Watch (削除ここまで) | Print version | History : r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2003年01月21日 - GrantBow
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

AltStyle によって変換されたページ (->オリジナル) /