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 2012/07/12 20:44:44 UTC
svn commit: r1360856 - in /incubator/ooo/ooo-site/trunk/content:
download/index-tr.html index-tr.html index.html
Author: robweir
Date: Thu Jul 12 18:44:44 2012
New Revision: 1360856
URL: http://svn.apache.org/viewvc?rev=1360856&view=rev
Log:
Setup content experiment for home page: 1% of users will see index-tr.html
Added:
incubator/ooo/ooo-site/trunk/content/download/index-tr.html
- copied unchanged from r1360845, incubator/ooo/ooo-site/trunk/content/download/index-windows-tr.html
incubator/ooo/ooo-site/trunk/content/index-tr.html
- copied, changed from r1360845, incubator/ooo/ooo-site/trunk/content/index.html
Modified:
incubator/ooo/ooo-site/trunk/content/index.html
Copied: incubator/ooo/ooo-site/trunk/content/index-tr.html (from r1360845, incubator/ooo/ooo-site/trunk/content/index.html)
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/index-tr.html?p2=incubator/ooo/ooo-site/trunk/content/index-tr.html&p1=incubator/ooo/ooo-site/trunk/content/index.html&r1=1360845&r2=1360856&rev=1360856&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/index.html (original)
+++ incubator/ooo/ooo-site/trunk/content/index-tr.html Thu Jul 12 18:44:44 2012
@@ -32,9 +32,18 @@
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
+
+<meta name="google-translate-customization"
+content="e39da7bf867592e4-06c3a34fd72abbe0-g0ef01a088f8a6bde-12"></meta>
+
</head>
<body>
+<div id="google_translate_element"></div><script type="text/javascript">
+function googleTranslateElementInit() {
+ new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.FloatPosition.TOP_LEFT, gaTrack: true, gaId: 'UA-30193653-1'}, 'google_translate_element');
+}
+</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<!-- commment added in the online CMS -->
<div id="actionstatements">
<ul>
@@ -54,10 +63,12 @@
<li>
<div class="action-download">
<div class="action-text action-link">
- <h2><a href="/download">I want to download
+ <h2><a href="/download/index-tr.html">I want to download
OpenOffice</a></h2>
<p>
- <a href="/download">Download Apache OpenOffice for free, or find out about other ways of getting it.</a>
+ <a href="/download/index-tr.html">Download Apache
+ OpenOffice for free, or find out about other ways of
+ getting it.</a>
</p>
</div>
</div>
Modified: incubator/ooo/ooo-site/trunk/content/index.html
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/index.html?rev=1360856&r1=1360855&r2=1360856&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/index.html (original)
+++ incubator/ooo/ooo-site/trunk/content/index.html Thu Jul 12 18:44:44 2012
@@ -1,6 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
+
+<!-- Google Analytics Content Experiment code -->
+<script>function utmx_section(){}function utmx(){}(function(){var
+k='57643286-3',d=document,l=d.location,c=d.cookie;
+if(l.search.indexOf('utm_expid='+k)>0)return;
+function f(n){if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.
+indexOf(';',i);return escape(c.substring(i+n.length+1,j<0?c.
+length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;d.write(
+'<sc'+'ript src="'+'http'+(l.protocol=='https:'?'s://ssl':
+'://www')+'.google-analytics.com/ga_exp.js?'+'utmxkey='+k+
+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='+new Date().
+valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
+'" type="text/javascript" charset="utf-8"></sc'+'ript>')})();
+</script><script>utmx('url','A/B');</script>
+<!-- End of Google Analytics Content Experiment code -->
+
<meta name="description" content="The official home page of the Apache OpenOffice open source project, home of OpenOffice Writer, Calc, Impress, Draw and Base." />
<meta name="keywords" content="OpenOffice, Open Office, Apache OpenOffice, OpenOffice.org, Calc, Impress, Draw, Base, ODF, Open Document Format, free office editors" />
<meta name="google-site-verification" content="x1jl2cGum4kCvj0PgxjTy_pasCsLY_fBT7my88fpKD4"/>