X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/912d2d7a3cf498f0e87d6808734fa008b434c69f..60188d728080c3e558b647d7595ea376944f51d0:/doc/plugins/contrib/plusone.mdwn diff --git a/doc/plugins/contrib/plusone.mdwn b/doc/plugins/contrib/plusone.mdwn index 1a7057c7b..a8d4c67fd 100644 --- a/doc/plugins/contrib/plusone.mdwn +++ b/doc/plugins/contrib/plusone.mdwn @@ -1,4 +1,4 @@ -[[!template id=plugin name=tracking author="[[BerndZeimetz]]"]] +[[!template id=plugin name=plusone author="[[BerndZeimetz]]"]] [[!toc]] [[!tag plugins]] [[!tag patch]] [[!tag wishlist]] @@ -22,10 +22,14 @@ IkiWiki::Plugin::plusone - Adding the +1 button to your posts 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!). + +## plusone directive +The plusone directive allows to override the automativally generated url by specifying the wanted url as option: + [[!plusone url="http://bzed.de/"]] + ## 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) +* single file: [plusone.pm](http://git.recluse.de/?p=users/bzed/ikiwiki.git;a=blob_plain;f=IkiWiki/Plugin/plusone.pm;hb=refs/heads/plusone) * browse repository: * git repo: `git://git.recluse.de/users/bzed/ikiwiki.git` or (Use the plusone branch)