PDA

View Full Version : Advanced RSS Ticker (Ajax invocation) Security & Display Problems



adamthompson
12-18-2006, 12:16 AM
1) Script Title: Advanced RSS Ticker (Ajax invocation)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/index.htm

3) Describe problem:

Hi,

I realy like the scripts on this site, and am realy glad there is a forum to support them.

I am currently having a couple of issues integrating the addvanced RSS ticker into my home page https://www.realequityhomes.com .

1) I am having some trouble multiple instances of the viewer on the same page. Currently only one is working out of three.

This is the code I am using to stack them up in a table.


<td width="150" rowspan="3" valign="top" bgcolor="#ffffcc" style="padding-top:5px; padding-left:5px; padding-right:5px; "><img src="https://www.realequityhomes.com/images/rssSpacer.gif" width="168" height="6" align="middle">
<script type="text/javascript">
new rssticker_ajax("BBC", 1200, "ddbox", "feed1", 3500, "date+description")
new rssticker_ajax("CNN", 1200, "ddbox", "feed2", 3500, "date+description")
new rssticker_ajax("CNN", 1200, "ddbox", "feed3", 3500, "date+description")
</script>
</td>

This technique seemed to work fine with the Pausing RSS Scroler, but the the Ajax Ticker will look way better on the site if I can get it to work.

2) I am having security issues as well.

I currently have an SSL certificate on the site and am now getting a pop up on the site that states there are unsecure items.

your help is greatly appreciated.

-Adam

ddadmin
12-18-2006, 12:26 AM
One obvious problem I see is that you didn't use unique IDs for each ticker instance (ie: "ddbox"). The correct code should be something like:


new rssticker_ajax("BBC", 1200, "ddbox", "feed1", 3500, "date+description")
new rssticker_ajax("CNN", 1200, "ddbox2", "feed2", 3500, "date+description")
new rssticker_ajax("CNN", 1200, "ddbox3", "feed3", 3500, "date+description")

Regarding SSL getting in the way, this is a limitation of LastRSS unfortunately from what I understand. I may be replacing this PHP class with something more robust in the future, such as Simplepie.org.

adamthompson
12-18-2006, 12:59 AM
Thank you for your quick reply.

Just curious. I wasn't having the same security issues with the Pausing RSS Scroller. Is There any way to get it to scroll multiple articles in the same instance?

i have tried just making the instance longer, but it will just scroll one article up the entire page.

adamthompson
12-18-2006, 04:59 AM
Ive got it working like a charm now.

Thanks