You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/03/14 12:07:18 UTC

git commit: Site: Added Piwik tracking code to pages

Updated Branches:
  refs/heads/master 3bfdaf5a4 -> d1ad6fbc3


Site: Added Piwik tracking code to pages


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/d1ad6fbc
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/d1ad6fbc
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/d1ad6fbc

Branch: refs/heads/master
Commit: d1ad6fbc3594f216f54303e6aac3f57a28d8c6b2
Parents: 3bfdaf5
Author: Michal Fojtik <mf...@redhat.com>
Authored: Wed Mar 14 12:08:14 2012 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Wed Mar 14 12:08:14 2012 +0100

----------------------------------------------------------------------
 site/layouts/default.txt       |   13 +++++++++++++
 site/output/api.html           |   24 +++++++++++++++++++++---
 site/output/client-ruby.html   |   18 ++++++++++++++++++
 site/output/contact.html       |   18 ++++++++++++++++++
 site/output/dcloud-demo.html   |   18 ++++++++++++++++++
 site/output/dcloud.html        |   18 ++++++++++++++++++
 site/output/developers.html    |   22 ++++++++++++++++++++--
 site/output/documentation.html |   18 ++++++++++++++++++
 site/output/download.html      |   18 ++++++++++++++++++
 site/output/drivers.html       |   24 +++++++++++++++++++++---
 site/output/index.html         |   18 ++++++++++++++++++
 site/output/libdeltacloud.html |   18 ++++++++++++++++++
 site/output/roadmap.html       |   18 ++++++++++++++++++
 13 files changed, 237 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/layouts/default.txt
----------------------------------------------------------------------
diff --git a/site/layouts/default.txt b/site/layouts/default.txt
index 4653fcf..027661a 100644
--- a/site/layouts/default.txt
+++ b/site/layouts/default.txt
@@ -62,3 +62,16 @@ filter: haml
           in October 2011. Through a collaborative and meritocratic
           development process, Apache projects deliver enterprise-grade,
           freely available software products that attract large communities of users.
+  - # Piwik Tracking Code
+  %script(type="text/javascript")
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  :javascript
+    try {
+      var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+      piwikTracker.trackPageView();
+      piwikTracker.enableLinkTracking();
+    } catch( err ) {}
+  %noscript
+    %p
+      %img{ :src => "http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1", :style => "border:0", :alt => ""}

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/api.html
----------------------------------------------------------------------
diff --git a/site/output/api.html b/site/output/api.html
index a5fa138..ac1c081 100644
--- a/site/output/api.html
+++ b/site/output/api.html
@@ -458,7 +458,7 @@
         meanings assigned to the standard HTTP verbs GET, POST, PUT, and DELETE.</p>
         
         <p>Beyond the generally accepted REST design principles, Apache Deltacloud
-        follows the guidelines discussed in the Fedora Project <a href="http://fedoraproject.org/wiki/Cloud_APIs_REST_Style_Guide" title="Fedora Cloud APIs REST Style Guide">Cloud APIs Rest Style Guide</a>.</p>
+        follows the guidelines discussed in the Fedora Project <a title="Fedora Cloud APIs REST Style Guide" href="http://fedoraproject.org/wiki/Cloud_APIs_REST_Style_Guide">Cloud APIs Rest Style Guide</a>.</p>
         
         <p>The URL space of the API is structured into collections of resources
         (entities, objects). The top level entities used in the Deltacloud API are:
@@ -1886,7 +1886,7 @@
         <p>Creates a new <strong><em>bucket</em></strong> and requires that you specify the <strong><em>name</em></strong> as a
         parameter. Optionally for Amazon S3 buckets, you can specify a bucket location
         with the <strong><em>location</em></strong> parameter, as per
