Difference between revisions of "HTML:Blogs feed preview"

From distributed.net
Jump to: navigation, search
Line 1: Line 1:
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
+
 
<script src="http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js" type="text/javascript"></script>
+
  <script type="text/javascript" src="https://www.google.com/jsapi"></script>
<style type="text/css">
+
  <script src="http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js" type="text/javascript"></script>
@import url("http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.css");
+
 
#feedControl {
+
  <style type="text/css">
margin-top : 20px;
+
    @import url("http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.css");
margin-left: auto;
+
 
margin-right: auto;
+
    #feedControl {
width : 640px;
+
      margin-top : 20px;
font-size: 16px;
+
      margin-left: auto;
color: #DCADD0;
+
      margin-right: auto;
}
+
      width : 640px;
</style>
+
      font-size: 16px;
<script type="text/javascript">
+
      color: #DCADD0;
google.load("feeds", "1");
+
    }
function initializeBlogs() {
+
  </style>
var feed = "http://blogs.distributed.net/feed/";
+
  <script type="text/javascript">
var options = { numResults : 5, displayTime : 5000 };
+
 
new GFdynamicFeedControl(feed, "blogsFeedControl", options);
+
    google.load("feeds", "1");
}
+
 
google.setOnLoadCallback(initializeBlogs);
+
    function initializeBlogs() {
</script>
+
      var feed = "http://blogs.distributed.net/feed/";
<div id="blogsFeedControl">Loading...</div>
+
      var options = {
 +
        numResults : 5,
 +
        displayTime : 5000
 +
      }
 +
      new GFdynamicFeedControl(feed, "blogsFeedControl", options);
 +
    }
 +
    google.setOnLoadCallback(initializeBlogs);
 +
 
 +
  </script>
 +
 
 +
  <div id="blogsFeedControl">Loading...</div>

Revision as of 23:25, 3 December 2013

 <script type="text/javascript" src="https://www.google.com/jsapi"></script>
 <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");
 
   #feedControl {
     margin-top : 20px;
     margin-left: auto;
     margin-right: auto;
     width : 640px;
     font-size: 16px;
     color: #DCADD0;
   }
 </style>
 <script type="text/javascript">
 
   google.load("feeds", "1");
 
   function initializeBlogs() {
     var feed = "http://blogs.distributed.net/feed/";
     var options = {
       numResults : 5,
       displayTime : 5000
     }
     new GFdynamicFeedControl(feed, "blogsFeedControl", options);
   }
   google.setOnLoadCallback(initializeBlogs);
 
 </script>
 
Loading...