Changeset 410

Show
Ignore:
Timestamp:
03/24/06 16:33:07
Author:
miyagawa
Message:

oops

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Filter/Profanity.pm

    r407 r410  
    2525=head1 NAME 
    2626 
    27 Plagger::Plugin::Filter::TTP - Replace ttp:// with http:// 
     27Plagger::Plugin::Filter::Profanity - Profanity filter for entry body 
    2828 
    2929=head1 SYNOPSIS 
    3030 
    31   - module: Filter::TTP 
     31  - module: Filter::Profanity 
     32    config: 
     33      text_only: 1 
    3234 
    3335=head1 DESCRIPTION 
    3436 
    35 This plugin replaces C<ttp://> with C<http://>. C<ttp://> is a widely 
    36 adopted way of linking an URL without leaking a referer
     37This plugin filters bad English terms into something like I<!@$~> 
     38using Regexp::Common::profanity_us
    3739 
    3840=head1 CONFIG 
     
    4244=item text_only 
    4345 
    44 When set to 1, uses HTML::Parser to avoid replacing C<ttp://> inside 
    45 HTML attributes. Defaults to 0
     46When set to 1, uses HTML::Parser to avoid replacing bad terms inside 
     47HTML tags
    4648 
    4749=back 
     
    4951=head1 AUTHOR 
    5052 
    51 Matsuno Tokuhiro 
    52  
    5353Tatsuhiko Miyagawa 
    5454 
    5555=head1 SEE ALSO 
    5656 
    57 L<Plagger>, L<HTML::Parser
     57L<Plagger>, L<Regexp::Common::profanity_us
    5858 
    5959=cut