-         <a href="http://docs.amazonwebservices.com/general/latest/gr/index.html?rande.html" title="AWS Regions and Endpoints">Regions and Endpoints for Amazon Simple Storage Service</a>;
+         <a title="AWS Regions and Endpoints" href="http://docs.amazonwebservices.com/general/latest/gr/index.html?rande.html">Regions and Endpoints for Amazon Simple Storage Service</a>;
         valid values for S3 bucket <em>location</em> parameter are: "us-west-1", "EU",
         "ap-southeast-1", "ap-northeast-1" (while not specifying a location defaults to
         the "US Standard" region). Note that clients may specify parameters as
@@ -2031,7 +2031,7 @@
         <h4 id="h4_3_10"><code>HEAD /api/buckets/:bucket_id/:blob_id</code></h4>
         
         <p>The <code>HTTP HEAD</code> operation on a specified <strong><em>blob</em></strong> URI will return all user defined
-        metadata fields. As per <a href="http://www.ietf.org/rfc/rfc2616.txt" title="RFC 2616 HTTP/1.1">RFC 2616</a>
+        metadata fields. As per <a title="RFC 2616 HTTP/1.1" href="http://www.ietf.org/rfc/rfc2616.txt">RFC 2616</a>
         this <code>HEAD</code> operation does not return a message body. Rather, the <strong><em>blob</em></strong> user
         metadata values are returned in the response <strong><em>X-Deltacloud-Blobmeta-</em></strong>
         headers (e.g., X-Deltacloud-Blobmeta-version:1.2).</p>
@@ -2088,4 +2088,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/client-ruby.html
----------------------------------------------------------------------
diff --git a/site/output/client-ruby.html b/site/output/client-ruby.html
index 9abbd61..35b5706 100644
--- a/site/output/client-ruby.html
+++ b/site/output/client-ruby.html
@@ -241,4 +241,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/contact.html
----------------------------------------------------------------------
diff --git a/site/output/contact.html b/site/output/contact.html
index f12ad8f..9bc37b1 100644
--- a/site/output/contact.html
+++ b/site/output/contact.html
@@ -89,4 +89,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/dcloud-demo.html
----------------------------------------------------------------------
diff --git a/site/output/dcloud-demo.html b/site/output/dcloud-demo.html
index 0ee7f18..c96b798 100644
--- a/site/output/dcloud-demo.html
+++ b/site/output/dcloud-demo.html
@@ -116,4 +116,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/dcloud.html
----------------------------------------------------------------------
diff --git a/site/output/dcloud.html b/site/output/dcloud.html
index 15f055a..7516614 100644
--- a/site/output/dcloud.html
+++ b/site/output/dcloud.html
@@ -118,4 +118,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/developers.html
----------------------------------------------------------------------
diff --git a/site/output/developers.html b/site/output/developers.html
index e42f636..b7733c4 100644
--- a/site/output/developers.html
+++ b/site/output/developers.html
@@ -47,9 +47,9 @@
       <div class='container' id='content-deltacloud'>
         <h1>Contribute to the Deltacloud Project</h1>
         
-        <p><a href="http://www.apache.org/" title="The Apache Software Foundation">Apache</a> Deltacloud is
+        <p><a title="The Apache Software Foundation" href="http://www.apache.org/">Apache</a> Deltacloud is
         free, open source software licensed under the
-        <a href="http://www.apache.org/licenses/LICENSE-2.0" title="The Apache License">apache license</a>.
+        <a title="The Apache License" href="http://www.apache.org/licenses/LICENSE-2.0">apache license</a>.
         Please feel free to <a href="contact.html">contact us</a> if you have any questions about the
         project or with any suggestions on how to improve Deltacloud. The Deltacloud
         developer community is open to anyone that wants to contribute!</p>
@@ -559,4 +559,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/documentation.html
----------------------------------------------------------------------
diff --git a/site/output/documentation.html b/site/output/documentation.html
index 5f4b50d..ce60881 100644
--- a/site/output/documentation.html
+++ b/site/output/documentation.html
@@ -555,4 +555,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/download.html
----------------------------------------------------------------------
diff --git a/site/output/download.html b/site/output/download.html
index 27543d8..a916ca8 100644
--- a/site/output/download.html
+++ b/site/output/download.html
@@ -178,4 +178,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/drivers.html
----------------------------------------------------------------------
diff --git a/site/output/drivers.html b/site/output/drivers.html
index 2a76f8d..c7a07e4 100644
--- a/site/output/drivers.html
+++ b/site/output/drivers.html
@@ -751,7 +751,7 @@
         
         <h3 id="h3_3">RHEV-M Driver</h3>
         
