Tags:
create new tag
view all tags

Question

I have this saved as WebStatisticsForAllWebs:

%TABLE{sort="on" initsort="3" initdirection="up"}%
|* Area *|* Topic *|* Last Modified *|* Last Editor *|
%SEARCH{"WebStatistics" scope="topic" nosearch="on" nototal="on" web="all" order="modified" format="| <nop>$web |$web.$topic|$date|$wikiusername |" limit="10" reverse="on" exclude="WebStatisticsForAllWebs"}%

I want to change this to a bookview showing only the latest month for all webs.

How can I do this? For one thing, I don't know how to select the 2nd row in the table.

Cheers, M.

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: redhat
Web server: apache
Perl version: 5.8
Client OS: xp
Web Browser: ie 6

-- MartinCleaver - 19 Nov 2003

Answer

Kudos to WalterMundt for his help on this one:

%TABLE{sort="on" initsort="3" initdirection="up"}%
| *Area:* | *Month:* | *Topic <br> views:* | *Topic <br> saves:* | *File <br> uploads:* | *Most popular <br> topic views:* | *Top contributors for <br> topic save and uploads:* |
%SEARCH{"WebStatistics" scope="topic" web=regex=on nosearch="on" excludetopic="WebStatisticsForAllWebs" nototal="on" web="all" order="modified" format="| $web.WebHome $pattern(.*?statTopContributors.*?\n([^\r\n]+)\n.*)"}% 

Area: Month: Topic
views:
Topic
saves:
File
uploads:
Most popular
topic views:
Top contributors for
topic save and uploads:
Searched: WebStatistics

Results from Support web retrieved at 19:07 (GMT)

Question I put a favicon into our TWiki implementation on Sourceforge and it is appearing in our WebStatistics page. Neat but not entirely intended. Is it possible...
Question I have a problem where my web statistics are being distorted by the WebRSS topic. Specifically, my web statistics page will show 146 views on the WebHome...
Question I have an error while running ./statistics from the twiki/bin directory. TWiki: Create Usage Statistics Do not interrupt this script! (Please wait until page...
Statistics for Support Web Month: Topic Views: Topic Saves: Attachment Uploads: Most Popular Topic Views: Top Contributors for Topic Save...
Question I have the following line in /data/debug.txt quite frequently and do not know how to interpret it: 19 Jun 2007 02:05 WebStatistics: Bad logfile line...
Question Running the statistics update from a cron job. For some reason, when the WebStatistics topic is updated, is appears on the WebChanges page with a changed...
Question I just cannot find how to format a small overview of web statistics, like on the twiki.org home page. Of course I can copy the code, but it doesn`t make much...
Question Just recently I had noticed that WebStatistics had broken. When running an update, I received an error saying that the log file where the stats are stored...
Question Peter, The WebStatistics for the Wikilearn web are not automatically updating. It`s not a big deal, but if you get a chance would you take a look. Here is...
Question When I go to the URL http://twiki/bin/statistics only the `Main` web statistics are updated. The rest are untouched. This is verified manually by visiting...
Question In short: How to get WebStatistics when view authorization is active? Long version: We changed the .htaccess to require login for page views also, as we plan...
Question Hello, I encountered a problem regarding the webstatistics topic. Although the log Files exist and do contain the correct information, topic views do not...
Number of topics: 12

Remaining issues:

  1. it does not qualify the webnames (meaning FindElsewhere is left to do the work) and
  2. I'd like the month to click through to WebStatistics

Both of these would require me to break out the pattern string - can I group and access components of the pattern, I wonder, i.e. $1 and $2

-- MartinCleaver - 10 Feb 2004

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2004-05-05 - PeterThoeny
 
  • 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.