]> scripts.mit.edu Git - www/ikiwiki.git/blob - doc/plugins/contrib/plusone.mdwn
Adding plusone plugin
[www/ikiwiki.git] / doc / plugins / contrib / plusone.mdwn
1 [[!template id=plugin name=tracking author="[[BerndZeimetz]]"]]
2 [[!toc]]
3 [[!tag plugins]] [[!tag patch]] [[!tag wishlist]]
4
5 ## NAME
6
7 IkiWiki::Plugin::plusone - Adding the +1 button to your posts
8
9 ## SYNOPSIS
10
11     # activate the plugin
12     add_plugins => [qw{goodstuff plusone ....}],
13
14     # set some options:
15     plusone_count => 1,
16     plusone_size => 'standard',
17     plusone_lang => 'en-US',
18
19    
20 ## DESCRIPTION
21
22 This plugin allows to add a google plusone button using the plusone directive
23   [[!plusone ]]
24 where ever you want the button to show up.
25 Please note that you need to either use my modified htmlscrubber plugin to allow the google plusone tags within your site's content - or disable htmlscrubber completely (not recommended!).
26
27 ## DOWNLOAD
28
29 * single files: [plusone.pm](http://git.recluse.de/?p=users/bzed/ikiwiki.git;a=blob_plain;f=IkiWiki/Plugin/plusone.pm;hb=refs/heads/plusone) [htmlscrubber.pm](http://git.recluse.de/?p=users/bzed/ikiwiki.git;a=blob_plain;f=IkiWiki/Plugin/htmlscrubber.pm;h=5193d02487694c0bab902f2ca84a0a55b6745754;hb=refs/heads/plusone)
30 * browse repository: <http://git.recluse.de/?p=users/bzed/ikiwiki.git;a=shortlog;h=refs/heads/plusone>
31 * git repo: `git://git.recluse.de/users/bzed/ikiwiki.git` or <http://git.recluse.de/repos/users/bzed/ikiwiki.git> (Use the plusone branch)