Results 1 to 4 of 4

Thread: Advanced RSS Ticker (Ajax invocation) Security & Display Problems

  1. #1
    Join Date
    Dec 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Advanced RSS Ticker (Ajax invocation) Security & Display Problems

    1) Script Title: Advanced RSS Ticker (Ajax invocation)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ajax/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

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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:

    Code:
    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.

  3. #3
    Join Date
    Dec 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.
    Last edited by ddadmin; 12-18-2006 at 01:13 AM.

  4. #4
    Join Date
    Dec 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ive got it working like a charm now.

    Thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •