Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Broadcasting DZONE Shares

DZone's Guide to

Broadcasting DZONE Shares

·
Free Resource
// This snippet will allow you to show your DZONE shares
// on your web page.   Visit your shares page, click on the "feed" link
// to get the URL of your personal shares feed then paste it in the first line
// in the script.


var sharedURL='';  // Place your url between the quotes.

function getFeed(url, callback) {
   var newScript = document.createElement('script');
       newScript.type = 'text/javascript';
       newScript.src = 'http://pipes.yahoo.com/pipes/9oyONQzA2xGOkM4FqGIyXQ/run?&_render=JSON&_callback='+callback+'&feed=' + sharedURL;
   document.getElementsByTagName("head")[0].appendChild(newScript);
}

function dzone(feed) {
   var tmp='';
   for (var i=0; i
  
   ';
      tmp+=feed.value.items[i].title+'
   
'; } document.getElementById('dzoneLinks').innerHTML=tmp; } getFeed(sharedURL, 'dzone');
// Paste that code at the end of your page. In your HTML place the following two divisions // where you would like your feed to appear. (feel free to style the divisions however you wish) // you can add to/subtract from the outer division but the inner division will always be overwritten // with your shares.
My DZONE Recommendations
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}