Apache-AntiSpam
view release on metacpan or search on metacpan
SetHandler perl-script
PerlSetVar Filter On
PerlHandler Apache::RegistryFilter Your::AntiSpamFilter Apache::Compress
DESCRIPTION
Apache::AntiSpam is a filter module to prevent e-mail addresses exposed
as is on web pages. The way to hide addresses from spammers are
implemented in each of Apache::Antispam::* subclasses.
This module is Filter aware, meaning that it can work within
Apache::Filter framework without modification.
SUBCLASSING
Here is how to make your own filter.
Declare your class
Inherit from Apache::AntiSpam
define antispamize() method
That's all. Template of antispamize() method will be like this:
sub antispamize {
lib/Apache/AntiSpam.pm view on Meta::CPAN
PerlSetVar Filter On
PerlHandler Apache::RegistryFilter Your::AntiSpamFilter Apache::Compress
=head1 DESCRIPTION
Apache::AntiSpam is a filter module to prevent e-mail addresses
exposed as is on web pages. The way to hide addresses from spammers
are implemented in each of Apache::Antispam::* subclasses.
This module is Filter aware, meaning that it can work within
Apache::Filter framework without modification.
=head1 SUBCLASSING
Here is how to make your own filter.
=over 4
=item *
Declare your class
lib/Apache/AntiSpam/HTMLEncode.pm view on Meta::CPAN
module encodes e-mail addresses with HTML.
For example, C<miyagawa@cpan.org> will be filtered to
C<miyagawa@cpan.org>.
This won't affect anything on your favourite browsers, but spammers
with crawling-robot plus pattern matching technique won't be able to
extract addresses from this kind of format.
This module is Filter aware, meaning that it can work within
Apache::Filter framework without modification.
=head1 ACKNOWLEDGEMENT
The idea to encode E-mail address with HTML is stolen from
http://perlmonks.org/?node_id=89810
=head1 AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
lib/Apache/AntiSpam/Heuristic.pm view on Meta::CPAN
=head1 DESCRIPTION
Apache::AntiSpam::Heuristic is a subclass of Apache::AntiSpam, filter
module to prevent e-mail addresses exposed as is on web pages. This
module filters e-mail addresses to heuristic ones.
For example, C<miyagawa@cpan.org> will be filtered to C<miyagawa at
cpan dot org>.
This module is Filter aware, meaning that it can work within
Apache::Filter framework without modification.
=head1 AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=head1 SEE ALSO
lib/Apache/AntiSpam/NoSpam.pm view on Meta::CPAN
=head1 DESCRIPTION
Apache::AntiSpam::NoSpam is a subclass of Apache::AntiSpam, filter
module to prevent e-mail addresses exposed as is on web pages. This
module adds B<-nospam> suffix to local-part of e-mail addresses.
For example, C<miyagawa@cpan.org> will be filtered to
C<miyagawa-nospam@cpan.org>.
This module is Filter aware, meaning that it can work within
Apache::Filter framework without modification.
=head1 TODO
=over 4
=item *
should make -nospam suffix be configured.
=back
( run in 0.562 second using v1.01-cache-2.11-cpan-df04353d9ac )