Tags:
create new tag
view all tags

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-02-19 - 01:33 - 7926 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
 
  • Learn about TWiki  
  • Download TWiki
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.