Instruktioner

Se exempel till höger!

Kopiera in följande kodsnutt på din hemsida:

<!-- ++Begin Dynamic Feed Wizard Generated Code++ -->
  <!--
  // Created with a Google AJAX Search and Feed Wizard
  // http://code.google.com/apis/ajaxsearch/wizards.html
  -->

  <!--
  // The Following div element will end up holding the actual feed control.
  // You can place this anywhere on your page.
  -->
  <div id="pplive-control">
    <span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span>
  </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");
#pplive-control {
      width : 200px;
      margin-right: 5px;
      margin-left: 5px;
      padding-top : 4px;
      padding-right : 4px;
      padding-left : 4px;
      padding-bottom : 0px;
    }

.gfg-entry{
  height: 8em
}

.gf-title {
white-space: normal !important;
font-size:12px !important;
}

.gfg-title a {
  color:white;
}

.gfg-title {
  background-color:#6D4F9A;
}


.gfg-subtitle a {
  color:white;
}
.gfg-subtitle {
  background-color:#6D4F9A;
  padding-left:2px;
  font-weight: normal;
}


.gfg-listentry {
   white-space: normal !important;
   padding-top: 3px;
   padding-bottom: 3px;
}

.gfg-listentry-odd {
  background-color: #E3D3F2;
}

.gfg-root {
  border:1px solid #E3D3F2;
}

.gfg-root a {
  text-decoration: none;
}


  </style>

  <script type="text/javascript">
    function LoadDynamicFeedControl() {
      var feeds = [
	{title: 'Piratpartiet LIVE!',
	 url: 'http://live.piratpartiet.se/atom.xml'
	}];
      var options = {
        numResults : 10,
        stacked : true,
        horizontal : false,
        title : '<a href="http://live.piratpartiet.se">Piratpartiet LIVE!</a>'
      }

      new GFdynamicFeedControl(feeds, 'pplive-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++ -->

Har du problem, hör av dig till Mikael Nilsson

Loading...