perl-Dancer-Plugin-DetectRobots-0.6-alt1.noarch.rpm


Advertisement

Description

perl-Dancer-Plugin-DetectRobots - Dancer plugin to determine if the user is a robot

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Dancer-Plugin-DetectRobots-0.6-alt1.noarch.rpm
Package name perl-Dancer-Plugin-DetectRobots
Package version 0.6
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 15.64 KB
Installed size 15.64 KB
A plugin for Dancer applications providing a keyword, is_robot,
which tests request->user_agent and returns 1 if the user_agent
appears to be a robot.
To use, simply call is_robot whenever/wherever you would like to
know if the user is a bot or a human.  For example, if you would
like to skip logging for bots
_if( ! is_robot ) {
__log_message("your log message");
_}
The plugin has been written to be as efficient as possible.  The
list of Robot UserAgent strings is only matched against request->user_agent
once per session.
This is done by storing its results in a session variable so a session
engine must be enabled.  Session::Cookie would be a poor choice since
the optimization will be lost when dealing with a search engine or robot.
The first call to is_robot in a session checks to see if the session
variable has been set, if if it has, it returns 0 or 1 based upon the
session variable.
By default the session variable key is "robot_client"
The check is done against the list of UserAgent strings used
by AWStats.  There are three levels of testing, BASIC which matches
AWStats LevelForRobotsDetection=1, EXTENDED which matches
LevelForRobotsDetection=2 and GENERIC which is a very lax test.
By default the level is set to BASIC
You can change these settings. See the CONFIGURATION manpage

Alternatives

Package Version Architecture Repository
perl-Dancer-Plugin-DetectRobots - - -

Requires

Name Value
/usr/share/perl5 -
perl(Dancer.pm) >= 1.175
perl(Dancer/Plugin.pm) -
perl(Regexp/Assemble.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Dancer/Plugin/DetectRobots.pm) = 0.600
perl-Dancer-Plugin-DetectRobots = 0.6-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Dancer-Plugin-DetectRobots-0.6-alt1.noarch.rpm
Source Package perl-Dancer-Plugin-DetectRobots-0.6-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Dancer-Plugin-DetectRobots rpm package:
    # sudo apt-get install perl-Dancer-Plugin-DetectRobots

Files

Path
/usr/share/doc/perl-Dancer-Plugin-DetectRobots-0.6/Changes
/usr/share/doc/perl-Dancer-Plugin-DetectRobots-0.6/README
/usr/share/doc/perl-Dancer-Plugin-DetectRobots-0.6/TODO
/usr/share/perl5/Dancer/
/usr/share/perl5/Dancer/Plugin/._DetectRobots.pm
/usr/share/perl5/Dancer/Plugin/DetectRobots.pm

See Also

Package Description
perl-Dancer-Plugin-Device-Layout-0.1-alt1.noarch.rpm Dancer v1 plugin Dancer::Plugin::Device::Layout dynamically changes layout to match user agent's be
perl-Dancer-Plugin-DictionaryCheck-0.03-alt2.noarch.rpm >{word} ) ? "yes" : "no";
perl-Dancer-Plugin-DirectoryView-0.02-alt1.noarch.rpm Browse directory contents in Dancer web apps
perl-Dancer-Plugin-Dispatcher-0.12-alt1.noarch.rpm Simple yet Powerful Controller Class dispatcher for Dancer
perl-Dancer-Plugin-Documentation-0.02-alt1.noarch.rpm register documentation for routes
perl-Dancer-Plugin-DynamicConfig-0.07-alt1.noarch.rpm Dancer plugin for reading dynamically-updated configuration files
perl-Dancer-Plugin-ElasticModel-0.08-alt1.noarch.rpm Use Elastic::Model in your Dancer application
perl-Dancer-Plugin-ElasticSearch-0.003-alt1.noarch.rpm An ElasticSearch wrapper for Dancer
perl-Dancer-Plugin-Email-1.0400-alt1.noarch.rpm Simple email sending for Dancer applications
perl-Dancer-Plugin-EmailSender-0.002-alt1.noarch.rpm Easily use Email::Sender from Dancer
perl-Dancer-Plugin-EmptyGIF-0.3-alt1.noarch.rpm Quick empty GIF response
perl-Dancer-Plugin-EncodeID-0.02-alt1.noarch.rpm Encode/Decode (or obfuscate) IDs in URLs
perl-Dancer-Plugin-EscapeHTML-0.22-alt1.noarch.rpm Escape HTML entities to avoid XSS vulnerabilities
perl-Dancer-Plugin-ExtDirect-1.03-alt1.noarch.rpm ExtDirect plugin for Dancer
perl-Dancer-Plugin-Facebook-0.991-alt1.noarch.rpm Manage Facebook interaction within Dancer applications
Advertisement
Advertisement