|
NAMEPlagger::Rule::Fresh - Rule to find 'fresh' entries or feeds SYNOPSIS # entries updated within 120 minutes
- module: SmartFeed
config:
id: fresh-entries
rule:
module: Fresh
duration: 120
# remove entries older than mtime of /tmp/foo.tmp
- module: Filter::Rule
rule:
module: Fresh
mtime:
path: /tmp/foo.tmp
autoupdate: 1
DESCRIPTIONThis rule finds fresh entries or feeds, which means updated date is within "duration" minutes. It defaults to 2 hours, but you'd better configure the value with your cronjob interval. CONFIG
AUTHORTatsuhiko Miyagawa Thanks to youpy, who originally wrote Plagger::Plugin::Filter::Fresh at <http://subtech.g.hatena.ne.jp/youpy/20060224/p1> SEE ALSOPlagger, Time::Duration
|