-        <p>The RHEV-M driver supports latest release of <a href="http://www.redhat.com/virtualization/rhev/server/" target="_blank">Red Hat Enterprise Virtualization Manager</a> (3.0 currently).
+        <p>The RHEV-M driver supports latest release of <a target="_blank" href="http://www.redhat.com/virtualization/rhev/server/">Red Hat Enterprise Virtualization Manager</a> (3.0 currently).
         In order to make the driver work with this provider, you need to set an/the
         API_PROVIDER environment variable or use the 'X-Deltacloud-Provider' request
         header to the URL of the RHEV-M REST API entry point. The usual URL looks like:</p>
@@ -764,7 +764,7 @@
         are valid Deltacloud credentials.</p>
         
         <p>Note: In order to make RHEV-M driver work properly, you need to set the RHEV-M
-        <a href="http://markmc.fedorapeople.org/rhevm-api/en-US/html-single/index.html#chap-REST_API_Guide-Data_Centers" target="_blank">Data Center</a> UUID you want to speak with in API_PROVIDER url (see the example
+        <a target="_blank" href="http://markmc.fedorapeople.org/rhevm-api/en-US/html-single/index.html#chap-REST_API_Guide-Data_Centers">Data Center</a> UUID you want to speak with in API_PROVIDER url (see the example
         above). To obtain a list of all Data Centers you can choose from, start Deltacloud API without
         specifying a datacenter in the API_PROVIDER URL and do this request:</p>
         
@@ -777,7 +777,7 @@
         <h3 id="h3_4">VMware vSphere Driver</h3>
         
         <p>For details on how to make the VMware vSphere driver work with Deltacloud API,
-        please refer to <a href="https://www.aeolusproject.org/redmine/projects/aeolus/wiki/VSphere_Setup" target="_blank">vSphere Setup</a> in Aeolus project wiki.</p>
+        please refer to <a target="_blank" href="https://www.aeolusproject.org/redmine/projects/aeolus/wiki/VSphere_Setup">vSphere Setup</a> in Aeolus project wiki.</p>
         
         <p>In order to connect to vSphere, you need to set the API_PROVIDER environment
         variable or use the 'X-Deltacloud-Provider' HTTP header in the request to the vSphere
@@ -853,4 +853,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/index.html
----------------------------------------------------------------------
diff --git a/site/output/index.html b/site/output/index.html
index cb4379d..d9e328c 100644
--- a/site/output/index.html
+++ b/site/output/index.html
@@ -431,4 +431,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/libdeltacloud.html
----------------------------------------------------------------------
diff --git a/site/output/libdeltacloud.html b/site/output/libdeltacloud.html
index e7afe44..84dda2b 100644
--- a/site/output/libdeltacloud.html
+++ b/site/output/libdeltacloud.html
@@ -104,4 +104,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d1ad6fbc/site/output/roadmap.html
----------------------------------------------------------------------
diff --git a/site/output/roadmap.html b/site/output/roadmap.html
index 921dec8..65904d3 100644
--- a/site/output/roadmap.html
+++ b/site/output/roadmap.html
@@ -219,4 +219,22 @@
       </div>
     </div>
   </body>
+  <script type='text/javascript'>
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.salasaga.org/aeolus/piwik/" : "http://stats.salasaga.org/aeolus/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type='text/javascript'>
+    //<![CDATA[
+      try {
+        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+        piwikTracker.trackPageView();
+        piwikTracker.enableLinkTracking();
+      } catch( err ) {}
+    //]]>
+  </script>
+  <noscript>
+    <p>
+      <img alt='' src='http://stats.salasaga.org/aeolus/piwik/piwik.php?idsite=1' style='border:0' />
+    </p>
+  </noscript>
 </html>