RSS not working correctly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tercede
    Member
    • Jan 2005
    • 85
    • 3.0.5

    RSS not working correctly

    First off, this is a two part question. I tested to see if rss feeds were working correctly and I don't think they are. In my rss.html test file i have the following:

    <script src="http://www.teentwist.net/forums/external.php?type=js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    for (i in threads)
    {
    document.writeln(threads.title + " (" + threads[i].poster + ")<br />");
    }
    //-->
    </script>
    This is what shows up: click to see

    How can I fix that? On another note, when I put
    http://www.teentwist.net/forums/external.php?type=rss$forumids=7
    into the web browser isn't it suppose to show my the latest x number of threads from forum #7? For some reason, it just shows the latest 10 threads from every forum...

    I would like to have the latest threads from forum#7, but there's something not working correctly with the rss I think. How can I get that to work correctly also?
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    #2
    That should be:



    And try to use this code:
    Code:
    <script type="text/javascript" src="external.php?type=js&forumids=7"></script> 
       <script language="" type="text/javascript">
       <!--
    for (x = 0; x < threads.length; x++)
       {
       document.writeln("<img class=\"inlineimg\" src=\"$stylevar[imgdir_button]/lastpost.gif\" alt=\"\" border=\"0\" /> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a>&nbsp;<span class=\"time\"></span><br />");
       }
       //-->
       </script>

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...