Limited number of lines in RSS-Feed

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
DrubusCulubus
Posts: 47
Joined: Sat 10. Apr 2004, 12:53
Location: NL

Limited number of lines in RSS-Feed

Post by DrubusCulubus »

Hi y'all,

Does anyone know where and/or how I can limit the number of lines in de RSS-Feed? I use the PHPWCMS script as a newsscript (YES, it does work! :) ) but the number of newsitems is now running to 400 and the RSS Feed makes over time.

I hope that some one can help... Thanks in advance!

Cheers Drubus
http://qoala.nl - Nieuws om op te reageren!
passie
Posts: 14
Joined: Fri 27. Aug 2004, 16:12
Location: Netherlands

Post by passie »

you could use this script

http://www.phpwcms.de/forum/viewtopic.php?t=3362

and make a while loop in it like

Code: Select all

 while($i<3){
          $row .= @fgets($fp, 4096);
$i++
}
hope this helps


greetz,

passie
Jenpet
Posts: 74
Joined: Fri 6. Feb 2004, 15:43

Post by Jenpet »

for me the script from passie do not work....

isn't it posible to edit the rss.php-script from oliver.... ?
Post Reply