Difference between revisions of "Talk:Notifier.pl"

From Organic Design wiki
(New page: {{project}} We need utility which runs...)
 
Line 1: Line 1:
 
{{project}}
 
{{project}}
We need utility which runs as a daemon and uses a set of rules specifying information sources to be checked on a schedule and
+
We need utility which runs as a daemon and uses a set of rules specifying information sources to be checked on a schedule. It will be a Perl daemon based on the [[wikid.pl]] code.
*This could be implemented as a Perl daemon, or it could be handled by the ''#schedule'' MediaWiki extension.
 
  
 
== Rules ==
 
== Rules ==
*Schedule: when to check for changes
+
The rules are defined as a list of items and can reside in a location available from any of the protocols it's set up to read from.
 +
 
 +
=== Rule Items ===
 +
*Schedule: pattern to be applied to localtime
 
*Source: FS, URL, POP
 
*Source: FS, URL, POP
 
*Extraction pattern: Extracts the information from the received content
 
*Extraction pattern: Extracts the information from the received content

Revision as of 01:41, 20 June 2008

Template:Project We need utility which runs as a daemon and uses a set of rules specifying information sources to be checked on a schedule. It will be a Perl daemon based on the wikid.pl code.

Rules

The rules are defined as a list of items and can reside in a location available from any of the protocols it's set up to read from.

Rule Items

  • Schedule: pattern to be applied to localtime
  • Source: FS, URL, POP
  • Extraction pattern: Extracts the information from the received content
  • Message: containing $n args
  • Target: FS, Wiki, POP, IRC

Example Usage

  • SVN changes sent to chat room
  • Changes to files appended to a log file
  • Changed files syncronised to wiki article
  • Changed articles written to files
  • Price of a product changing shows up in wiki changes