Show latest posts on HTML page



When we used VB we displayed the latest posts from a specific forum on our html website using the following:

 <script type="text/javascript" src=""> </script>
      <script language="" type="text/javascript">

var name1 = new String();
var title1 = new String();
for (x = 0; x < 5; x++){
name1 = threads[x].poster;
if (name1.length > 15){
name1 = name1.slice(0,15) + "..";
title1 = threads[x].title;
if (title1.length > 35){
title1 = title1.slice(0,35) + "..";
document.writeln("<img class=\"inlineimg\"src=\"\" alt=\"\" border=\"0\" /> <a href=\""+threads[x].threadid+"\">"+title1+"</a><span class=\"time\"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Posted by "+name1+"</span><br>");}
Is it possible to use this for Xenforo? If so is it a matter of changing external.php to some other file name?


XenForo developer
Staff member
There's no option to do anything like that built in to XF. The RSS feeds would be the closest but that'd need a more extensive system.