Quote:
Originally Posted by Mellow
I'd like to know this too as I only want a few news posts per day.
Joe
Would changing this:
for($j = count($rss_allItems) - 1; $j >= 0; $j--) {
to this work:
for($j = 10 - 1; $j >= 0; $j--) {
???????
Joe
|
ya, that looks like the code you would edit. then you only make your script run once every 24 hours in the cron job. and for the code you posted, you would get 10 news articles a day.