Daisuke Maki > Gungho-0.09008 > Gungho::Component::RobotRules::Storage::DB_File.ja

Download:
Gungho-0.09008.tar.gz

Annotate this POD

CPAN RT

New  6
Open  4
View/Report Bugs
Source  

NAME ^

Gungho::Component::RobotRules::Storage::DB_File.ja - robots.txt情報をDB_Fileに格納する

SYNOPSIS ^

  # In your config
  components:
    - RobotRules
  robot_rules:
    storage:
      module: DB_File
      config:
        filename: '/path/to/storage.db'

  # or elsewhere in your code
  use Gungho::Component::RobotRules::Storage::DB_File;

  my $storage = Gungho::Component::RobotRules::Storage::DB_File->new(
    config => {
      filename => '/path/to/storage.db'
    }
  );

DESCRIPTION ^

DB_File形式のファイルにrobots.txt情報を保存します。

METHODS ^

setup

get_rule

put_rule

get_pending_robots_txt

push_pending_robots_txt

syntax highlighting: