PDA

View Full Version : RSS Feeds


doemasters
03-20-2012, 04:04 PM
I know thios has to be easy but i am unable to find it anywhere, i have my RSS feeds enabled but how do i embed feeds from my forum to my html site.

I hope that makes sense, i am mainly wanting to pull my posts from the forum to go into websites to try and pull more people in and keep the content flowing on my html site

thanks

kh99
03-20-2012, 04:48 PM
There's an example in the vbulletin manual about using the javascript external feed to put thread links in an html page, it's basically this:

<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 seem to remember seeing an example that parses xml to use other types of feeds, but I can't find it now (I think it's on vbulletin.com somewhere).

doemasters
03-20-2012, 06:25 PM
thanks, i will go and see what i can find