=encoding UTF-8
=head1 NAME
Mojolicious::Plugin::ShareHelpers - Mojolicious Plugin for generate share url, button and meta (Twitter, Facebook, Buzz, VKontakte, MyMailRU)
=head1 SYNOPSIS
# Mojolicious
$self->plugin('share_helpers');
# Mojolicious::Lite
plugin 'share_helpers';
# share urls:
Share to Twitter
Share to Facebook
Share to Google Buzz
Share to ВКонтакте
Share to Мой Мир
# share buttons:
%= share_button 'twitter', url => 'http://mojolicio.us', text => 'Viva la revolution!', via => 'sharifulin';
%= share_button 'facebook', url => 'http://mojolicio.us', type => 'button_count', title => 'Share it';
%= share_button 'buzz', url => 'http://mojolicio.us', text => 'Viva la revolution', image => 'http://mojolicious.org/webinabox.png', type => 'normal-count', title => 'Share it';
%= share_button 'vkontakte', url => 'http://mojolicio.us', type => 'round', title => 'Save';
%= share_button 'mymailru', url => 'http://mojolicio.us', type => 'button_count', title => 'Share to Мой Мир';
# generate meta for share
%= share_meta title => 'Mojolicious', description => 'Viva la revolition!', url => 'http://mojolicio.us', image => 'http://mojolicious.org/webinabox.png'
%= share_meta title => 'Mojolicious', description => 'Viva la revolition!', url => 'http://mojolicio.us', image => 'http://mojolicious.org/webinabox.png', og => 1, fb_app_id => 1234567890, site_name => 'Site Name'
=head1 DESCRIPTION
L is a plugin for generate share url, share button and share meta (Twitter, Facebook, VKontakte).
Plugin adds a C, C, C helpers to L.
=head1 SHARE API
=over 5
=item * Twitter Share L
=item * Facebook Share L
=item * Google Buzz Share L
=item * VKontakte Share L
=item * MyMailRU Share L
=back
=head1 METHODS
L inherits all methods from
L and implements the following new ones.
=head2 C
$plugin->register;
Register plugin hooks in L application.
=head1 SEE ALSO
L, L, L.
=head1 AUTHOR
Anatoly Sharifulin
=head1 BUGS
Please report any bugs or feature requests to C, or through
the web interface at L. We will be notified, and then you'll
automatically be notified of progress on your bug as we make changes.
=over 5
=item * Github
L
=item * RT: CPAN's request tracker
L
=item * AnnoCPAN: Annotated CPAN documentation
L
=item * CPANTS: CPAN Testing Service
L
=item * CPAN Ratings
L
=item * Search CPAN
L
=back
=head1 COPYRIGHT & LICENSE
Copyright (C) 2010 by Anatoly Sharifulin.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=cut