Difference between revisions of "HTML:Blogs feed preview"

From distributed.net
Jump to: navigation, search
Line 1: Line 1:
  </pre>
+
<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 {
 
     #feedControl {
 
       margin-top: 20px;
 
       margin-top: 20px;
Line 16: Line 14:
 
   </style>
 
   </style>
 
   <script type="text/javascript">
 
   <script type="text/javascript">
 
 
 
     google.load("feeds", "1");
 
     google.load("feeds", "1");
 
 
 
     function initializeBlogs() {
 
     function initializeBlogs() {
 
       var feed = "http://blogs.distributed.net/feed/";
 
       var feed = "http://blogs.distributed.net/feed/";
 
       var options = {
 
       var options = {
         numResults : 5,
+
         numResults: 5,
         displayTime : 5000
+
         displayTime: 5000
 
       }
 
       }
 
       new GFdynamicFeedControl(feed, "blogsFeedControl", options);
 
       new GFdynamicFeedControl(feed, "blogsFeedControl", options);
 
     }
 
     }
 
     google.setOnLoadCallback(initializeBlogs);
 
     google.setOnLoadCallback(initializeBlogs);
 
 
 
   </script>
 
   </script>
 
 
 
   <div id="blogsFeedControl">Loading...</div>
 
   <div id="blogsFeedControl">Loading...</div>
  <pre>
+
</nowiki>

Revision as of 00:53, 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"); #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> <div id="blogsFeedControl">Loading...</div>