NAME

Jifty::Plugin::Gravatar - Jifty Plugin for Gravatar Icon Service

DESCRIPTION

SYNOPSIS

add options to config.yml

framework:
  Plugins:
    - Gravatar:
       LocalCache: 1
       CacheExpire: 10
       CacheFileExpire: 10
       CacheRoot: /tmp/gravatar

to use gravatar icon in your template:

package MyApp::View;
use Jifty::View::Declare -base;

template 'index.html' => page { } content {

    show '/gravatar' => 'email@host.com';

};

USAGE

Add the following to your site_config.yml

framework:
  Plugins:
    - Gravatar: {}

OPTIONS

LocalCache: bool

show gravatar icon path by /=/gravatar/[id] , to use cache.

CacheExpire: integer

cache expiration time of header. for browser

CacheFileExpire: integer

cache expiration time for Cache::File , save image cahce into CacheRoot.

CacheRoot: string

path for saving gravatar icon cache

AUTHOR

Cornelius <cornelius.howl [at] gmail.com>

SEE ALSO

Gravatar::URL

1 POD Error

The following errors were encountered while parsing the POD:

Around line 68:

You forgot a '=back' before '=head1'

You forgot a '=back' before '=head1'