Tags:
create new tag
, view all tags

Question

Hello,

I would like to have a self-managed "What's new" section in my WebHome page. I tried several things with but nothing seems to work. Didn't find anything useful in the AnsweredQuestions. I just want to list the topics which are flaged "NEW" on the WebIndex topic and format them in a table with user, topic and summary.

Currently I'm using this syntax :

%SEARCH{ "\.*" scope="topic" regex="on" nosearch="on" nototal="on"
 order="modified" reverse="on" header="| *New*  | *Who*  | *Last update*  |"
 format="| [[$topic]]  | $wikiusername  | $date  |" limit="15" }%

This is the result, but I would prefer listing only new topics whithout having to limit the search to a fixed number.

New Who Last update
WebStatistics TWikiAdminGroup 2012-05-28 - 04:02
SID-01468 AbdeAliKagalwalla 2012-05-27 - 00:14
SID-01467 PeterThoeny 2012-05-23 - 20:51
PasswordsNotWorking PeterThoeny 2012-05-23 - 20:41
SID-01466 PeterThoeny 2012-05-22 - 19:43
SID-00207 PeterThoeny 2012-05-22 - 19:42
SID-00250 PeterThoeny 2012-05-22 - 19:42
SID-01465 MitchKutzko 2012-05-17 - 23:01
SupportHeader PeterThoeny 2012-05-17 - 17:42
SID-01464 PeterThoeny 2012-05-16 - 03:24
OopsTemplatesNotShowingAnymore AnandSutaria 2012-05-15 - 11:10
SID-01463 PeterThoeny 2012-05-15 - 08:30
ConnectByRestPlugin PeterThoeny 2012-05-14 - 18:41
SID-01462 TWikiGuest 2012-05-12 - 16:00
SID-01461 PeterThoeny 2012-05-11 - 18:50

Thanks in advance,

Seb.

  • TWiki version: 20011201
  • Perl version: 5.6.0
  • Web server & version: Apache 1.3.27
  • Server OS: solaris 7
  • Web browser & version: netscape 7
  • Client OS: solaris 7 / win2k-xp

-- TWikiGuest - 09 Jul 2003

Answer

To show only v1.1 topics do this:

%SEARCH{ "META:TOPICINFO.*version=\"1.1\"" regex="on" nosearch="on" nototal="on"
 order="modified" reverse="on" header="| *New*  | *Who*  | *Last update*  |"
 format="| [[$topic]]  | $wikiusername  | $date  |" limit="15" }%

e.g. this:

New Who Last update
SID-01468 AbdeAliKagalwalla 2012-05-27 - 00:14
ConnectByRestPlugin PeterThoeny 2012-05-14 - 18:41
SID-01462 TWikiGuest 2012-05-12 - 16:00
SID-01460 PaoloGallo 2012-05-09 - 15:36
SID-01458 AjayYadav 2012-05-03 - 07:18
SID-01457 LucianGonda 2012-05-02 - 10:14
SID-01456 KehindeAdeoya 2012-04-26 - 19:06
SID-01451 TWikiGuest 2012-04-18 - 18:13
SID-01435 SatishPasumarthi 2012-03-27 - 11:21
SID-01433 BenjaminStewart 2012-03-25 - 17:41
SendMailPlugin PeterThoeny 2012-03-14 - 03:55
SID-01423 JigneshKoshti 2012-03-13 - 14:41
SID-01422 JeffMaki 2012-03-13 - 14:22
SID-01414 TWikiGuest 2012-02-27 - 12:14
SID-01395 RobRobason 2012-02-07 - 00:20

-- PeterThoeny - 12 Jul 2003

Thank you very much, that's exactly what I wanted.

-- TWikiGuest - 16 Jul 2003

The search described here may not work for users running Windows/Cygwin. If that's the case, try the following search instead:

%SEARCH{ "META:TOPICINFO.*version=.1\.1[^0-9]" regex="on" nosearch="on" nototal="on"
order="modified" reverse="on" header="| *Topic*  | *Created By*  | *Created On*  |"
format="| [[$topic]]  | $wikiusername  | $date  |" limit="15" }%

See NewTopicsListNotWorking for more details on this issue.

-- JasonVensel - 21 Apr 2006

Topic revision: r4 - 2006-04-21 - JasonVensel
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.