FreeBSD Manual Pages
Plagger::Plugin::FilteUseraContributed Perl DoPlagger::Plugin::Filter::Base(3) NAME Plagger::Plugin::Filter::Base - Base filter class to handle HTML snippets SYNOPSIS package Plagger::Plugin::Filter::Foo; use base qw( Plagger::Plugin::Filter::Base ) sub filter { my($self, $body) = @_; # filter $body # store how many chunks are filtered into $count return ($count, $body); } DESCRIPTION Plagger::Plugin::Filter::Base is a base class for Plagger::Plugin::Filter to handle entry body with as much care as possible not to break HTML structure. Your filter will support "text_only" configuration by subclassing this module: - module: Filter::Foo config: text_only: 1 AUTHOR Tatsuhiko Miyagawa SEE ALSO Plagger, HTML::Parser perl v5.32.0 2006-12-05 Plagger::Plugin::Filter::Base(3)
NAME | SYNOPSIS | DESCRIPTION | AUTHOR | SEE ALSO
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Plagger::Plugin::Filter::Base&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>