Below are examples on how you can control what is shown on these websites.
To syndicate in a Javascript format you would call the following URL from your external site. This will require additional javascript on the external site (an example is listed below).
www.yourdomain.com/forumpath/external.php?type=js
Example Code:
<script src="https://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>
The URLS to access these feeds are:
XML - www.yourdomain.com/forumpath/external.php?type=xml
RSS - www.yourdomain.com/forumpath/external.php?type=rss
RSS 2.0 - www.yourdomain.com/forumpath/external.php?type=rss2
You can refine the listings by specifying forumids in the path. For multiple forums separate them with a comma. This will limit the feed to the specified forums only. (Below example uses xml as type, but it works with rss, rss2, and js too)
https://www.vbulletin.com/forum/external.php?type=xml&forumids=1,2,3,4
Here is an example combined with RSS2 switch:
http://www.vbulletin.com/forum/external.php?lastpost=true&type=rss2
document.writeln(threads.title + " (" + threads[i].poster + ")<br />");
should read:
document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />");
Here is an example:
http://www.vbulletin.com/forum/external.php?lastpost=true
Some threads have a very long titles, and it looks messy.
Thanks
document.writeln(threads[i].title.slice(0,20) + " (" + threads[i].poster + ")<br />");
where the '20' represents the number of characters to show:
threads[i].title.slice(0,20)
<script src="http://www.yourdomain.com/forumpath/external.php?type=js" type="text/javascript"></script>
<div id="vb_Ext">
<script type="text/javascript">
<!--
var ext = document.getElementById("vb_Ext");
for (i in threads)
{
var txt = document.createTextNode(threads[i].title + " (" + threads[i].poster + ")");
ext.appendChild(txt);
var br = document.createElement("br");
ext.appendChild(br);
}
//-->
</script>
</div>
The added "div" (id="vb_Ext") may, of course, be any element that you wish provided the identifier is used correctly and it is legitimate to use.