Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 27 lines (14 sloc) 0.92 kB
c806ca8 @olalonde added link to blog post
authored
1 See [Adding Google's +1 (plus one) button to your Posterous](http://syskall.com/adding-googles-1-plus-one-button-to-your-post).
2
ada86fd @olalonde initial commit
authored
3 This is a small script to add Google +1 to a Posterous theme using an iframe. It can also be used wherever Javascript isn't allowed but iframes are.
4
5 # Install #
6
7 Upload index.php to a PHP server.
8
9 # Parameters #
10
11 - url: URL to share
12 - size (optional): size of button (standard, small, medium, tall)
13
14 # Usage #
15
16 ## Tall button for Posterous ###
17
18 <iframe src="http://.../?url={Permalink}&size=tall" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" style="border:0;width:50px;height:60px;"></iframe>
19
20 ## Standard button for Posterous ###
21
84c97ef @olalonde fixed typo
authored
22 <iframe src="http://.../?url={Permalink}" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" style="border:0;width:110px;height:30px;"></iframe>
ada86fd @olalonde initial commit
authored
23
c2a3d8d @olalonde added DEMO to README
authored
24 # Demo #
25
26 [Olivier Lalonde's Posterous](http://www.syskall.com)
Something went wrong with that request. Please try again.