hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1302694 - in /hadoop/common/site/main: author/src/documentation/skins/hadoop-pelt/xslt/html/ publish/
Date Mon, 19 Mar 2012 22:37:25 GMT
Author: omalley
Date: Mon Mar 19 22:37:24 2012
New Revision: 1302694

URL: http://svn.apache.org/viewvc?rev=1302694&view=rev
Log:
HADOOP-8186 update google analytics

Modified:
    hadoop/common/site/main/author/src/documentation/skins/hadoop-pelt/xslt/html/site-to-xhtml.xsl
    hadoop/common/site/main/publish/bylaws.html
    hadoop/common/site/main/publish/general_lists.html
    hadoop/common/site/main/publish/index.html
    hadoop/common/site/main/publish/linkmap.html
    hadoop/common/site/main/publish/mailing_lists.html
    hadoop/common/site/main/publish/privacy_policy.html
    hadoop/common/site/main/publish/who.html

Modified: hadoop/common/site/main/author/src/documentation/skins/hadoop-pelt/xslt/html/site-to-xhtml.xsl
URL: http://svn.apache.org/viewvc/hadoop/common/site/main/author/src/documentation/skins/hadoop-pelt/xslt/html/site-to-xhtml.xsl?rev=1302694&r1=1302693&r2=1302694&view=diff
==============================================================================
--- hadoop/common/site/main/author/src/documentation/skins/hadoop-pelt/xslt/html/site-to-xhtml.xsl
(original)
+++ hadoop/common/site/main/author/src/documentation/skins/hadoop-pelt/xslt/html/site-to-xhtml.xsl
Mon Mar 19 22:37:24 2012
@@ -106,6 +106,20 @@ footer, searchbar, css etc.  As input, i
                             select="concat($root,//skinconfig/favicon-url)"/>
           </xsl:attribute></link>
         </xsl:if>
+        <script type="text/javascript">
+<![CDATA[
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-7453027-1']);
+  _gaq.push(['_setDomainName', 'apache.org']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+]]>
+        </script>
       </head>
 <!--+
   |HTML-body
@@ -391,15 +405,6 @@ footer, searchbar, css etc.  As input, i
     |end bottomstrip
     +</xsl:comment>
         </div>
-        <script type="text/javascript">
-<![CDATA[var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));]]>
-</script>
-<script type="text/javascript">
-<![CDATA[try {
-var pageTracker = _gat._getTracker("UA-7453027-1");
-pageTracker._trackPageview();
-} catch(err) {}]]></script>
       </body>
     </html>
   </xsl:template>

Modified: hadoop/common/site/main/publish/bylaws.html
URL: http://svn.apache.org/viewvc/hadoop/common/site/main/publish/bylaws.html?rev=1302694&r1=1302693&r2=1302694&view=diff
==============================================================================
--- hadoop/common/site/main/publish/bylaws.html (original)
+++ hadoop/common/site/main/publish/bylaws.html Mon Mar 19 22:37:24 2012
@@ -12,6 +12,20 @@
 <link type="text/css" href="skin/profile.css" rel="stylesheet">
 <script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script
