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

Revision as of 21:50, 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");

  1. 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...