PDA

View Full Version : Pausing RSS Scroller, title not displayed



&patty
03-20-2009, 06:04 PM
1) Script Title: Pausing RSS Scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/rsspausescroller/

3) Describe problem: I download it and when I modified the page with the site of the RSS: http://forums.tvxqperu.com/index.php?act=rssout&id=2 for both examples, the day and time appears in the second one but not the title x_x
http://piratexbelle.suki-desu.net/demo.htm

Please help me!

Thank you! ^^

ddadmin
03-20-2009, 10:46 PM
The titles of your RSS entries seem to contain the <[CDATA ]]> tags that is tripping up the output. Looking at your generated output:

http://piratexbelle.suki-desu.net/lastrss/scrollerbridge.php?id=dynamicdrive

Notice how the title property contains for example:


rsscontentdata.[0]={link:"http%3A%2F%2Fforums.tvxqperu.com%2Findex.php%3Fshowtopic%3D6638", title:"%3C%21%5BCDATA%5B%5BAudio%5D%20090320%20Jaejoong%20%26%20Yoonho%20-%20FM%20Aichi%20Menicon%20Music%20Triangle%5D%5D%3E", description:"", date:"Mar%2020%2C%202009%205%3A16%3A45%20PM"}

If you decode that, ie:


alert(decodeURI(rsscontentdata[0].title))

You get something like:


<![CDATA[[Vid] 090320 TNC MomochihamaDX Store Preview]]>

Which appears blank when shown inside the DIV. You should either modify your RSS feed so the titles are just plain text, or if you're familiar with PHP, edit the PHP script to account for this.