src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script
src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
 <link rel="shortcut icon" href="images/favicon.ico">
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-7453027-1']);
+  _gaq.push(['_setDomainName', 'apache.org']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+        </script>
 </head>
 <body onload="init()">
 <script type="text/javascript">ndeSetTextSize();</script>
@@ -670,13 +684,5 @@ document.write("Last Published: " + docu
     |end bottomstrip
     +-->
 </div>
-<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script><script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-7453027-1");
-pageTracker._trackPageview();
-} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/common/site/main/publish/general_lists.html
URL: http://svn.apache.org/viewvc/hadoop/common/site/main/publish/general_lists.html?rev=1302694&r1=1302693&r2=1302694&view=diff
==============================================================================
--- hadoop/common/site/main/publish/general_lists.html (original)
+++ hadoop/common/site/main/publish/general_lists.html Mon Mar 19 22:37:24 2012
@@ -12,6 +12,20 @@
 <link type="text/css" href="skin/profile.css" rel="stylesheet">
 <script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script
src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script
src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
 <link rel="shortcut icon" href="images/favicon.ico">
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-7453027-1']);
+  _gaq.push(['_setDomainName', 'apache.org']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+        </script>
 </head>
 <body onload="init()">
 <script type="text/javascript">ndeSetTextSize();</script>
@@ -291,13 +305,5 @@ document.write("Last Published: " + docu
     |end bottomstrip
     +-->
 </div>
-<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script><script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-7453027-1");
-pageTracker._trackPageview();
-} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/common/site/main/publish/index.html
URL: http://svn.apache.org/viewvc/hadoop/common/site/main/publish/index.html?rev=1302694&r1=1302693&r2=1302694&view=diff
==============================================================================
--- hadoop/common/site/main/publish/index.html (original)
+++ hadoop/common/site/main/publish/index.html Mon Mar 19 22:37:24 2012
@@ -12,6 +12,20 @@
 <link type="text/css" href="skin/profile.css" rel="stylesheet">
 <script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script
src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script
src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
 <link rel="shortcut icon" href="images/favicon.ico">
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-7453027-1']);
+  _gaq.push(['_setDomainName', 'apache.org']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+        </script>
 </head>
 <body onload="init()">
 <script type="text/javascript">ndeSetTextSize();</script>
@@ -470,13 +484,5 @@ document.write("Last Published: " + docu
     |end bottomstrip
     +-->
 </div>
-<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script><script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-7453027-1");
-pageTracker._trackPageview();
-} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/common/site/main/publish/linkmap.html
URL: http://svn.apache.org/viewvc/hadoop/common/site/main/publish/linkmap.html?rev=1302694&r1=1302693&r2=1302694&view=diff
==============================================================================
--- hadoop/common/site/main/publish/linkmap.html (original)
+++ hadoop/common/site/main/publish/linkmap.html Mon Mar 19 22:37:24 2012
@@ -12,6 +12,20 @@
 <link type="text/css" href="skin/profile.css" rel="stylesheet">
 <script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script
src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script
src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
 <link rel="shortcut icon" href="images/favicon.ico">
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-7453027-1']);
+  _gaq.push(['_setDomainName', 'apache.org']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+        </script>
 </head>
 <body onload="init()">
 <script type="text/javascript">ndeSetTextSize();</script>
@@ -404,13 +418,5 @@ document.write("Last Published: " + docu
     |end bottomstrip
     +-->
 </div>
-<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script><script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-7453027-1");
-pageTracker._trackPageview();
-} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/common/site/main/publish/mailing_lists.html
URL: http://svn.apache.org/viewvc/hadoop/common/site/main/publish/mailing_lists.html?rev=1302694&r1=1302693&r2=1302694&view=diff
==============================================================================
--- hadoop/common/site/main/publish/mailing_lists.html (original)
+++ hadoop/common/site/main/publish/mailing_lists.html Mon Mar 19 22:37:24 2012
@@ -12,6 +12,20 @@
 <link type="text/css" href="skin/profile.css" rel="stylesheet">
 <script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script
src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script
src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
 <link rel="shortcut icon" href="images/favicon.ico">
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-7453027-1']);
+  _gaq.push(['_setDomainName', 'apache.org']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+        </script>
 </head>
 <body onload="init()">
 <script type="text/javascript">ndeSetTextSize();</script>
@@ -357,13 +371,5 @@ document.write("Last Published: " + docu
     |end bottomstrip
     +-->
 </div>
-<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script><script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-7453027-1");
-pageTracker._trackPageview();
-} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/common/site/main/publish/privacy_policy.html
URL: http://svn.apache.org/viewvc/hadoop/common/site/main/publish/privacy_policy.html?rev=1302694&r1=1302693&r2=1302694&view=diff
==============================================================================
--- hadoop/common/site/main/publish/privacy_policy.html (original)
+++ hadoop/common/site/main/publish/privacy_policy.html Mon Mar 19 22:37:24 2012
@@ -12,6 +12,20 @@
 <link type="text/css" href="skin/profile.css" rel="stylesheet">
 <script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script
src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script
src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
 <link rel="shortcut icon" href="images/favicon.ico">
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-7453027-1']);
+  _gaq.push(['_setDomainName', 'apache.org']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+        </script>
 </head>
 <body onload="init()">
 <script type="text/javascript">ndeSetTextSize();</script>
@@ -273,13 +287,5 @@ document.write("Last Published: " + docu
     |end bottomstrip
     +-->
 </div>
-<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script><script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-7453027-1");
-pageTracker._trackPageview();
-} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/common/site/main/publish/who.html
URL: http://svn.apache.org/viewvc/hadoop/common/site/main/publish/who.html?rev=1302694&r1=1302693&r2=1302694&view=diff
==============================================================================
--- hadoop/common/site/main/publish/who.html (original)
+++ hadoop/common/site/main/publish/who.html Mon Mar 19 22:37:24 2012
@@ -12,6 +12,20 @@
 <link type="text/css" href="skin/profile.css" rel="stylesheet">
 <script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script
src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script
src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
 <link rel="shortcut icon" href="images/favicon.ico">
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-7453027-1']);
+  _gaq.push(['_setDomainName', 'apache.org']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+        </script>
 </head>
 <body onload="init()">
 <script type="text/javascript">ndeSetTextSize();</script>
@@ -623,13 +637,5 @@ document.write("Last Published: " + docu
     |end bottomstrip
     +-->
 </div>
-<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script><script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-7453027-1");
-pageTracker._trackPageview();
-} catch(err) {}</script>
 </body>
 </html>



Mime
View raw message