We have set up a JSONP service to allow you to use a simple bit of Javascript to get your GeekShed channel topic on your website. This has been possible for a while with PHP (http://www.geekshed.net/2009/10/topic-rss/), which provides a more flexible solution. This, however, cannot be used on hosting services that do not support PHP. The Javascript method works in all modern browsers and doesn’t require anything special on your hosting server.

All you need do is paste the following code into your page’s HTML where you require your topic to be shown, change phil to your own channel name (without the #) and style it all appropriately:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>

<script type="text/javascript">
jQuery(document).ready(function() {
   var channel = 'phil';

   jQuery.getJSON("http://rss.geekshed.net/jsonp.php?channel=" + channel + "&callback=?",
      function(data) {
         jQuery('#geekshed-topic').html(data['topic']);
      }
   );
});
</script>

<div id="geekshed-topic"></div>



If you’re stuck, ask in #help.