Difference between revisions of "Talk:Notifier.pl"
From Organic Design wiki
Line 18: | Line 18: | ||
*Changed articles written to files | *Changed articles written to files | ||
*Price of a product changing shows up in wiki changes | *Price of a product changing shows up in wiki changes | ||
+ | |||
+ | == Development Notes == | ||
+ | A standard method of specifying resources needs to be adopted and a function made which accepts these resource descriptions and then interfaces with the necessary code such as [[wiki.pl]] and the new [[irc.pl]]. |
Revision as of 06:29, 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
Development Notes
A standard method of specifying resources needs to be adopted and a function made which accepts these resource descriptions and then interfaces with the necessary code such as wiki.pl and the new irc.pl.