A script to send E-Mail notification of changes to Wiki pages
Description
The WikiNotifyScript extracts a list of E-Mail addresses from a TracWiki page and mails a list of Wiki changes to them.
The page is parsed for any TracWiki lists. Each list entry is expected to be an E-Mail address. eg.
= Notify these users of changes to the Wiki = * alec@swapoff.org * trac@swapoff.org
Here are the command line arguments for WikiNotifyScript:
trac-wiki-notify <trac-url> <trac-path> <wiki-notification-page> <time-delta> <from-address> [<smtp-server>]
I use the page WikiNotify for this purpose, though any page can be used.
Bugs/Feature Requests
Existing bugs and feature requests for WikiNotifyScript are here.
If you have any issues, create a new ticket.
Download
Source
You can check out the source for WikiNotifyScript from Subversion at http://trac-hacks.org/svn/wikinotifyscript.
Example
Here is an example of using the script on SwapOff.org:
/usr/local/bin/trac-wiki-notify http://svn.swapoff.org/trachacks/ /srv/trac/trachacks WikiNotify 3600 trac@swapoff.org
Actually, I use something like the following to do notification for all my Trac instances at once:
cd /srv/trac; for d in */db; do d=`dirname $d`; /usr/local/bin/trac-wiki-notify http://svn.swapoff.org/$d/ /srv/trac/$d WikiNotify 3600 trac@swapoff.org 10.0.0.254; done
Author/Contributors
Author: athomas
Contributors: