Help with External Data Provider

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paynemdp
    New Member
    • Nov 2007
    • 10
    • 3.6.x

    Help with External Data Provider

    VB 3.6.8

    External Data Provider should pull recent posts from forums and post to an html page.

    PROBLEM: The following error message prevents feed from displaying in IE & FF. No mods have occurred to my knowledge. It has stopped working.

    Here's the error message:

    "Threads is undefined" line 635 (line 635 = "for (i in threads)"

    QUESTION: What is wrong with the "for (i in threads)"?

    Here's the code:

    <script src="http://fixmyuglycredit.com/forum/external.php?type=js" type="text/javascript"></script>

    <script type="text/javascript">

    <!--

    document.writeln("<ul style='color: #123456;list-style-position: inside;width:137px;padding:0px;margin:0px;padding-left:4px;' >");

    for (i in threads)

    {

    document.writeln("<li style='font-weight:bold;font-size:12px;color:#000000;padding-top:5px;' ><a href='#' style='font-weight:bold;font-size:12px;color:#000000;padding-top:5px;text-decoration:none;' >" + threads[i].title +"</a></li>");

    }

    document.writeln("</ul>");

    -->

    </script>


    I want to thank you in advance for helping me resolve this long-standing issue that received no response from vb tech support.

    Mike
  • peterska2
    Senior Member
    • Oct 2003
    • 8869
    • 3.7.x

    #2
    See this thread:

    Comment

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