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:
12 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 84
s.baryshev.aoasp: 68
Freedom: 61
Pandermos: 54
MediFormatica: 49
B8europe: 48
Member Stats:
Guest Posters: 337
Members: 2855
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1641
Posts: 8356
Newest Members:
samuel2288, comercios.cercademi, wanmarkets, torontomark48, info.ckmedianetwork, contact.mybeautystarAdministrators: CyberSEO: 3949