Skip to content

Instantly share code, notes, and snippets.

@psorensen
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psorensen/1545912a3d131f2f9521 to your computer and use it in GitHub Desktop.
Save psorensen/1545912a3d131f2f9521 to your computer and use it in GitHub Desktop.
OPEN MINDS Child Welfare Feed
<style>.om-feed-container{width:100%;max-width:300px;background:#dfdfdf;font-family:arial;float:left}.om-feed-header{background:#505050;color:#fff;padding:10px;clear:both}.om-feed-header h4,.om-feed-header img{float:left}.clear:after{clear:both;content:"";display:table}ul#feed{width:100%;display:block;padding-left:0;padding:10px;box-sizing:border-box}ul#feed li{list-style:none;margin-bottom:10px}ul#feed li a{color:#3d8180;font-size:12px}</style><script type="text/javascript" src="https://www.google.com/jsapi"></script><script type="text/javascript">function initialize(){var e=new google.feeds.Feed("https://www.openminds.com/market/child-welfare/feed/");e.setNumEntries(6),e.load(function(e){if(!e.error)for(var t=document.getElementById("feed"),n=0;n<e.feed.entries.length;n++){var d=e.feed.entries[n],i=document.createElement("li"),l=document.createElement("a"),a=document.createTextNode(d.title);l.appendChild(a),l.title=d.title,l.href=d.link,i.className="om-rss-entry",i.appendChild(l),t.appendChild(i)}})}google.load("feeds","1"),google.setOnLoadCallback(initialize);</script><div class="om-feed-container"><div class="om-feed-header clear"><img src="http://dev.openminds.com/om-logo.png" width="55" alt=""><h4>OPEN MINDS News Feed</h4></div><span class="clearfix"></span><ul id="feed"></ul><img src="http://placehold.it/300x200" alt="" class="om-feed-logo"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment