From: https://www.google.com/accounts/o8/id?id=AItOawl2kUF3rckW9RS-_Sa73bedW0DpfK3aTFM Date: Sat, 2 Jul 2011 16:37:05 +0000 (+0000) Subject: Some enhancements to plusone X-Git-Tag: 3.20110707~10 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/d1417e024765a79e593cd454d1c09893627c692a Some enhancements to plusone --- diff --git a/doc/plugins/contrib/plusone.mdwn b/doc/plugins/contrib/plusone.mdwn index 1a7057c7b..166eb1a09 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]] @@ -24,6 +24,11 @@ This plugin allows to add a google plusone button using the plusone directive 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)