PDA

View Full Version : Advanced RSS Ticker (Ajax) - Link Error!



andyase
02-27-2006, 10:55 AM
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

ddadmin
02-27-2006, 01:49 PM
.

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


color: blue;

to the .rsstitle class.

andyase
02-27-2006, 03:32 PM
http://casinoisopen.com/3parttest/rsstemplate.html

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

andyase
03-01-2006, 10:54 AM
Url link does not work ?
http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/index.htm

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

regards
Andy

ddadmin
03-02-2006, 02:35 PM
Hi:
The problem is due to an error in your rssticker.js file, specifically:


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:


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:


<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,

andyase
03-03-2006, 01:11 PM
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

zforrest
03-04-2006, 11:23 PM
Advanced RSS Ticker (Ajax Invocation)
http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/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?

ddadmin
03-05-2006, 03:59 PM
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-content/themes/k2/lastrss/bridge.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.

zforrest
03-06-2006, 03:53 AM
I've since discovered the problem lies in the fact that this script doesn't use the CURL libarary....

zforrest
03-06-2006, 04:48 PM
Ok, I have the XML returning, but the ticker is still stuck on "initializing"...

Anything else I can do?

ddadmin
03-07-2006, 01:52 AM
I don't see the script on the page- if you're still setting this up and need help, please update the link to it on your site.