[Pcsclite-cvs-commit] r4215 - in /website: ccid.html ccid_extended_apdu.html index.html matrix.py

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Wed May 20 14:54:42 UTC 2009


Author: rousseau
Date: Wed May 20 14:54:42 2009
New Revision: 4215

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4215
Log:
new google-analytics code

Modified:
    website/ccid.html
    website/ccid_extended_apdu.html
    website/index.html
    website/matrix.py

Modified: website/ccid.html
URL: http://svn.debian.org/wsvn/pcsclite/website/ccid.html?rev=4215&op=diff
==============================================================================
--- website/ccid.html (original)
+++ website/ccid.html Wed May 20 14:54:42 2009
@@ -340,13 +340,15 @@
   
   <pre> $Id$ </pre>
 	  
-  <script src="http://www.google-analytics.com/urchin.js"
-	  type="text/javascript">
-  </script>
   <script type="text/javascript">
-	  _uacct = "UA-2404298-2";
-	  urchinTracker();
-  </script>
+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-2404298-2");
+pageTracker._trackPageview();
+} catch(err) {}</script>
   </body>
 </html>
 

Modified: website/ccid_extended_apdu.html
URL: http://svn.debian.org/wsvn/pcsclite/website/ccid_extended_apdu.html?rev=4215&op=diff
==============================================================================
--- website/ccid_extended_apdu.html (original)
+++ website/ccid_extended_apdu.html Wed May 20 14:54:42 2009
@@ -142,12 +142,14 @@
 
 <pre>$Id$</pre>
 
-<script src="http://www.google-analytics.com/urchin.js"
-	type="text/javascript">
+<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">
-	_uacct = "UA-2404298-2";
-	urchinTracker();
-</script>
+try {
+var pageTracker = _gat._getTracker("UA-2404298-2");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 </body>
 </html>

Modified: website/index.html
URL: http://svn.debian.org/wsvn/pcsclite/website/index.html?rev=4215&op=diff
==============================================================================
--- website/index.html (original)
+++ website/index.html Wed May 20 14:54:42 2009
@@ -84,12 +84,14 @@
 			$Id$
 		</pre>
 
-		<script src="http://www.google-analytics.com/urchin.js"
-			type="text/javascript">
-		</script>
-		<script type="text/javascript">
-			_uacct = "UA-2404298-2";
-			urchinTracker();
-		</script>
+<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-2404298-2");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 	</body>
 </html>

Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=4215&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Wed May 20 14:54:42 2009
@@ -217,7 +217,15 @@
   </head>
   <body>"""
     footer = """
-    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-2404298-2"; urchinTracker(); </script>
+<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-2404298-2");
+pageTracker._trackPageview();
+} catch(err) {}</script>
     <p>Ludovic Rousseau</p>
   </body>
 </html>"""




More information about the Pcsclite-cvs-commit mailing list