You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ro...@apache.org on 2013/02/03 16:54:20 UTC

svn commit: r1441927 - in /openoffice/ooo-site/trunk/content: images/logo-rss-16.png index.html index1-passthru.html index2-passthru.html index3-passthru.html index4-passthru.html

Author: robweir
Date: Sun Feb  3 15:54:20 2013
New Revision: 1441927

URL: http://svn.apache.org/viewvc?rev=1441927&view=rev
Log:
Additional enablement for social following content experiment
Patch by: samer519@gmail.com

Added:
    openoffice/ooo-site/trunk/content/images/logo-rss-16.png   (with props)
Modified:
    openoffice/ooo-site/trunk/content/index.html
    openoffice/ooo-site/trunk/content/index1-passthru.html
    openoffice/ooo-site/trunk/content/index2-passthru.html
    openoffice/ooo-site/trunk/content/index3-passthru.html
    openoffice/ooo-site/trunk/content/index4-passthru.html

Added: openoffice/ooo-site/trunk/content/images/logo-rss-16.png
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/images/logo-rss-16.png?rev=1441927&view=auto
==============================================================================
Binary file - no diff available.

Propchange: openoffice/ooo-site/trunk/content/images/logo-rss-16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: openoffice/ooo-site/trunk/content/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index.html?rev=1441927&r1=1441926&r2=1441927&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/index.html (original)
+++ openoffice/ooo-site/trunk/content/index.html Sun Feb  3 15:54:20 2013
@@ -16,6 +16,22 @@
     @import "exceptions.css";
     /* ]]> */
     </style>
+
+    <script>
+    	function follow(platform) {
+    		_gaq.push(['_trackEvent','social', 'followUs', platform]); 
+    		if (platform == 'Facebook') {
+    			window.open("https://www.facebook.com/ApacheOO","_blank");
+    		} else if (platform = 'Twitter') {
+    			window.open("https://twitter.com/ApacheOO","_blank");
+    		} else if (platform = 'GooglePlus') {
+    			window.open("https://plus.google.com/+openoffice","_blank");
+    		}  else if (platform == 'ApacheBlog') {
+    			window.open("https://blogs.apache.org/OOo/","_blank");
+    		}
+    	}
+    </script>
+
 </head>
 
 <body>
@@ -85,17 +101,17 @@
       <hr />
     </li>
     <li>
-      <div class="action-social">
+    <div class="action-social">
         <div class="action-text action-link">
-          <h2><a href="/social/">I want to stay in touch with OpenOffice</a></h2>
-          <p><a href="/social/">Follow the progress of OpenOffice via our announcement list, social media areas and blog.</a></p>     
+          <h2><a href="/social/" onclick="javascript:follow('SocialLink');">I want to stay in touch with OpenOffice</a></h2>
+          <p><a href="/social/" onclick="javascript:follow('SocialLink');">Follow the progress of OpenOffice via our announcement list, social media areas and blog.</a></p>     
           	<div class="action-social-extra">
           		<p>
-          		<a href="https://twitter.com/apacheoo/" onClick="_gaq.push(['_trackEvent','social', 'follow', 'twitter']);"> <em>Twitter</em></a>, 
-				  <a href="https://plus.google.com/u/0/114598373874764163668/about" onClick="_gaq.push(['_trackEvent','social', 'follow', 'google+']);"><em>Google+</em></a>, 
-     			<a href="https://www.facebook.com/ApacheOO/" onClick="_gaq.push(['_trackEvent','social', 'follow', 'facebook']);"><em>Facebook</em></a>, 
-				 <a href="https://www.facebook.com/groups/338330086179568/" onClick="_gaq.push(['_trackEvent','social', 'follow', 'facebook-group']);"><em>Facebook group</em></a> and
-     			<a href="https://blogs.apache.org/OOo/" onClick="_gaq.push(['_trackEvent','social', 'follow', 'blog']);"><em>Apache OpenOffice blog.</em></a>
+          		<a href="https://twitter.com/apacheoo/" onClick="javascript:follow('Twitter');"> <em>Twitter</em></a>, 
+				  <a href="https://plus.google.com/u/0/114598373874764163668/about" onClick="follow('GooglePlus');"><em>Google+</em></a>, 
+     			<a href="https://www.facebook.com/ApacheOO/" onClick="follow('Facebook');"><em>Facebook</em></a>, 
+				 and
+     			<a href="https://blogs.apache.org/OOo/" onClick="follow('ApacheBlog');"><em>Apache OpenOffice blog.</em></a>
      			</p>
      		</div>
       </div>

Modified: openoffice/ooo-site/trunk/content/index1-passthru.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index1-passthru.html?rev=1441927&r1=1441926&r2=1441927&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/index1-passthru.html (original)
+++ openoffice/ooo-site/trunk/content/index1-passthru.html Sun Feb  3 15:54:20 2013
@@ -35,7 +35,7 @@
 
 <script>
 	function follow(platform) {
-		_gaq.push(['_trackEvent','social', 'followUs', where]); 
+		_gaq.push(['_trackEvent','social', 'followUs', platform]); 
 		if (platform == 'Facebook') {
 			window.open("https://www.facebook.com/ApacheOO","_blank");
 		} else if (platform == 'Twitter') {

Modified: openoffice/ooo-site/trunk/content/index2-passthru.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index2-passthru.html?rev=1441927&r1=1441926&r2=1441927&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/index2-passthru.html (original)
+++ openoffice/ooo-site/trunk/content/index2-passthru.html Sun Feb  3 15:54:20 2013
@@ -35,7 +35,7 @@
 
 <script>
 	function follow(platform) {
-		_gaq.push(['_trackEvent','social', 'followUs', where]); 
+		_gaq.push(['_trackEvent','social', 'followUs', platform]); 
 		if (platform == 'Facebook') {
 			window.open("https://www.facebook.com/ApacheOO","_blank");
 		} else if (platform == 'Twitter') {

Modified: openoffice/ooo-site/trunk/content/index3-passthru.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index3-passthru.html?rev=1441927&r1=1441926&r2=1441927&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/index3-passthru.html (original)
+++ openoffice/ooo-site/trunk/content/index3-passthru.html Sun Feb  3 15:54:20 2013
@@ -35,7 +35,7 @@
 
 <script>
 	function follow(platform) {
-		_gaq.push(['_trackEvent','social', 'followUs', where]); 
+		_gaq.push(['_trackEvent','social', 'followUs', platform]); 
 		if (platform == 'Facebook') {
 			window.open("https://www.facebook.com/ApacheOO","_blank");
 		} else if (platform == 'Twitter') {

Modified: openoffice/ooo-site/trunk/content/index4-passthru.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index4-passthru.html?rev=1441927&r1=1441926&r2=1441927&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/index4-passthru.html (original)
+++ openoffice/ooo-site/trunk/content/index4-passthru.html Sun Feb  3 15:54:20 2013
@@ -35,7 +35,7 @@
 
 <script>
 	function follow(platform) {
-		_gaq.push(['_trackEvent','social', 'followUs', where]); 
+		_gaq.push(['_trackEvent','social', 'followUs', platform]); 
 		if (platform == 'Facebook') {
 			window.open("https://www.facebook.com/ApacheOO","_blank");
 		} else if (platform = 'Twitter') {