Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.


Why I created pmwiki-watch

Using the PmWiki program and detecting other PmWikis in the Web I found it would be a good thing to search multiple PmWikis for recently changed sites. Otherwise the built-in mailpost function was not flexible enough and could not be configured to search in other PmWikis. Therefore I decided to develop a universal tool that can watch changes from any PmWiki and post me the changes via Mail. This could be configured by time directed jobs (cron jobs).


  • 04/30/2004 Release 0.0.7


  • Linux (tested on debian woody, suse 8.2)
  • Ruby Skript Language >= 1.6.7 (debian: apt-get install ruby)


  • get the latest archive from [(approve links) edit diff]
  • extract tarball
    • $ tar -xvzf pmwiki-watch.tar.gz
  • go into created pmwiki-watch dir and run as root:
    • # ruby setup.rb config
    • # ruby setup.rb setup
    • # ruby setup.rb install
  • after new install:
    • # cd /etc/pmwiki-watch
    • # cp pmwiki-watch.conf.tmpl pmwiki-watch.conf
    • # cp parse.rb.tmpl parse.rb
  • setup your pmwiki-watch.conf
  • create your own Job-Files in /etc/pmwiki-watch
  • Test:
    • # pmwiki-watch -j myjob


This Example checks the pmichaud Wiki and the lugrudo Wiki and send a Mail to and Pmwiki-watch is daily started with a cronjob: `pmwiki-watch -j daily┬┤. The Linux-Box has a local Smtp-Mailserver.

---snip--- file /etc/pmwiki-watch/pmwiki-watch.conf (Configuration)
DebugLevel   1
SendMail     yes
SmtpServer   localhost
HttpRedo     3

<WatchWiki PMichaud>
  ARFormat 1  # new 0.6.x AllRecentChanges Format

<WatchWiki Lugrudo>
  ARFormat 0  # old 0.5.x AllRecentChanges Format
---snip--- end file

---snip--- file /etc/pmwiki-watch/daily (Jobfile)
---snip--- end file

---snip--- Mail result
Subject: [PMichaud] recent changes daily
Date: Fri, 23 Apr 2004 17:20:02 +0200 (CEST)

Changed Pages:

PmWiki/WikiPage                     Fri Apr 23 07:34:00 CEST 2004
PmWiki/PmWiki                       Fri Apr 23 07:12:00 CEST 2004
Main/SideBar                        Fri Apr 23 02:07:00 CEST 2004
Main/WikiSandbox                    Fri Apr 23 01:47:00 CEST 2004
PmWiki/PmWikiUsers                  Thu Apr 22 22:22:00 CEST 2004
Cookbook/PmWikiLogo                 Thu Apr 22 21:04:00 CEST 2004
PmWiki/PhpSafeMode                  Thu Apr 22 18:13:00 CEST 2004
Cookbook/ComplexRecipes             Thu Apr 22 17:51:00 CEST 2004
---snip--- End Mail

pmwiki-2.3.33 -- Last modified by {{wm}}?

from IP: ip should be disabled by default for security reasons