Tags:
create new tag
view all tags

SID-00558: Revision information (name and date) from remote page

Status: Answered Answered TWiki version: 4.3.0 Perl version:
Category: CategorySearch Server OS: RedHat Linux Last update: 16 years ago

Hi,

If I do

%REVINFO{"!$wikiname"}%, %REVINFO{"$date"}%

I get the WikiName and Date for the last revision in the current page... but how can I do it for a remote page?

I want to get something like...

WikiPage 1 - Last edited by WikiName on Date WikiPage 2 - Last edited by WikiName on Date

I need something that I can personalise, so WebChanges is not the option.

Thanks!

Sergio

-- TWikiGuest - 2009-10-08

Discussion and Answer

I took a different approach, maybe not very elegant smile

  • Topic 1: %SEARCH{ "\.*" topic="TopicOne" type="regex" nosearch="on" nototal="on" order="modified" reverse="on" format="$date by !$wikiname" limit="1" }%
  • Topic 2: %SEARCH{ "\.*" topic="TopicTwo" type="regex" nosearch="on" nototal="on" order="modified" reverse="on" format="$date, !$wikiname" limit="1" }%
  • Topic 3: %SEARCH{ "\.*" topic="TopicThree" type="regex" nosearch="on" nototal="on" order="modified" reverse="on" format="$date, !$wikiname" limit="1" }%

And I get something like this...

Target Audiences

* Topic 1: 06-Oct-2009 - 16:14 by SergioRuiz * Topic 2: 06-Oct-2009 - 16:16, SergioRuiz * Topic 3: 06-Oct-2009 - 16:19, SergioRuiz

... which is what I needed :-).

-- TWikiGuest - 2009-10-08

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Revision information (name and date) from remote page
SupportCategory CategorySearch
TWiki version 4.3.0
Server OS RedHat Linux
Web server Apache
Perl version

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2009-10-08 - TWikiGuest
 
  • 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.