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:
19 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 84
s.baryshev.aoasp: 64
Freedom: 61
MediFormatica: 49
B8europe: 47
saviulisse67: 45
Member Stats:
Guest Posters: 338
Members: 2634
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1535
Posts: 7754
Newest Members:
florian.stickel, t.schleiser, worldnetsites, janodamek, socialbiz4themasses, suren.manvelyan.svAdministrators: CyberSEO: 3676