| Jifty-Plugin-Gravatar documentation | view source | Contained in the Jifty-Plugin-Gravatar distribution. |
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>
| Jifty-Plugin-Gravatar documentation | view source | Contained in the Jifty-Plugin-Gravatar distribution. |