Hey Nick,
I have problem with the posts. I am getting submitted the same post many times.. This is not really good, specially about SEO!
As I see in the code (run.php):
// max days to check for feed items.
$numberOfDays = $lnx_lifestream_options['feeddbsize'];
$numberOfDaysInSeconds = ($numberOfDays*24*60*60);
$expireDate = time() - $numberOfDaysInSeconds;
and then:
$keys = array_keys($savedItems);
foreach($keys as $key)
{
if($savedItems[$key]['date'] < $expireDate)
{
unset($savedItems[$key]);
}
}
What means that every post which is newer than my 'feeddbsize' (20 days) will be submitted again and again.. and it is! I have the same posts repeated up to 8 times even if I delete them manually, so I have disabled the cron untill this is resolved.
Please let me know if I am in wrong. But that's how I see it.
In my opinion this option 'feeddbsize' is not necessary. On it's place you should save the last update time(), and compare with it.
if($savedItems[$key]['date'] < $lastUpdate){
unset($savedItems[$key]);
}
However you know better your code.. I hope there will be solution for that.
Cheers,
Nick