From 912d2d7a3cf498f0e87d6808734fa008b434c69f Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawl2kUF3rckW9RS-_Sa73bedW0DpfK3aTFM" Date: Sat, 2 Jul 2011 16:04:40 +0000 Subject: [PATCH] Adding plusone plugin --- doc/plugins/contrib/plusone.mdwn | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 doc/plugins/contrib/plusone.mdwn diff --git a/doc/plugins/contrib/plusone.mdwn b/doc/plugins/contrib/plusone.mdwn new file mode 100644 index 000000000..1a7057c7b --- /dev/null +++ b/doc/plugins/contrib/plusone.mdwn @@ -0,0 +1,31 @@ +[[!template id=plugin name=tracking author="[[BerndZeimetz]]"]] +[[!toc]] +[[!tag plugins]] [[!tag patch]] [[!tag wishlist]] + +## NAME + +IkiWiki::Plugin::plusone - Adding the +1 button to your posts + +## SYNOPSIS + + # activate the plugin + add_plugins => [qw{goodstuff plusone ....}], + + # set some options: + plusone_count => 1, + plusone_size => 'standard', + plusone_lang => 'en-US', + + +## DESCRIPTION + +This plugin allows to add a google plusone button using the plusone directive + [[!plusone ]] +where ever you want the button to show up. +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!). + +## DOWNLOAD + +* 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) +* browse repository: +* git repo: `git://git.recluse.de/users/bzed/ikiwiki.git` or (Use the plusone branch) -- 2.26.2