You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by jo...@apache.org on 2012/11/27 21:04:39 UTC
svn commit: r1414364 - in
/struts/site/branches/site2fluidomigration/src/site: site.xml xdoc/index.xml
Author: jogep
Date: Tue Nov 27 20:04:38 2012
New Revision: 1414364
URL: http://svn.apache.org/viewvc?rev=1414364&view=rev
Log:
add google plus
Modified:
struts/site/branches/site2fluidomigration/src/site/site.xml
struts/site/branches/site2fluidomigration/src/site/xdoc/index.xml
Modified: struts/site/branches/site2fluidomigration/src/site/site.xml
URL: http://svn.apache.org/viewvc/struts/site/branches/site2fluidomigration/src/site/site.xml?rev=1414364&r1=1414363&r2=1414364&view=diff
==============================================================================
--- struts/site/branches/site2fluidomigration/src/site/site.xml (original)
+++ struts/site/branches/site2fluidomigration/src/site/site.xml Tue Nov 27 20:04:38 2012
@@ -34,6 +34,7 @@
<body>
<head>
<script type="text/javascript">
+ /* Facebook */
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
@@ -41,6 +42,15 @@
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
+
+ /* Google Plus */
+ (function() {
+ var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
+ po.src = 'https://apis.google.com/js/plusone.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
+ })();
+
+ /* Twitter */
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="http://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
</script>
</head>
Modified: struts/site/branches/site2fluidomigration/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/struts/site/branches/site2fluidomigration/src/site/xdoc/index.xml?rev=1414364&r1=1414363&r2=1414364&view=diff
==============================================================================
--- struts/site/branches/site2fluidomigration/src/site/xdoc/index.xml (original)
+++ struts/site/branches/site2fluidomigration/src/site/xdoc/index.xml Tue Nov 27 20:04:38 2012
@@ -51,6 +51,9 @@ limitations under the License.
<div class="fb-like" data-href="https://www.facebook.com/apachestruts" data-send="true" data-width="450" data-show-faces="true"></div>
</div>
<div class="pull-right">
+ <div class="g-plusone" data-size="medium" data-href="http://struts.apache.org/"></div>
+ </div>
+ <div class="pull-right">
<a href="https://twitter.com/TheApacheStruts" class="twitter-follow-button" data-show-count="false">Follow @TheApacheStruts</a>
</div>
</div>