PDA

View Full Version : Resolved gajaxpausescroller - Text cut short



ukstormer
07-26-2012, 03:19 PM
1) Script Title: gAjax RSS Pausing Scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxpausescroller.htm

3) Describe problem: Not displaying all the RSS feed snippet
eg
on the BBC RSS page
Profits at British Gas owner rise
Centrica, the owner of British Gas, reports a 15% rise in first-half profits to 1.45bn, including a 23% rise in profits at British Gas.

On the gAjax Scroller
Profits at British Gas owner rise
Centrica, the owner of British Gas, reports a 15% rise in first-half profits to 1.45bn, including a 23% rise in profits at ...

why has it chopped the end of the snippet text ?

FYI for others that have come across this the answer is to edit the following :
newsfeed.displayoptions("snippet") //show the specified additional fields
to
newsfeed.displayoptions("description") //show the specified additional fields
This will now show the full news item

jscheuer1
07-26-2012, 05:24 PM
I would add that in many cases the snippet is to be preferred as oftentimes the description is extremely long and/or includes large images.