





6:13 am

Basically I need the script to ignore feeds "from the past".
The problem:
I save the feed items with post status "pending". Then I manually decide to change post status to "publish" or delete unwanted posts (also remove them from trash).
During the next cron run, CyberSEO pulls again items I was considering as unwanted = deleted. Means, I must delete same unwanted posts again and again.
I thought of 2 possible solutions:
1. The script should only evaluate the very first item in a feed, and then just exit, completely ignoring feed item#2/3 etc.
2. Evaluate feed item date: if the difference to current server time is higher then X, set $post to false. It of course depends if the feed item provides a date, therefore I highly prefer solution 1.
What would be a working solution?
Most Users Ever Online: 541
Currently Online:
52 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 86
harboot: 73
s.baryshev.aoasp: 68
Freedom: 61
Pandermos: 54
MediFormatica: 49
Member Stats:
Guest Posters: 337
Members: 3019
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1710
Posts: 8816
Newest Members:
hanrayindzayn2024, contato.cezar.vieira, zarata.stz, kravproton, vipulmediaworks, braibantjulienAdministrators: CyberSEO: 4151