Tatsuhiko Miyagawa > Plagger-0.7.17 > Plagger::Plugin::Filter::HTMLScrubber

Download:
Plagger-0.7.17.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Source  

NAME ^

Plagger::Plugin::Filter::HTMLScrubber - Scrub feed content

SYNOPSIS ^

  - module: Filter::HTMLScrubber
    config:
      rules:
        style: 0
        script: 0

DESCRIPTION ^

This plugin scrubs feed content using HTML::Scrubber.

All config parameters (except 'no_default_configs') are implemented as HTML::Scrubber's method: value. For example, if you write:

    method: value

in the config: section, this plugin will automatically turn the config into the method call:

    $scrubber->method('value');

See HTML::Scrubber document for details.

CONFIG ^

no_default_configs

Some rules and default config parameters are set by default. See rules and default methods defined in this module code for details.

If you don't need these settings, use no_default_configs

   no_detault_configs: 1

Defaults to 0, which means it uses the default (somewhat secure) config.

AUTHOR ^

Daisuke Murase <typester@cpan.org>

Tatsuhiko Miyagawa

SEE ALSO ^

Plagger, HTML::Scrubber

syntax highlighting: