PDA

View Full Version : how do i get live tickers to appear in article's?


exploraforum
12-16-2012, 12:01 PM
thanks for all that help.

on my article page I would like to insert tickers I found here...

http://oil-price.net/dashboard.php?lang=en

a sample of the code they provide is as follows.

I turned on external javascript, not sure it that was needed but it didnt make do anything.

<script type="text/javascript"
src="http://www.oil-price.net/TABLE2/gen.php?lang=en">
</script>
<noscript> To get the WTI <a href="http://www.oil-price.net/dashboard.php?lang=en#TABLE2">oil price</a>, please enable Javascript.
</noscript>

kh99
12-16-2012, 02:20 PM
The external javascript setting doesn't have anything to do with that. But hwere are you inserting that javascript code, and what happens when you do? If you're seeing the code in your article, it means html isn't allowed. In that case you either need to enable html, or else create a bbcode for inserting a ticker. (It isn't recommended to enable html in a forum where the public can post, but only you can post there then it might be OK).

exploraforum
12-16-2012, 04:14 PM
I found a video on inserting youtube video using a bb code. I applied it and its working well. could I use the sam steps to post these tickers?

kh99
12-16-2012, 04:24 PM
Yeah, should be pretty easy. If there's more than one ticker then you could make that part a parameter or an option, or else make one bbcode per ticker, whichever seems easier to you.