NAME Mojolicious::Plugin::ShareHelpers - Mojolicious Plugin for generate share url, button and meta (Twitter, Facebook, Buzz, VKontakte) 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 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'; # 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' INSTALLATION To install this module, run the following commands: perl Build.PL ./Build ./Build test ./Build install SUPPORT AND DOCUMENTATION After installing, you can find documentation for this module with the perldoc command. perldoc Mojolicious::Plugin::ShareHelpers You can also look for information at: RT, CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=Mojolicious-plugin-sharehelpers AnnoCPAN, Annotated CPAN documentation http://annocpan.org/dist/Mojolicious-plugin-sharehelpers CPAN Ratings http://cpanratings.perl.org/d/Mojolicious-plugin-sharehelpers Search CPAN http://search.cpan.org/dist/Mojolicious-plugin-sharehelpers/ LICENSE AND COPYRIGHT Copyright (C) 2010 Anatoly Sharifulin This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information.