Black Snow
06-11-2015, 09:44 AM
I've been looking into RSS feeds and JavaScript. Reading this page: https://www.vbulletin.com/docs/html/vboptions_externaldataprovider_implementing it shows a small script snippet.
<script src="http://www.yourdomain.com/forumpath/external.php?type=js" type="text/javascript"></script>
<script type="text/javascript">
<!--
for (i in threads)
{
document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />");
}
//-->
</script>
I would like to know how and where this pulls the title and thread posted from the RSS feed. How would I grab the forum title and URL from the feed?
<script src="http://www.yourdomain.com/forumpath/external.php?type=js" type="text/javascript"></script>
<script type="text/javascript">
<!--
for (i in threads)
{
document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />");
}
//-->
</script>
I would like to know how and where this pulls the title and thread posted from the RSS feed. How would I grab the forum title and URL from the feed?