Licence: mail_usemod_changes is distributed under the GPL


A script to read UseModWiki's RSS feed and email all (not previously notified) recent changes to an email address. It keeps track of any changes it has already reported, so only reports 'new' recent changes, and sends no email at all if nothing has changed since the last time it was run.

It's designed to be run from cron, at whatever interval you'd like to be kept informed of changes to your wiki.

The following is an example of an email it produces (with the To and From lines snipped):

        Subject: My Wiki Recent Changes

          continue front page simplification
            29 November 2003 12:21:38 -- Arthur

          front page tidyup
            29 November 2003 12:20:20 ** Fred

Each page gets a paragraph, with the following format:

        page name
          [ Description of change, if entered ]
            Time of change (**/--) Username
            URL to page

The significance of the revision is indicated by the **/-- indicator: ** for major revisions, -- for minor ones.

The URL is designed to be clickable from mail clients that automatically create symlinks to 'http://...' and trivially cut and pastable into a browser from those that do not. Mail clients that insist on angle brackets around URLs before making them clickable suck (since by so doing they make said URLs non-trivially cut and pastable) and are, therefore, not of interest.

Copyright (C) 2004 Julian T. J. Midgley