Tatsuhiko Miyagawa > Plagger-0.7.3 > Plagger::Rule::Deduped

Download:
Plagger-0.7.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Source   Latest Release: Plagger-0.7.17

NAME ^

Plagger::Rule::Deduped - Rule to get Deduped entries based on the database

SYNOPSIS ^

  # remove entries you already seen
  - module: Filter::Rule
    rule:
      module: Deduped
      path: /tmp/var.db
      compare_body: 1

DESCRIPTION ^

This rule de-duplicates entry based on cached index (database).

CONFIG ^

path

Specified path to the database. This config is dependent for the DB_File backend.

compare_body

If set, this rule checks digest of entry, which is a MD5 hash of entry's title with body. Defaults to 0.

AUTHOR ^

Tatsuhiko Miyagawa

Kazuhiro Ohsawa created Plagger::Plugin::Cache in early days, which gives me a base idea of this module.

SEE ALSO ^

Plagger, DB_File

syntax highlighting: