[Checkins] SVN: bluebream/website/main/ Added news & tweets

Baiju M baiju.m.mail at gmail.com
Thu Jan 28 10:31:52 EST 2010


Log message for revision 108607:
  Added news & tweets
  

Changed:
  U   bluebream/website/main/_templates/index.html
  U   bluebream/website/main/blue/static/mainpage.css

-=-
Modified: bluebream/website/main/_templates/index.html
===================================================================
--- bluebream/website/main/_templates/index.html	2010-01-28 15:16:20 UTC (rev 108606)
+++ bluebream/website/main/_templates/index.html	2010-01-28 15:31:51 UTC (rev 108607)
@@ -65,20 +65,81 @@
 
 	  <div class="clearer"></div>
 
-	  <div class="news">
-	  </div>
+<!-- ++Begin Dynamic Feed Wizard Generated Code++ -->
+  <!--
+  // Created with a Google AJAX Search and Feed Wizard
+  // http://code.google.com/apis/ajaxsearch/wizards.html
+  -->
 
-	  <div class="tweets">
-	  </div>
+  <!-- Google Ajax Api
+  -->
+  <script src="http://www.google.com/jsapi?key=notsupplied-wizard"
+    type="text/javascript"></script>
 
+  <!-- Dynamic Feed Control and Stylesheet -->
+  <script src="http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js"
+    type="text/javascript"></script>
+  <style type="text/css">
+    @import url("http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.css");
+  </style>
+
+  <script type="text/javascript">
+    function LoadDynamicFeedControl() {
+      var feeds = [
+	{title: 'News',
+	 url: 'http://bluebream.posterous.com/rss.xml'
+	},
+	{title: 'News',
+	 url: 'http://bluebream.posterous.com/rss.xml'
+	},
+	{title: 'News',
+	 url: 'http://bluebream.posterous.com/rss.xml'
+	}];
+      var options = {
+        stacked : false,
+        horizontal : false,
+        title : ""
+      }
+
+      new GFdynamicFeedControl(feeds, 'feed-control', options);
+    }
+    // Load the feeds API and set the onload callback.
+    google.load('feeds', '1');
+    google.setOnLoadCallback(LoadDynamicFeedControl);
+  </script>
+  <!-- ++End Dynamic Feed Control Wizard Generated Code++ -->
+                
+  <div class="newsfeeds" style="text-align: center">
+        
+
+    <!--
+       // The Following div element will end up holding the actual feed control.
+       // You can place this anywhere on your page.
+      -->
+    <div id="feed-control" style="margin: 0pt auto; width: 270px; height: 300px;display: inline-block;">
+      <span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span>
+    </div>
+
+	<div class="tweets" style="margin: 0pt auto; width: 270px;display: inline-block;">
+      <script src="http://widgets.twimg.com/j/2/widget.js"></script>
+      <script> new TWTR.Widget({ version: 2, type: 'search', search:
+        'bluebream', interval: 6000, 
+        subject: 'Tweets', width: 270, height: 300, theme: { shell: {
+        background: '#8ec1da', color: '#ffffff' }, tweets: { background:
+        '#ffffff', color: '#444444', links: '#1985b5' } }, features: {
+        scrollbar: false, loop: true, live: true, hashtags: true,
+        timestamp: true, avatars: true, behavior: 'default' }
+        }).render().start(); </script> 
 	</div>
 
-	<div class="clearer"></div>
+  </div>
 
+  <div class="clearer"></div>
+
+    </div>
+
   </div>
 
-</div>
-
 <div class="clearer"></div>
 
   {%- block footer %}

Modified: bluebream/website/main/blue/static/mainpage.css
===================================================================
--- bluebream/website/main/blue/static/mainpage.css	2010-01-28 15:16:20 UTC (rev 108606)
+++ bluebream/website/main/blue/static/mainpage.css	2010-01-28 15:31:51 UTC (rev 108607)
@@ -62,3 +62,7 @@
 div.footer a {
     color: black;
 }
+
+div.gfg-root {
+    height: 370px
+}



More information about the checkins mailing list