Some enhancements to plusone

master
https://www.google.com/accounts/o8/id?id=AItOawl2kUF3rckW9RS-_Sa73bedW0DpfK3aTFM 2011-07-02 16:37:05 +00:00 committed by admin
parent 912d2d7a3c
commit d1417e0247
1 changed files with 6 additions and 1 deletions

View File

@ -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)