Changeset 1129
- Timestamp:
- 07/22/06 01:51:08
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/refactoring-planet/plagger/lib/Plagger/Plugin/Filter/HTMLScrubber.pm
r1101 r1129 88 88 } 89 89 90 1; 91 92 __END__ 93 90 94 =head1 NAME 91 95 … … 102 106 =head1 DESCRIPTION 103 107 104 This plugin scrub feed content byL<HTML::Scrubber>.108 This plugin scrubs feed content using L<HTML::Scrubber>. 105 109 106 All config parameters (except 'no_default_configs') are implemented as HTML::Scrubber's method: value.107 For example, if you write in config. 110 All config parameters (except 'no_default_configs') are implemented as 111 HTML::Scrubber's method: value. For example, if you write: 108 112 109 113 method: value 110 114 111 then 115 in the config: section, this plugin will automatically turn the config 116 into the method call: 112 117 113 118 $scrubber->method('value'); 114 119 115 are called.120 See L<HTML::Scrubber> document for details. 116 121 117 So please see L<HTML::Scrubber> document for detail. 122 =head1 CONFIG 118 123 119 = head1 DEFAULT_CONFIGS124 =over 4 120 125 121 some rules and default config parameters are setted by default. 122 see rules and default functions in this module. 126 =item no_default_configs 123 127 124 and if you doen't need these settings, use no_default_configs: 128 Some rules and default config parameters are set by default. See I<rules> 129 and I<default> methods defined in this module code for details. 125 130 126 config: 127 no_detault_configs: 1 131 If you doen't need these settings, use C<no_default_configs> 132 133 no_detault_configs: 1 134 135 Defaults to 0, which means it uses the default (somewhat secure) config. 128 136 129 137 =head1 AUTHOR 130 138 131 139 Daisuke Murase <typester@cpan.org> 140 141 Tatsuhiko Miyagawa 132 142 133 143 =head1 SEE ALSO … … 136 146 137 147 =cut 138 139 1;
