data/TWiki/TWikiSiteTools.txt,v
changeset 0 414e01d06fd5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/TWikiSiteTools.txt,v	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,871 @@
     1.4 +head	1.14;
     1.5 +access;
     1.6 +symbols;
     1.7 +locks; strict;
     1.8 +comment	@# @;
     1.9 +
    1.10 +
    1.11 +1.14
    1.12 +date	2008.01.22.03.21.27;	author TWikiContributor;	state Exp;
    1.13 +branches;
    1.14 +next	1.13;
    1.15 +
    1.16 +1.13
    1.17 +date	2007.01.16.04.11.58;	author TWikiContributor;	state Exp;
    1.18 +branches;
    1.19 +next	1.12;
    1.20 +
    1.21 +1.12
    1.22 +date	2006.06.25.16.26.27;	author TWikiContributor;	state Exp;
    1.23 +branches;
    1.24 +next	1.11;
    1.25 +
    1.26 +1.11
    1.27 +date	2006.04.01.05.55.15;	author TWikiContributor;	state Exp;
    1.28 +branches;
    1.29 +next	1.10;
    1.30 +
    1.31 +1.10
    1.32 +date	2006.02.01.12.01.19;	author TWikiContributor;	state Exp;
    1.33 +branches;
    1.34 +next	1.9;
    1.35 +
    1.36 +1.9
    1.37 +date	2004.08.28.07.22.32;	author PeterThoeny;	state Exp;
    1.38 +branches;
    1.39 +next	1.8;
    1.40 +
    1.41 +1.8
    1.42 +date	2004.04.25.00.10.27;	author PeterThoeny;	state Exp;
    1.43 +branches;
    1.44 +next	1.7;
    1.45 +
    1.46 +1.7
    1.47 +date	2003.01.30.07.43.00;	author PeterThoeny;	state Exp;
    1.48 +branches;
    1.49 +next	1.6;
    1.50 +
    1.51 +1.6
    1.52 +date	2002.05.04.16.10.36;	author MikeMannix;	state Exp;
    1.53 +branches;
    1.54 +next	1.5;
    1.55 +
    1.56 +1.5
    1.57 +date	2001.12.04.07.22.21;	author MikeMannix;	state Exp;
    1.58 +branches;
    1.59 +next	1.4;
    1.60 +
    1.61 +1.4
    1.62 +date	2001.12.02.10.22.00;	author MikeMannix;	state Exp;
    1.63 +branches;
    1.64 +next	1.3;
    1.65 +
    1.66 +1.3
    1.67 +date	2001.12.01.10.03.44;	author MikeMannix;	state Exp;
    1.68 +branches;
    1.69 +next	1.2;
    1.70 +
    1.71 +1.2
    1.72 +date	2001.11.30.09.53.00;	author MikeMannix;	state Exp;
    1.73 +branches;
    1.74 +next	1.1;
    1.75 +
    1.76 +1.1
    1.77 +date	2001.11.23.11.34.45;	author MikeMannix;	state Exp;
    1.78 +branches;
    1.79 +next	;
    1.80 +
    1.81 +
    1.82 +desc
    1.83 +@none
    1.84 +@
    1.85 +
    1.86 +
    1.87 +1.14
    1.88 +log
    1.89 +@buildrelease
    1.90 +@
    1.91 +text
    1.92 +@%META:TOPICINFO{author="TWikiContributor" date="1177803014" format="1.1" version="14"}%
    1.93 +%STARTINCLUDE%
    1.94 +---+ TWiki Site Tools
    1.95 +
    1.96 +_Utilities for searching, navigation, and monitoring site activity_
    1.97 +
    1.98 +TWiki Site Tools include utilities for navigating, searching and keeping up with site activity. Preferences can be configured by web or site-wide. You are currently in the *%SYSTEMWEB%* web. In particular, TWiki provides two highly configurable, automated site monitoring tools, *<nop>WebNotify*, to e-mail alerts when topics are edited, and *<nop>WebStatistics*, to generate detailed activity reports.
    1.99 +
   1.100 +%TOC%
   1.101 +
   1.102 +#WebNotify
   1.103 +---++ <nop>WebNotify - recent changes alert
   1.104 +
   1.105 +Each TWiki web has an automatic e-mail alert service that sends a list of recent changes on a preset schedule, like once a day. Users can subscribe and unsubscribe using %NOTIFYTOPIC% in each web. The Perl script =mailnotify= is called by a background process at regular intervals. The script sends an automated e-mail to subscribed users if topics were changed in a web since the script was last run.
   1.106 +
   1.107 +   * You can create a WebNotify link using TWikiVariables with ==%<nop>NOTIFYTOPIC%==
   1.108 +
   1.109 +%INCLUDE{"WebChangesAlert"}%
   1.110 +
   1.111 +You can also use =%<nop>USERSWEB%= instead of =Main=, but this is not necessary even if you have renamed the main web by configuring ={MainWebName}= in [[%SCRIPTURLPATH{"configure"}%][configure]].
   1.112 +
   1.113 +#WebSearch
   1.114 +---++ <nop>WebSearch - search TWiki site
   1.115 +
   1.116 +WebSearch is an extremely fast and flexible search facility, part of the core TWiki feature set. WebSearchAdvanced offers more options, including:
   1.117 +   * topic title or full-text search
   1.118 +   * regular expressions
   1.119 +   * search within web or site-wide
   1.120 +   * index-style A-Z alphabetical listing sorted topic title
   1.121 +   * many more
   1.122 +
   1.123 +See also: SearchHelp for help; TWikiVariables and FormattedSearch for including hard-coded searches in text.
   1.124 +
   1.125 +#WebChanges
   1.126 +---++ <nop>WebChanges - what's new
   1.127 +
   1.128 +To check for the most recently edited topics while on-site, use the WebChanges link, usually located in the toolbar. It lists the most recently modified topics, newest first, along with the first couple of lines of the page content.
   1.129 +
   1.130 +This is simply a preset =SEARCH=. The number of topics listed by the =limit= parameter.:
   1.131 +<blockquote>
   1.132 +<pre>
   1.133 +%<nop>SEARCH{ ".*" web="%INCLUDINGWEB%" type="regex" nosearch="on" order="modified"%BR% reverse="on" 
   1.134 +limit="50" }%
   1.135 +</pre>
   1.136 +</blockquote>
   1.137 +
   1.138 +#WebRssAndAtom
   1.139 +---++ <nop>WebRss and <nop>WebAtom - news feeds on recent changes
   1.140 +
   1.141 +You can point your news reader at WebRss and WebAtom to find out what is new in a TWiki web. WebRssBase and WebAtomBase have the details. Like WebChanges, this is based on a =%<nop>SEARCH{}%=.
   1.142 +
   1.143 +#WebIndex
   1.144 +---++ <nop>WebIndex - list of topics
   1.145 +
   1.146 +WebIndex lists all web topics in alphabetical order, with the first couple of lines of text. This is simply a preset =SEARCH=:
   1.147 +<blockquote>
   1.148 +<pre>
   1.149 +%<nop>SEARCH{ "\.*" scope="topic" type="regex" nosearch="on" }%
   1.150 +</pre>
   1.151 +</blockquote>
   1.152 +
   1.153 +#WebStatistics
   1.154 +---++ <nop>WebStatistics - site statistics
   1.155 +
   1.156 +You can generate a listing manually, or on an automated schedule, of visits to individual pages, on a per web basis. Compiled as a running total on a monthly basis. Includes totals for Topic Views, Topic Saves, Attachment Uploads, Most Popular Topics with number of views, and Top Contributors showing total of saves and attachment uploads. Previous months are saved.
   1.157 +
   1.158 +   * You can create a WebStatistics link using TWikiVariables with ==%<nop>STATISTICSTOPIC%==
   1.159 +
   1.160 +---+++ Configuring for automatic operation
   1.161 +
   1.162 +   * You can automatically generate usage statistics for all webs. To enable this:
   1.163 +      * Make sure variable *{Log}{view}*, *{Log}{save}* and *{Log}{upload} in are set in [[%SCRIPTURLPATH{"configure"}%][configure]]. This will generate log file entries (see below).
   1.164 +      * The WebStatistics topic must be present in all webs where you want to have statistics. You can use the topic in the Main web as a template.
   1.165 +      * Call the =twiki/bin/statistics= script from a cron job, once a day is recommended. This will update the WebStatistics topics in all webs.
   1.166 +      * __Attention:__ The script must run as the same user as the CGI scripts are running, which is user =nobody= on many systems. Example crontab entry: %BR% =0 0 * * * (cd /path/to/twiki/bin; ./statistics &gt;/dev/null 2&gt;&amp;1)=
   1.167 +      * There is a workaround in case you can't run the script as user =nobody= : Run the utility =twiki/tools/geturl.pl= in your cron job and specify the URL of the =twiki/bin/statistics= script as a parameter. Example: %BR% =0 0 * * * (cd /path/to/twiki/tools; ./geturl.pl mydomain.com /urlpath/to/twiki/bin/statistics &gt;/dev/null 2&gt;&amp;1)= 
   1.168 +      * __NOTE:__ =geturl.pl= will do a TWiki CGI request as the <nop>TWikiGuest user, so if you use this workaround, the !WebStatistics topics you are updating will have to be writable by <nop>TWikiGuest.
   1.169 +
   1.170 +When running from the command line or a cron job, you can pass parameters to the script like this:
   1.171 +<verbatim>
   1.172 +./statistics -logdate 200605 -webs TWiki,Sandbox
   1.173 +</verbatim>
   1.174 +
   1.175 +---+++ Generating statistics manually by URL
   1.176 +
   1.177 +   * The =twiki/bin/statistics= script can also be executed as a CGI script, just enter the URL in your browser. Examples:
   1.178 +      * Update current month for all webs you have access to: %BR% =%SCRIPTURLPATH{statistics}%=
   1.179 +      * Update current month for %USERSWEB% web only: %BR% =%SCRIPTURLPATH{statistics}%/%USERSWEB%=
   1.180 +      * Update %SERVERTIME{$month $year}% for %USERSWEB% web: %BR% =%SCRIPTURLPATH{statistics}%/%USERSWEB%?logdate=%SERVERTIME{$year$mo}%=
   1.181 +      * Update %SERVERTIME{$month $year}% for the !ProjectX, !ProjectY and !ProjectZ webs: %BR% =%SCRIPTURLPATH{statistics}%?logdate=%SERVERTIME{$year$mo}%;webs=Project<nop>X,Project<nop>Y,Project<nop>Z=
   1.182 +
   1.183 +#LogFiles
   1.184 +---++ Log Files
   1.185 +
   1.186 +TWiki generates monthly log files which are used by the statistics script
   1.187 +   * The log file is defined by the *{LogFileName}* setting in [[%SCRIPTURLPATH{"configure"}%][configure]]
   1.188 +   * The file name is =log&lt;year&gt;&lt;month&gt;.txt=
   1.189 +   * Example path name: =twiki/logs/log%SERVERTIME{$year$mo}%.txt=
   1.190 +   * Each access gets logged as: %BR%
   1.191 +     =| &lt;time&gt; | &lt;wikiusername&gt; | &lt;action&gt; | &lt;web&gt;.&lt;topic&gt; | &lt;extra info&gt; | &lt;IP address&gt; |=
   1.192 +   * Example log entry: %BR%
   1.193 +     =| %SERVERTIME{$day $mon $year - $hour:$min}% | %USERSWEB%.TWikiGuest | view | %SYSTEMWEB%.WebRss |  | 66.124.232.02 |=
   1.194 +   * Actions are logged if enabled in [[%SCRIPTURLPATH{"configure"}%][configure]] by the *{Log}{<i>action</i>}* flags
   1.195 +   * Logged actions:
   1.196 +     | *Script* | *Action name* | *Extra info* |
   1.197 +     | attach | =attach= | when viewing attach screen of previous uploaded attachment: =filename= |
   1.198 +     | changes | =changes= |  |
   1.199 +     | edit | =edit= | when editing non-existing topic: =(not exist)= |
   1.200 +     | rdiff | =rdiff= | higher and lower revision numbers: =4 3= |
   1.201 +     | register | =regstart= | !WikiUserName, e-Mail address, LoginName: =user attempts to register= |
   1.202 +     | register | =register= | E-mail address: =user successfully registers= |
   1.203 +     | register | =bulkregister= | !WikiUserName of new, e-mail address, admin ID |
   1.204 +     | rename | =rename= | when moving topic: =moved to !Newweb.NewTopic= |
   1.205 +     | rename | =move= | when moving attachment: =Attachment filename moved to !Newweb.NewTopic= |
   1.206 +     | save | =save= | when replacing existing revision: =repRev 3= %BR% when user checks the minor changes box: =dontNotify= %BR% when user changes attributes to an exising attachment: =filename.ext= |
   1.207 +     | save | =cmd= | special admin parameter used when saving |
   1.208 +     | search | =search= | search string |
   1.209 +     | upload | =upload= | filename |
   1.210 +     | view | =view= | when viewing non-existing topic: =(not exist)= %BR% when viewing previous topic revision: =r3= |
   1.211 +
   1.212 +#ConfigureEmail
   1.213 +---++ E-mail
   1.214 +
   1.215 +---+++ Configuring outgoing mail
   1.216 +
   1.217 +Outgoing mail is required for TWikiRegistration and for [[#WebNotify][recent changes alert]].
   1.218 +
   1.219 +TWiki will use the ==Net::SMTP== module if it is installed on your system. Set this with the ==SMTPMAILHOST== variable in TWikiPreferences.
   1.220 +
   1.221 +The notify e-mail uses the default =changes.tmpl= template, or a skin if activated in the TWikiPreferences.
   1.222 +
   1.223 +mailnotify also relies on two hidden files in each =twiki/data/Web= directory: =.changes= and =.mailnotify.= Make sure both are writable by your web server process. =.changes= contains a list of changes; go ahead and make this empty. =.mailnotify= contains a timestamp of the last time notification was done.
   1.224 +
   1.225 +You can use an external mail program, such as ==sendmail==, if the =Net::SMTP= module is not installed. Set the program path in =={MailProgram}== in [[%SCRIPTURLPATH{"configure"}%][configure]].
   1.226 +
   1.227 +   * %H% Net::SMTP can be easily disabled (if there is an installation error) by setting ==SMTPMAILHOST== in TWikiPreferences to an empty value.
   1.228 +
   1.229 +   * %T% You can set a separate ==SMTPSENDERHOST== variable to define the mail sender host (some SMTP installations require this).
   1.230 +
   1.231 +---+++ Setting the automatic e-mail schedule
   1.232 +
   1.233 +*For Unix platforms:* Edit the =cron= table so that =mailnotify= is called in an interval of your choice. Please consult =man crontab= of how to modify the table that schedules program execution at certain intervals. Example:
   1.234 +<pre>
   1.235 +% crontab -e
   1.236 +0 1 * * * (cd /path/to/twiki/bin; ./mailnotify -q)
   1.237 +</pre>
   1.238 +The above line will run mailnotify nightly at 01:00. The =-q= switch suppresses all normal output.
   1.239 +
   1.240 +*For ISP installations:* Many ISPs don't allow hosted accounts direct cron access, as it's often used for things that can heavily load the server. Workaround scripts are available.
   1.241 +
   1.242 +*On Windows:* You can use a scheduled task if you have administrative privileges. TWiki:Codev/CronTabWin is a free scheduler for Windows.
   1.243 +
   1.244 +---++ Site Permissions
   1.245 +
   1.246 +   * TWikiAccessControl describes how to restrict read and write access to topics and webs, by users and groups
   1.247 +   * SitePermissions lists the permissions settings of the webs on this TWiki site
   1.248 +
   1.249 +---++ Help with crontab
   1.250 +
   1.251 +The crontab command is used to schedule commands to be executed periodically.
   1.252 +
   1.253 +   * Wikipedia.org:Crontab - crontab documentation
   1.254 +   * [[http://www.kalab.com/freeware/pycron/pycron.htm][pycron]] - crontab for Windows
   1.255 +
   1.256 +__Related Topics:__ AdminDocumentationCategory, AdminToolsCategory
   1.257 +
   1.258 +%STOPINCLUDE%
   1.259 +-- __Contributors:__ TWiki:Main.MikeMannix, TWiki:Main.PeterThoeny, TWiki:Main.CrawfordCurrie, TWiki:Main.KennethLavrsen, TWiki:Main.SvenDowideit
   1.260 +@
   1.261 +
   1.262 +
   1.263 +1.13
   1.264 +log
   1.265 +@buildrelease
   1.266 +@
   1.267 +text
   1.268 +@d1 1
   1.269 +a1 2
   1.270 +%META:TOPICINFO{author="TWikiContributor" date="1163619832" format="1.1" version="13"}%
   1.271 +%TOC%
   1.272 +d3 1
   1.273 +a3 1
   1.274 +---# TWiki Site Tools
   1.275 +d7 3
   1.276 +a9 1
   1.277 +TWiki Site Tools include utilities for navigating, searching and keeping up with site activity. Preferences can be configured by web or site-wide. You are currently in the *%TWIKIWEB%* web. In particular, TWiki provides two highly configurable, automated site monitoring tools, *<nop>WebNotify*, to e-mail alerts when topics are edited, and *<nop>WebStatistics*, to generate detailed activity reports.
   1.278 +d20 1
   1.279 +a20 1
   1.280 +You can also use =%<nop>MAINWEB%= instead of =Main=, but this is not necessary even if you have renamed the main web by configuring ={MainWebName}= in [[%SCRIPTURLPATH{"configure"}%][configure]].
   1.281 +d47 5
   1.282 +d76 2
   1.283 +a77 1
   1.284 +      * There is a workaround in case you can't run the script as user =nobody= : Run the utility =twiki/tools/geturl.pl= in your cron job and specify the URL of the =twiki/bin/statistics= script as a parameter. Example: %BR% =0 0 * * * (cd /path/to/twiki/tools; ./geturl.pl mydomain.com /urlpath/to/twiki/bin/statistics &gt;/dev/null 2&gt;&amp;1)=
   1.285 +d88 2
   1.286 +a89 2
   1.287 +      * Update current month for %MAINWEB% web only: %BR% =%SCRIPTURLPATH{statistics}%/%MAINWEB%=
   1.288 +      * Update %SERVERTIME{$month $year}% for %MAINWEB% web: %BR% =%SCRIPTURLPATH{statistics}%/%MAINWEB%?logdate=%SERVERTIME{$year$mo}%=
   1.289 +d102 1
   1.290 +a102 1
   1.291 +     =| %SERVERTIME{$day $mon $year - $hour:$min}% | %MAINWEB%.TWikiGuest | view | %TWIKIWEB%.WebRss |  | 66.124.232.02 |=
   1.292 +a114 2
   1.293 +     | passwd | =resetpasswd= | LoginName, WikiName, E-mail address, success code from addUserPassword |
   1.294 +     | passwd | =changepasswd= | LoginName, WikiName |
   1.295 +d145 1
   1.296 +a145 1
   1.297 +0 2 * * * (cd /path/to/twiki/bin; ./mailnotify -q)
   1.298 +d147 1
   1.299 +a147 1
   1.300 +The above line will run mailnotify nightly at 02:00. The =-q= switch suppresses all normal output.
   1.301 +d158 7
   1.302 +d167 2
   1.303 +@
   1.304 +
   1.305 +
   1.306 +1.12
   1.307 +log
   1.308 +@buildrelease
   1.309 +@
   1.310 +text
   1.311 +@d1 1
   1.312 +a1 1
   1.313 +%META:TOPICINFO{author="TWikiContributor" date="1121296496" format="1.1" version="12"}%
   1.314 +d39 1
   1.315 +a39 1
   1.316 +<blockquote style="background-color:#f5f5f5">
   1.317 +d41 2
   1.318 +a42 1
   1.319 +%<nop>SEARCH{ ".*" web="%INCLUDINGWEB%" regex="on" nosearch="on" order="modified"%BR% reverse="on" limit="50" }%
   1.320 +d50 1
   1.321 +a50 1
   1.322 +<blockquote style="background-color:#f5f5f5">
   1.323 +d52 1
   1.324 +a52 1
   1.325 +%<nop>SEARCH{ "\.*" scope="topic" regex="on" nosearch="on" }%
   1.326 +d70 1
   1.327 +a70 1
   1.328 +      * There is a workaround in case you can't run the script as user =nobody= : Run the utility =twiki/bin/geturl= in your cron job and specify the URL of the =twiki/bin/statistics= script as a parameter. Example: %BR% =0 0 * * * (cd /path/to/twiki/bin; ./geturl mydomain.com /urlpath/to/twiki/bin/statistics &gt;/dev/null 2&gt;&amp;1)=
   1.329 +d110 2
   1.330 +a111 1
   1.331 +     | save | =save= | when replacing existing revision: =repRev 3= %BR% when user checks the minor changes box: =dontNotify= |
   1.332 +@
   1.333 +
   1.334 +
   1.335 +1.11
   1.336 +log
   1.337 +@buildrelease
   1.338 +@
   1.339 +text
   1.340 +@d1 1
   1.341 +a1 1
   1.342 +%META:TOPICINFO{author="TWikiContributor" date="1121296496" format="1.1" version="11"}%
   1.343 +d71 5
   1.344 +d79 1
   1.345 +a79 1
   1.346 +      * Update current month for all webs: %BR% =%SCRIPTURLPATH{statistics}%=
   1.347 +d81 2
   1.348 +a82 1
   1.349 +      * Update January 2000 for %MAINWEB% web: %BR% =%SCRIPTURLPATH{statistics}%/%MAINWEB%?logdate=%SERVERTIME{$year$mo}%=
   1.350 +@
   1.351 +
   1.352 +
   1.353 +1.10
   1.354 +log
   1.355 +@buildrelease
   1.356 +@
   1.357 +text
   1.358 +@d1 1
   1.359 +a1 1
   1.360 +%META:TOPICINFO{author="TWikiContributor" date="1121296496" format="1.1" version="10"}%
   1.361 +d15 1
   1.362 +a15 1
   1.363 +	* You can create a WebNotify link using TWikiVariables with ==%<nop>NOTIFYTOPIC%==
   1.364 +d25 5
   1.365 +a29 5
   1.366 +	* topic title or full-text search
   1.367 +	* regular expressions
   1.368 +	* search within web or site-wide
   1.369 +	* index-style A-Z alphabetical listing sorted topic title
   1.370 +	* many more
   1.371 +d60 1
   1.372 +a60 1
   1.373 +	* You can create a WebStatistics link using TWikiVariables with ==%<nop>STATISTICSTOPIC%==
   1.374 +d64 6
   1.375 +a69 6
   1.376 +	* You can automatically generate usage statistics for all webs. To enable this:
   1.377 +		* Make sure variable *{Log}{view}*, *{Log}{save}* and *{Log}{upload} in are set in [[%SCRIPTURLPATH{"configure"}%][configure]]. This will generate log file entries (see below).
   1.378 +		* The WebStatistics topic must be present in all webs where you want to have statistics. You can use the topic in the Main web as a template.
   1.379 +		* Call the =twiki/bin/statistics= script from a cron job, once a day is recommended. This will update the WebStatistics topics in all webs.
   1.380 +		* __Attention:__ The script must run as the same user as the CGI scripts are running, which is user =nobody= on many systems. Example crontab entry: %BR% =0 0 * * * (cd /path/to/twiki/bin; ./statistics &gt;/dev/null 2&gt;&amp;1)=
   1.381 +		* There is a workaround in case you can't run the script as user =nobody= : Run the utility =twiki/bin/geturl= in your cron job and specify the URL of the =twiki/bin/statistics= script as a parameter. Example: %BR% =0 0 * * * (cd /path/to/twiki/bin; ./geturl mydomain.com /urlpath/to/twiki/bin/statistics &gt;/dev/null 2&gt;&amp;1)=
   1.382 +d73 4
   1.383 +a76 4
   1.384 +	* The =twiki/bin/statistics= script can also be executed as a CGI script, just enter the URL in your browser. Examples:
   1.385 +		* Update current month for all webs: %BR% =%SCRIPTURLPATH{statistics}%=
   1.386 +		* Update current month for %MAINWEB% web only: %BR% =%SCRIPTURLPATH{statistics}%/%MAINWEB%=
   1.387 +		* Update January 2000 for %MAINWEB% web: %BR% =%SCRIPTURLPATH{statistics}%/%MAINWEB%?logdate=%SERVERTIME{$year$mo}%=
   1.388 +d82 25
   1.389 +a106 25
   1.390 +	* The log file is defined by the *{LogFileName}* setting in [[%SCRIPTURLPATH{"configure"}%][configure]]
   1.391 +	* The file name is =log&lt;year&gt;&lt;month&gt;.txt=
   1.392 +	* Example path name: =twiki/logs/log%SERVERTIME{$year$mo}%.txt=
   1.393 +	* Each access gets logged as: %BR%
   1.394 +	  =| &lt;time&gt; | &lt;wikiusername&gt; | &lt;action&gt; | &lt;web&gt;.&lt;topic&gt; | &lt;extra info&gt; | &lt;IP address&gt; |=
   1.395 +	* Example log entry: %BR%
   1.396 +	  =| %SERVERTIME{$day $mon $year - $hour:$min}% | %MAINWEB%.TWikiGuest | view | %TWIKIWEB%.WebRss |  | 66.124.232.02 |=
   1.397 +	* Actions are logged if enabled in [[%SCRIPTURLPATH{"configure"}%][configure]] by the *{Log}{<i>action</i>}* flags
   1.398 +	* Logged actions:
   1.399 +	  | *Script* | *Action name* | *Extra info* |
   1.400 +	  | attach | =attach= | when viewing attach screen of previous uploaded attachment: =filename= |
   1.401 +	  | changes | =changes= |  |
   1.402 +	  | edit | =edit= | when editing non-existing topic: =(not exist)= |
   1.403 +	  | rdiff | =rdiff= | higher and lower revision numbers: =4 3= |
   1.404 +	  | register | =regstart= | !WikiUserName, e-Mail address, LoginName: =user attempts to register= |
   1.405 +	  | register | =register= | E-mail address: =user successfully registers= |
   1.406 +	  | register | =bulkregister= | !WikiUserName of new, e-mail address, admin ID |
   1.407 +	  | rename | =rename= | when moving topic: =moved to !Newweb.NewTopic= |
   1.408 +	  | rename | =move= | when moving attachment: =Attachment filename moved to !Newweb.NewTopic= |
   1.409 +	  | passwd | =resetpasswd= | LoginName, WikiName, E-mail address, success code from addUserPassword |
   1.410 +	  | passwd | =changepasswd= | LoginName, WikiName |
   1.411 +	  | save | =save= | when replacing existing revision: =repRev 3= %BR% when user checks the minor changes box: =dontNotify= |
   1.412 +	  | search | =search= | search string |
   1.413 +	  | upload | =upload= | filename |
   1.414 +	  | view | =view= | when viewing non-existing topic: =(not exist)= %BR% when viewing previous topic revision: =r3= |
   1.415 +d123 1
   1.416 +a123 1
   1.417 +	* %H% Net::SMTP can be easily disabled (if there is an installation error) by setting ==SMTPMAILHOST== in TWikiPreferences to an empty value.
   1.418 +d125 1
   1.419 +a125 1
   1.420 +	* %T% You can set a separate ==SMTPSENDERHOST== variable to define the mail sender host (some SMTP installations require this).
   1.421 +d142 2
   1.422 +a143 2
   1.423 +	* TWikiAccessControl describes how to restrict read and write access to topics and webs, by users and groups
   1.424 +	* SitePermissions lists the permissions settings of the webs on this TWiki site
   1.425 +@
   1.426 +
   1.427 +
   1.428 +1.9
   1.429 +log
   1.430 +@none
   1.431 +@
   1.432 +text
   1.433 +@d1 1
   1.434 +a1 1
   1.435 +%META:TOPICINFO{author="PeterThoeny" date="1093677752" format="1.0" version="1.9"}%
   1.436 +d8 1
   1.437 +a8 1
   1.438 +TWikiSiteTools include utilities for navigating, searching and keeping up with site activity. Preferences can be configured by web or site-wide. You are currently in the *%TWIKIWEB%* web. In particular, TWiki provides two highly configurable, automated site monitoring tools, *<nop>WebNotify*, to email alerts when topics are edited, and *<nop>WebStats*, to generate detailed activity reports.
   1.439 +d10 2
   1.440 +a11 1
   1.441 +---++ <nop>WebNotify Recent Changes Alert
   1.442 +d13 1
   1.443 +a13 1
   1.444 +Each TWiki web has an automatic email alert service that sends a list of recent changes on a preset schedule, like once a day. Users can subscribe and unsubscribe using %NOTIFYTOPIC% in each web. The Perl script =mailnotify= is called by a background process at regular intervals. The script sends an automated email to subscribed users if topics were changed in a web since the script was last run.
   1.445 +d19 1
   1.446 +a19 1
   1.447 +You can also use =%<nop>MAINWEB%= instead of =Main=, but this is not necessary even if you have renamed the main web by configuring =$mainWebname= in =TWiki.cfg=.  
   1.448 +d21 2
   1.449 +d24 6
   1.450 +a29 1
   1.451 +---+++ Configuring Outgoing Mail
   1.452 +d31 1
   1.453 +a31 1
   1.454 +%WIKITOOLNAME% will use the ==Net::SMTP== module if it is installed on your system. Set this with the ==SMTPMAILHOST== variable in TWikiPreferences.
   1.455 +d33 2
   1.456 +a34 1
   1.457 +The notify e-mail uses the default =changes.tmpl= template, or a skin if activated in the TWikiPreferences.
   1.458 +d36 1
   1.459 +a36 1
   1.460 +mailnotify also relies on two hidden files in each =TWiki/data/[web]= directory: =.changes= and =.mailnotify.= Make sure both are writable by your web server process. =.changes= contains a list of changes; go ahead and make this empty. =.mailnotify= contains a timestamp of the last time notification was done.
   1.461 +d38 6
   1.462 +a43 1
   1.463 +You can use an external mail program, like ==sendmail==, if the =Net::SMTP= module is not installed. Set the program path in ==$mailProgram== in ==TWiki.cfg==.
   1.464 +d45 2
   1.465 +a46 3
   1.466 +	* %H% Net::SMTP can be easily disabled (ex: if there is an installation error) by setting ==SMTPMAILHOST== in TWikiPreferences to an empty value.
   1.467 + 
   1.468 +	* %T% You can set a separate ==SMTPSENDERHOST== variable to define the mail sender host (some SMTP installations require this). 
   1.469 +d48 2
   1.470 +a49 3
   1.471 +---+++ Setting the Automatic Email Schedule
   1.472 +
   1.473 +*For Unix platforms:* Edit the =cron= table so that =mailnotify= is called in an interval of your choice. Please consult =man crontab= of how to modify the table that schedules program execution at certain intervals. Example:
   1.474 +d51 1
   1.475 +a51 2
   1.476 +% crontab -e
   1.477 +0 2 * * * (cd /path/to/twiki/bin; ./mailnotify -q)
   1.478 +d53 1
   1.479 +a53 1
   1.480 +The above line will run mailnotify nightly at 02:00. The =-q= switch suppresses all normal output.
   1.481 +d55 2
   1.482 +a56 8
   1.483 +*For ISP installations:* Many ISPs don't allow hosted accounts direct cron access, as it's often used for things that can heavily load the server. Workaround scripts are available.
   1.484 +
   1.485 +*On Windows NT/2000:* You can use a scheduled task if you have administrative privileges.
   1.486 +__Note:__ AT on an NT machine is pretty limited.
   1.487 +Microsoft lists several third-party
   1.488 +[[http://www.microsoft.com/ntserver/partners/findoffering/serversolutions/Maintnce.asp#cron][replacements]]. TWiki:Codev/CronTabWin is a free scheduler for Windows.
   1.489 +
   1.490 +---++ <nop>WebStatistics Site Usage Log
   1.491 +d62 1
   1.492 +a62 1
   1.493 +---+++ Configuring for Automatic Operation
   1.494 +d65 1
   1.495 +a65 1
   1.496 +		* Make sure variable =$doLogTopicView, $doLogTopicSave and $doLogTopicUpload= in =TWiki.cfg= are set. This will generate log file entries (see below).
   1.497 +d68 2
   1.498 +a69 2
   1.499 +		* __Attention:__ The script must run as the same user as the CGI scripts are running, which is user =nobody= on many systems. Example crontab entry: <br> =0 0 * * * (cd /path/to/TWiki/bin; ./statistics &gt;/dev/null 2&gt;&amp;1)=
   1.500 +		* There is a workaround in case you can't run the script as user =nobody= : Run the utility =twiki/bin/geturl= in your cron job and specify the URL of the =twiki/bin/statistics= script as a parameter. Example: <br> =0 0 * * * (cd /path/to/TWiki/bin; ./geturl mydomain.com /urlpath/to/TWiki/bin/statistics &gt;/dev/null 2&gt;&amp;1)=
   1.501 +d71 1
   1.502 +a71 1
   1.503 +---+++ Generating Statistics Manually by URL
   1.504 +d74 3
   1.505 +a76 3
   1.506 +		* Update current month for all webs: <br> =http://mydomain.com/twiki/bin/statistics=
   1.507 +		* Update current month for Main web only: <br> =http://mydomain.com/twiki/bin/statistics/Main=
   1.508 +		* Update January 2000 for Main web: <br> =http://mydomain.com/twiki/bin/statistics/Main?logdate=200001=
   1.509 +d78 2
   1.510 +a79 1
   1.511 +---+++ Log File Details
   1.512 +d81 2
   1.513 +a82 2
   1.514 +TWiki generates monthly log files which are used by the statistics
   1.515 +	* The log directory is defined by the =$logDir= variable in TWiki.cfg
   1.516 +d84 1
   1.517 +a84 1
   1.518 +	* Example path name: =twiki/data/log%SERVERTIME{$year$mo}%.txt=
   1.519 +d88 2
   1.520 +a89 2
   1.521 +	  =| %SERVERTIME{$day $mon $year - $hour:$min}% | !Main.TWikiGuest | view | !TWiki.WebRss |  | 66.124.232.02 |=
   1.522 +	* Actions are logged if enabled in TWiki.cfg by the =$doLogTopic&lt;action&gt;= flags
   1.523 +d95 4
   1.524 +a98 4
   1.525 +	  | register | =register= | E-mail address |
   1.526 +	  | save | =save= | when replacing existing revision: =repRev 1.3= %BR% when user checks the minor changes box: =dontNotify= |
   1.527 +	  | search | =search= | search string |
   1.528 +	  | rdiff | =rdiff= | =1.4 1.3= |
   1.529 +d101 4
   1.530 +d106 4
   1.531 +a109 1
   1.532 +	  | view | =view= | when viewing non-existing topic: =(not exist)= %BR% when viewing previous topic revision: =r1.3= |
   1.533 +d111 1
   1.534 +d113 1
   1.535 +a113 1
   1.536 +---++ <nop>WebSearch
   1.537 +d115 7
   1.538 +a121 6
   1.539 +WebSearch is an extremely fast and flexible search facility, part of the core TWiki feature set. Options include:
   1.540 +	* topic title or full-text search
   1.541 +	* regular expressions
   1.542 +	* search within web or site-wide
   1.543 +	* index-style A-Z alphabetical listing sorted topic title
   1.544 +	* many more
   1.545 +d123 1
   1.546 +a123 1
   1.547 +See also: TWikiVariables for including hard-coded searches in text.
   1.548 +d125 1
   1.549 +a125 1
   1.550 +---+++ <nop>WebChanges
   1.551 +d127 1
   1.552 +a127 1
   1.553 +To check for the most recently edited topics while on-site, use the WebChanges link, usually located on the upper toolbar. It lists the most recently modified topics, newest first, along with the first couple of lines of the page content. 
   1.554 +d129 1
   1.555 +a129 2
   1.556 +This is simply a preset =SEARCH=. The number of topics listed by the =limit= parameter.:
   1.557 +<blockquote style="background-color:#f5f5f5">
   1.558 +d131 2
   1.559 +a132 1
   1.560 +%<nop>SEARCH{".*" web="%INCLUDINGWEB%" regex="on" nosearch="on" order="modified" <br />reverse="on" limit="50"}%
   1.561 +d134 5
   1.562 +a138 1
   1.563 +</blockquote>
   1.564 +d140 1
   1.565 +a140 1
   1.566 +---+++ <nop>WebIndex
   1.567 +d142 2
   1.568 +a143 6
   1.569 +WebIndex lists all web topics in alphabetical order, with the first couple of lines of text. This is simply a preset =SEARCH=:
   1.570 +<blockquote style="background-color:#f5f5f5">
   1.571 +<pre>
   1.572 +%<nop>SEARCH{"\.*" scope="topic" regex="on" nosearch="on"}%
   1.573 +</pre>
   1.574 +</blockquote>
   1.575 +d145 1
   1.576 +a145 2
   1.577 +-- TWiki:Main.MikeMannix - 01 Dec 2001 %BR%
   1.578 +-- TWiki:Main.PeterThoeny - 28 Aug 2004
   1.579 +@
   1.580 +
   1.581 +
   1.582 +1.8
   1.583 +log
   1.584 +@none
   1.585 +@
   1.586 +text
   1.587 +@d1 1
   1.588 +a1 1
   1.589 +%META:TOPICINFO{author="PeterThoeny" date="1082851827" format="1.0" version="1.8"}%
   1.590 +d16 1
   1.591 +a16 8
   1.592 +TWiki handles <nop>%NOTIFYTOPIC% entries that include the WikiName of a user or a [[%MAINWEB%.TWikiGroups][TWikiGroup]] and an optional e-mail address. Example entries in <nop>%NOTIFYTOPIC%:
   1.593 +<pre>
   1.594 +	 * %MAINWEB%.FredBloggs
   1.595 +	 * %MAINWEB%.FredBloggs - secondary@@home.com
   1.596 +	 * %MAINWEB%.EngineeringGroup
   1.597 +</pre>
   1.598 +
   1.599 +The first entry is the default form, the notification gets sent to the e-mail address specified in the user's home page. The second entry lists an alternative e-mail address. The third entry specifies a group, the notification gets sent to each member of the group.
   1.600 +d131 1
   1.601 +a131 1
   1.602 +-- TWiki:Main.PeterThoeny - 24 Apr 2004
   1.603 +@
   1.604 +
   1.605 +
   1.606 +1.7
   1.607 +log
   1.608 +@none
   1.609 +@
   1.610 +text
   1.611 +@d1 139
   1.612 +a139 113
   1.613 +%META:TOPICINFO{author="PeterThoeny" date="1043912580" format="1.0" version="1.7"}%
   1.614 +%TOC%
   1.615 +%STARTINCLUDE%
   1.616 +---# TWiki Site Tools
   1.617 +
   1.618 +_Utilities for searching, navigation, and monitoring site activity_
   1.619 +
   1.620 +TWikiSiteTools include utilities for navigating, searching and keeping up with site activity. Preferences can be configured by web or site-wide. You are currently in the *%TWIKIWEB%* web. In particular, TWiki provides two highly configurable, automated site monitoring tools, *<nop>WebNotify*, to email alerts when topics are edited, and *<nop>WebStats*, to generate detailed activity reports.
   1.621 +
   1.622 +---++ <nop>WebNotify Recent Changes Alert
   1.623 +
   1.624 +Each TWiki web has an automatic email alert service that sends a list of recent changes on a preset schedule, like once a day. Users can subscribe and unsubscribe using %NOTIFYTOPIC% in each web. The Perl script =mailnotify= is called by a background process at regular intervals. The script sends an automated email to subscribed users if topics were changed in a web since the script was last run.
   1.625 +
   1.626 +	* You can create a WebNotify link using TWikiVariables with ==%<nop>NOTIFYTOPIC%==
   1.627 +
   1.628 +TWiki handles <nop>%NOTIFYTOPIC% entries that include the WikiName of a user or a [[%MAINWEB%.TWikiGroups][TWikiGroup]] and an optional e-mail address. Example entries in <nop>%NOTIFYTOPIC%:
   1.629 +<pre>
   1.630 +	 * %MAINWEB%.FredBloggs
   1.631 +	 * %MAINWEB%.FredBloggs - secondary@@home.com
   1.632 +	 * %MAINWEB%.EngineeringGroup
   1.633 +</pre>
   1.634 +
   1.635 +The first entry is the default form, the notification gets sent to the e-mail address specified in the user's home page. The second entry lists an alternative e-mail address. The third entry specifies a group, the notification gets sent to each member of the group.
   1.636 +
   1.637 +You can also use =%<nop>MAINWEB%= instead of =Main=, but this is not necessary even if you have renamed the main web by configuring =$mainWebname= in =TWiki.cfg=.  
   1.638 +
   1.639 +
   1.640 +---+++ Configuring Outgoing Mail
   1.641 +
   1.642 +%WIKITOOLNAME% will use the ==Net::SMTP== module if it is installed on your system. Set this with the ==SMTPMAILHOST== variable in TWikiPreferences.
   1.643 +
   1.644 +The notify e-mail uses the default =changes.tmpl= template, or a skin if activated in the TWikiPreferences.
   1.645 +
   1.646 +mailnotify also relies on two hidden files in each =TWiki/data/[web]= directory: =.changes= and =.mailnotify.= Make sure both are writable by your web server process. =.changes= contains a list of changes; go ahead and make this empty. =.mailnotify= contains a timestamp of the last time notification was done.
   1.647 +
   1.648 +You can use an external mail program, like ==sendmail==, if the =Net::SMTP= module is not installed. Set the program path in ==$mailProgram== in ==TWiki.cfg==.
   1.649 +
   1.650 +	* %H% Net::SMTP can be easily disabled (ex: if there is an installation error) by setting ==SMTPMAILHOST== in TWikiPreferences to an empty value.
   1.651 + 
   1.652 +	* %T% You can set a separate ==SMTPSENDERHOST== variable to define the mail sender host (some SMTP installations require this). 
   1.653 +
   1.654 +---+++ Setting the Automatic Email Schedule
   1.655 +
   1.656 +*For Unix platforms:* Edit the =cron= table so that =mailnotify= is called in an interval of your choice. Please consult =man crontab= of how to modify the table that schedules program execution at certain intervals. Example:
   1.657 +<pre>
   1.658 +% crontab -e
   1.659 +15,45 * * * * (cd ~twiki/public_html/bin; ./mailnotify -q)
   1.660 +</pre>
   1.661 +The above line will call mailnotify at 15 minutes and 45 minutes past every hour. The =-q= switch suppresses all normal output.
   1.662 +
   1.663 +*For ISP installations:* Many ISPs don't allow hosted accounts direct cron access, as it's often used for things that can heavily load the server. Workaround scripts are available.
   1.664 +
   1.665 +*On Windows NT/2000:* You can use a scheduled task if you have administrative privileges.
   1.666 +__Note:__ AT on an NT machine is pretty limited.
   1.667 +Microsoft lists several third-party
   1.668 +[[http://www.microsoft.com/ntserver/partners/findoffering/serversolutions/Maintnce.asp#cron][replacements]]
   1.669 +(as of 2001-11-20, none of them free).
   1.670 +
   1.671 +---++ <nop>WebStatistics Site Usage Log
   1.672 +
   1.673 +You can generate a listing manually, or on an automated schedule, of visits to individual pages, on a per web basis. Compiled as a running total on a monthly basis. Includes totals for Topic Views, Topic Saves, Attachment Uploads, Most Popular Topics with number of views, and Top Contributors showing total of saves and attachment uploads. Previous months are saved.
   1.674 +
   1.675 +	* You can create a WebStatistics link using TWikiVariables with ==%<nop>STATISTICSTOPIC%==
   1.676 +
   1.677 +---+++ Configuring for Automatic Operation
   1.678 +
   1.679 +	* You can automatically generate usage statistics for all webs. To enable this:
   1.680 +		* Make sure variable =$doLogTopicView, $doLogTopicSave and $doLogTopicUpload= in =TWiki.cfg= are set. This will generate log entries in file =twiki/data/log&lt;date&gt;.txt= .
   1.681 +		* The WebStatistics topic must be present in all webs where you want to have statistics. You can use the topic in the Main web as a template.
   1.682 +		* Call the =twiki/bin/statistics= script from a cron job, once a day is recommended. This will update the WebStatistics topics in all webs.
   1.683 +		* __Attention:__ The script must run as the same user as the CGI scripts are running, which is user =nobody= on most systems. Example crontab entry: <br> =0 0 * * * (cd /path/to/TWiki/bin; ./statistics &gt;/dev/null 2&gt;&amp;1)=
   1.684 +		* There is a workaround in case you can't run the script as user =nobody= : Run the utility =twiki/bin/geturl= in your cron job and specify the URL of the =twiki/bin/statistics= script as a parameter. Example: <br> =0 0 * * * (cd /path/to/TWiki/bin; ./geturl mydomain.com /urlpath/to/TWiki/bin/statistics &gt;/dev/null 2&gt;&amp;1)=
   1.685 +
   1.686 +---+++ Generating Statistics Manually by URL
   1.687 +
   1.688 +	* The =twiki/bin/statistics= script can also be executed as a CGI script, just enter the URL in your browser. Examples:
   1.689 +		* Update current month for all webs: <br> =http://mydomain.com/twiki/bin/statistics=
   1.690 +		* Update current month for Main web only: <br> =http://mydomain.com/twiki/bin/statistics/Main=
   1.691 +		* Update January 2000 for Main web: <br> =http://mydomain.com/twiki/bin/statistics/Main?logdate=200001=
   1.692 +
   1.693 +---++ <nop>WebSearch
   1.694 +
   1.695 +WebSearch is an extremely fast and flexible search facility, part of the core TWiki feature set. Options include:
   1.696 +	* topic title or full-text search
   1.697 +	* regular expressions
   1.698 +	* search within web or site-wide
   1.699 +	* index-style A-Z alphabetical listing sorted topic title
   1.700 +	* many more
   1.701 +
   1.702 +See also: TWikiVariables for including hard-coded searches in text.
   1.703 +
   1.704 +---+++ <nop>WebChanges
   1.705 +
   1.706 +To check for the most recently edited topics while on-site, use the WebChanges link, usually located on the upper toolbar. It lists the most recently modified topics, newest first, along with the first couple of lines of the page content. 
   1.707 +
   1.708 +This is simply a preset =SEARCH=. The number of topics listed by the =limit= parameter.:
   1.709 +<blockquote style="background-color:#f5f5f5">
   1.710 +<pre>
   1.711 +%<nop>SEARCH{".*" web="%INCLUDINGWEB%" regex="on" nosearch="on" order="modified" <br />reverse="on" limit="50"}%
   1.712 +</pre>
   1.713 +</blockquote>
   1.714 +
   1.715 +---+++ <nop>WebIndex
   1.716 +
   1.717 +WebIndex lists all web topics in alphabetical order, with the first couple of lines of text. This is simply a preset =SEARCH=:
   1.718 +<blockquote style="background-color:#f5f5f5">
   1.719 +<pre>
   1.720 +%<nop>SEARCH{"\.*" scope="topic" regex="on" nosearch="on"}%
   1.721 +</pre>
   1.722 +</blockquote>
   1.723 +
   1.724 +-- Main.MikeMannix - 01 Dec 2001 %BR%
   1.725 +-- Main.PeterThoeny - 30 Jan 2003
   1.726 +@
   1.727 +
   1.728 +
   1.729 +1.6
   1.730 +log
   1.731 +@none
   1.732 +@
   1.733 +text
   1.734 +@d1 1
   1.735 +a1 1
   1.736 +%META:TOPICINFO{author="MikeMannix" date="1020528636" format="1.0" version="1.6"}%
   1.737 +d4 1
   1.738 +a4 1
   1.739 +---# <nop>TWikiSiteTools
   1.740 +d12 14
   1.741 +a25 1
   1.742 +Each TWiki web has an automatic email alert service that sends a list of recent changes on a preset schedule, like once a day. Users can subscribe and unsubscribe using %NOTIFYTOPIC% in each web. The Perl script =mailnotify= is called by a deamon in regular intervals. The script sends an automated email to subscribed users if topics were changed in a web within last interval.
   1.743 +a26 1
   1.744 +	* You can create a WebNotify using TWikiVariables with ==%<nop>NOTIFYTOPIC%==
   1.745 +d32 4
   1.746 +d112 2
   1.747 +a113 1
   1.748 +-- Main.MikeMannix - 01 Dec 2001
   1.749 +@
   1.750 +
   1.751 +
   1.752 +1.5
   1.753 +log
   1.754 +@none
   1.755 +@
   1.756 +text
   1.757 +@d1 1
   1.758 +a1 1
   1.759 +%META:TOPICINFO{author="MikeMannix" date="1007450541" format="1.0" version="1.5"}%
   1.760 +a6 2
   1.761 +
   1.762 +---++ Overview
   1.763 +@
   1.764 +
   1.765 +
   1.766 +1.4
   1.767 +log
   1.768 +@none
   1.769 +@
   1.770 +text
   1.771 +@d1 1
   1.772 +a1 1
   1.773 +%META:TOPICINFO{author="MikeMannix" date="1007288520" format="1.0" version="1.4"}%
   1.774 +d20 1
   1.775 +a20 1
   1.776 +%WIKITOOLNAME% will use the =Net::SMTP= module in case it is installed on your system. You need to specify the =SMTPMAILHOST= variable in TWikiPreferences.
   1.777 +d22 5
   1.778 +a26 1
   1.779 +You can use an external mail program like =sendmail= in case the =Net::SMTP= module is not installed. In this case specify the =$mailProgram= in =twiki/bin/TWiki.cfg=.
   1.780 +@
   1.781 +
   1.782 +
   1.783 +1.3
   1.784 +log
   1.785 +@none
   1.786 +@
   1.787 +text
   1.788 +@d1 1
   1.789 +a1 1
   1.790 +%META:TOPICINFO{author="MikeMannix" date="1007201024" format="1.0" version="1.3"}%
   1.791 +d16 2
   1.792 +a40 4
   1.793 +---++ <nop>WebChanges
   1.794 +
   1.795 +To check for the most recently edited topics while on-site, use the WebChanges link, usually located on the upper toolbar. It lists the ___ most recently modified, newest first, along with the first couple of lines of the page content.
   1.796 +
   1.797 +d45 2
   1.798 +d74 21
   1.799 +a94 1
   1.800 +-- Main.MikeMannix - 30 Nov 2001	
   1.801 +@
   1.802 +
   1.803 +
   1.804 +1.2
   1.805 +log
   1.806 +@none
   1.807 +@
   1.808 +text
   1.809 +@d1 1
   1.810 +a1 1
   1.811 +%META:TOPICINFO{author="MikeMannix" date="1007113980" format="1.0" version="1.2"}%
   1.812 +d14 1
   1.813 +a14 5
   1.814 +Each TWiki web has an automatic email alert service that sends a list of recent changes on a preset schedule, like once a day. Users can subscribe and unsubscribe using %NOTIFYTOPIC% in each web.
   1.815 +
   1.816 +---+++ How It Works
   1.817 +
   1.818 +The Perl script =mailnotify= is called by a deamon in regular intervals. The script sends an automated email to subscribed users if topics were changed in a web within last interval.
   1.819 +@
   1.820 +
   1.821 +
   1.822 +1.1
   1.823 +log
   1.824 +@none
   1.825 +@
   1.826 +text
   1.827 +@d1 1
   1.828 +a1 1
   1.829 +%META:TOPICINFO{author="MikeMannix" date="1006515285" format="1.0" version="1.1"}%
   1.830 +d10 1
   1.831 +a10 1
   1.832 +TWikiSiteTools include utilities for navigating, searching and keeping up with site activity. Preferences can be configured by web or site-wide. You are currently in the *%TWIKIWEB%* web.
   1.833 +d12 1
   1.834 +a12 5
   1.835 +---++ Monitoring Topic Changes
   1.836 +
   1.837 +TWiki provides two highly configurable, automated site monitoring tools, *<nop>WebNotify*, to email alerts when topics are edited, and *<nop>WebStats*, to generate detailed activity reports.
   1.838 +
   1.839 +---+++ <nop>WebNotify Recent Changes Alert
   1.840 +d16 1
   1.841 +a16 1
   1.842 +---++++ Setting Up <nop>WebNotify
   1.843 +d20 1
   1.844 +a20 1
   1.845 +---+++++ Configuring Outgoing Mail
   1.846 +d26 1
   1.847 +a26 1
   1.848 +---+++++ Setting the Automatic Email Schedule
   1.849 +d43 1
   1.850 +a43 1
   1.851 +---+++ WebChanges
   1.852 +d47 1
   1.853 +a47 3
   1.854 +---++++ How does it work?
   1.855 +
   1.856 +---++ WebStatistics Site Usage Log
   1.857 +d69 6
   1.858 +a74 8
   1.859 +An extremely fast and flexible search facility.
   1.860 +
   1.861 +See also: TWikiVariables
   1.862 +
   1.863 +---
   1.864 +---++ Docs Comments for this page
   1.865 +
   1.866 +	* What about WebChanges: why isn't that covered here?
   1.867 +d76 1
   1.868 +a76 1
   1.869 +	* Need more details on WebNotify: How does it work? Exactly what data is emailed, in what format? 
   1.870 +d78 1
   1.871 +a78 2
   1.872 +-- PeterThoeny - 16 Mar 2001 
   1.873 +-- Main.MikeMannix - 23 Nov 2001	
   1.874 +@