Hi bghopper
I found this:
http://www.elevatelocal.co.uk/blog/how-to-add-google-1-button-plus-one-html5-02063128
The six different buttons seem to work allright in Chrome and FF.
I wonder if we could dream up a g+ plugin with help from some of the
great programmers in our community?!
Maybe we could write the script links in the MarkupPreHead or
MarkupPostHead
<!--{{{-->
<script src="//
ajax.googleapis.com/ajax/libs/jquery/1.6.1/
jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="
https://apis.google.com/js/
plusone.js"></script>
<script type="text/javascript">
$(document).ready(function(){
gapi.plusone.render("standard", {"size": "standard", "count":
"true"}); });
</script>
<!--}}}-->
and do sth like:
[[G+Plugin]]
//{{{
config.macros.plusone = {
handler: function (place, macroName, params, wikifier, paramString,
tiddler)
{
var tokens = params[0];
var el = createTiddlyElement( place, 'div', '', 'plusone',
tokens );
plusone.render(el, tokens );
}
};
//}}}
And then write sth like: <<plusone standard>> to get a nice g+ button
with count???
That would be AWESOME :-)
I'm not a programmer and I DON'T know how to read/understand the
google api's JS-files...
However I'm sure that pMario, Tobias, Jon or Eric could come up with a
g+ plugin from these few ressources...
So please - step in and do some JS-Magic with a G+ button :-)
Cheers Måns Mårtensson