Difference between revisions of "HTML:Blogs feed preview"

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

Revision as of 00:01, 4 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...