View Full Version : Advanced RSS ticker script

03-02-2007, 02:59 AM
1) Script Title: Advanced RSS Ajax Ticker Script (Ajax invocation)

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

3) Describe problem: Trying to limit how much content is displayed in the rss feed. title is ok, date is ok, but can not limit the amount of description displayed. Anybody know how to do this?


03-02-2007, 10:54 AM
Welcome to the forums, and please use a more descriptive title for your threads (I've edited it this time).

To your question, the easiest way would just be to open up rssticker.js, find the below line, and add to it the code in red:

this.description[i]=this.description[i].substring(0, 100)

where 100 means you only want to show the first 100 characters.