Jifty::Plugin::Gravatar - Jifty Plugin for Gravatar Icon Service
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'; };
Add the following to your site_config.yml
framework: Plugins: - Gravatar: {}
show gravatar icon path by /=/gravatar/[id] , to use cache.
cache expiration time of header. for browser
cache expiration time for Cache::File , save image cahce into CacheRoot.
path for saving gravatar icon cache
Cornelius <cornelius.howl [at] gmail.com>
<cornelius.howl [at] gmail.com
Gravatar::URL
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Jifty::Plugin::Gravatar, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty::Plugin::Gravatar
CPAN shell
perl -MCPAN -e shell install Jifty::Plugin::Gravatar
For more information on module installation, please visit the detailed CPAN module installation guide.