Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Advanced RSS Ticker (Ajax) - Link Error!

  1. #1
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Advanced RSS Ticker (Ajax) - Link Error!

    Hi
    I have installed the Advanced RSS Ticker, followed all the instructions and although it seems to be working ok, I have got the following problem.
    When I put the mouse pointer over the title - instead of getting the url of the news article I get -
    http://www.mydomain.com/files/'+this.link[this.pointer]+'
    Also the Title colour is not Blue?
    I have tried altering lots of things but can't get it to work correctly!

    I'm sure its something simple but I'm not a coder so any help appreciated.

    Regards
    Andy

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

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.

    Also, do you have a URL to the problem page? The title color btw can easily be changed by adding the CSS:

    Code:
    color: blue;
    to the .rsstitle class.

  3. #3
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    http://casinoisopen.com/3parttest/rsstemplate.html

    This is a test site I am testing it on.
    thanks
    Andy

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

    Default

    Url link does not work ?
    http://www.dynamicdrive.com/dynamici...ajax/index.htm

    I have tried several things with no luck any ideas?
    website link,
    http://casinoisopen.com/3parttest/rsstemplate.html

    regards
    Andy

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

    Default

    Hi:
    The problem is due to an error in your rssticker.js file, specifically:

    Code:
    var linktitle='<div class="rsstitle"><a href="files/%27+this.link%5Bthis.pointer%5D+%27">'+this.title[this.pointer]+'</a></div>'
    Not sure why you added that in the first place, but remove the "files/..." portion from the URL:

    Code:
    var linktitle='<div class="rsstitle"><a href="'+this.link[this.pointer]+'">'+this.title[this.pointer]+'</a></div>'
    That should do it.

    On another note, per our usage terms. please note that the credit notice for this script must remain intact in the page's visible source. So please restore the code in the HEAD section of your page to:

    Code:
    <script src="files/rssticker.js" type="text/javascript">
    
    /***********************************************
    * Advanced RSS Ticker (Ajax invocation)- &#169; Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    ***********************************************/
    
    </script>
    Thanks,

  6. #6
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi thanks for the help its working ok now,
    I think i know what caused the problem, my initial drectory was called
    '3 part test' I changed it to '3parttest' when I Installed the script it must have somehow changed it from "<a href="'+this.link[this.pointer]+'"> to "><a href="files/%27+this.link%5Bthis.pointer%5D+%27"> to make up for the gaps?
    I didn't alter it untill you said it was wrong!

    Regards
    Andy

  7. #7
    Join Date
    Mar 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Advanced RSS Ticker (Ajax Invocation)
    http://www.dynamicdrive.com/dynamici...ajax/index.htm

    I'm having problems at http://zacharyforrest.com. Everything is fine except that it gets stuck "initializing"...

    Any idea what the problem could be?

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

    Default

    Zforest:
    A good way to debug this script is to first make sure the PHP script "bridge.php" actually returns the desired RSS file. In your case, if I call:

    http://www.zacharyforrest.com/wp-con...dge.php?id=CNN

    I get the error "Sorry: It's not possible to reach RSS file http://rss.cnn.com/rss/cnn_topstories.rss." Now, I'm not sure why your server is having trouble retrieving the RSS feed, but this is a separate issue from the ticker script itself. Make sure you can get bridge.php to return the desired RSS feed first.

  9. #9
    Join Date
    Mar 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I've since discovered the problem lies in the fact that this script doesn't use the CURL libarary....

  10. #10
    Join Date
    Mar 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok, I have the XML returning, but the ticker is still stuck on "initializing"...

    Anything else I can do?

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
  •