SID-00558: Revision information (name and date) from remote page
| Status: |
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
- 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
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.