www: Add GStreamer twitter button

Christian Fredrik Kalager Schaller uraeus at kemper.freedesktop.org
Fri Jan 13 04:24:14 PST 2012


Module: www
Branch: master
Commit: 09f00197c4b0b54be83af2c4484a32c2a9cba7d2
URL:    http://cgit.freedesktop.org/gstreamer/www/commit/?id=09f00197c4b0b54be83af2c4484a32c2a9cba7d2

Author: Christian Fredrik Kalager Schaller <christian.schaller at collabora.co.uk>
Date:   Fri Jan 13 12:23:57 2012 +0000

Add GStreamer twitter button

---

 src/htdocs/header.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/htdocs/header.xml b/src/htdocs/header.xml
index b3a8677..d5cf851 100644
--- a/src/htdocs/header.xml
+++ b/src/htdocs/header.xml
@@ -1,5 +1,7 @@
 <!-- this is the xml for the menu which is pulled in by header.xsl -->
 <!-- all the href's here are relative to & site ; -->
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
   <menu>
     <item class="gstnavside-r" href="/">Home</item>
     <item class="gstnavside-r" href="/features/">Features</item>
@@ -23,4 +25,5 @@
     <item href="" />
 
     <item class="gstnavside-b" href="/artwork/">Artwork</item>
+    <a href="https://twitter.com/gstreamer" class="twitter-follow-button" data-show-count="false">Follow @gstreamer</item>
   </menu>



More information about the gstreamer-commits mailing list