1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Show latest posts on HTML page

Discussion in 'XenForo Questions and Support' started by Ellie, Jun 12, 2013.

  1. Ellie

    Ellie Member


    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="http://www.soapchat.net/external.php?type=js&forumids=229"> </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=\"http://images.findicons.com/files/icons/1581/silk/16/bullet_star.png\" alt=\"\" border=\"0\" /> <a href=\"http://www.soapchat.net/showthread.php?t="+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?
  2. Mike

    Mike 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.
  3. Ellie

    Ellie Member

    OK thanks. No worries I will use some 3rd party rss include instead.

Share This Page