Music Banter - View Single Post - Get MB on your website!
View Single Post
Old 04-04-2004, 11:59 AM   #1 (permalink)
gregb
www.physicsforums.com
 
Join Date: Dec 2003
Posts: 385
Default Get MB on your website!

If you have your own website you can have an updated steam of current MB posts right on your site.

Just copy this code into your page and thats it!

Code:
<script src="http://www.musicbanter.com/external.php?type=js&forumids=11,25,5,6,24,7,8,23" type="text/javascript"></script>
<script type="text/javascript">
document.writeln("<table cellspacing=\"0\" cellpadding=\"4\" width=\"100%\">");
for(var i=0; i<10; i++)
{
    if(i < 9)
        document.writeln("<tr><td style=\"border-bottom: 1px solid #B4C1CD\">");
    else
        document.writeln("<tr><td>");
    document.writeln("<small><a href=\"http://www.musicbanter.com/showthread.php?t="+threads[i].threadid+"\">"+threads[i].title+"</a></small></td></tr>");
}
document.writeln("</table>");
</script>
For people who are more advanced with the net and websites you can parse our RSS and XML feed:

http://www.musicbanter.com/external.php?type=xml
http://www.musicbanter.com/external.php?type=rss
gregb is offline   Reply With Quote