PDA

View Full Version : can increase the total no. of items fed?



rcw
01-08-2008, 09:23 PM
1) Script Title: RSS Pause Scroller

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

3) Describe problem:1.Can I set the no. of items the scroller shows?
2. Can I slow down the scrolling speed?
3. where can i edit how many characters long the descriptions will be?
TIA

rcw
01-09-2008, 11:07 PM
Could you please tell me how & where to adjust the number of feeds the rss pausecroller grabs?

;)

ddadmin
01-10-2008, 05:55 AM
To answer your questions:

1) Not with this script unfortunately, which can only show one feed at a time. You can check out gAjax RSS scroller (http://www.dynamicdrive.com/dynamicindex18/gajaxpausescroller.htm) for such an ability instead.

2) Sure, just find this line in the .js file:


setTimeout(function(){scrollerinstance.animateup()}, 50)

and increase 50 to a larger number, such as 100 or 150

3) You can edit this line within the script, by adding to it the line in red:


var description='<div class="rssdescription">'+unescape(rsscontent.description)+'</div>'
description=description.substring(0, 100)

100 in this case would mean return the first 100 characters of the description.

rcw
01-10-2008, 12:35 PM
many thanks ;)

rcw
01-10-2008, 09:25 PM
I added that line and get full descriptions.

rcw
01-10-2008, 09:36 PM
never mind....i figured it out eventually :p

rcw
01-10-2008, 10:42 PM
What I would like to know is whree can I set the number of items per feed. Say I want 20 items ...

ddadmin
01-11-2008, 05:50 AM
never mind....i figured it out eventually :p

Was there something wrong with the changes I had posted above? If so please let me know what, just for the sake of other members that may be having the same problem. :)


What I would like to know is whree can I set the number of items per feed. Say I want 20 items ...

This is really a function of LastRSS (http://lastrss.oslab.net/), the PHP parser used by the script. It simply returns all the items within your feed I believe.

rcw
01-11-2008, 07:27 PM
Was there something wrong with the changes I had posted above? If so please let me know what, just for the sake of other members that may be having the same problem. :)



This is really a function of LastRSS (http://lastrss.oslab.net/), the PHP parser used by the script. It simply returns all the items within your feed I believe.

Sorry to get back so late....
Nothing wrong with what you wrote, I just typed it in wrong while editing.

Well, I would love to be able to set the no. of items. Well this scroller just may be too limiting for me. I may have to try out the rss box or something like that when I have time.
Cheers

ddadmin
01-11-2008, 11:46 PM
Again, there's always gAjax RSS scroller (http://www.dynamicdrive.com/dynamicindex18/gajaxpausescroller.htm) :)