2:07 pm
December 17, 2022
Hi,
This is just a suggestion for your consideration. I noticed in the log that for the feeds where I enabled full text extracts the script would first get the full text then do the duplicate and then skip the feed item.
Login to see the quote
Performance wise, that's no big deal. It takes 1 second to complete the step. It may add up though. Suppose I'm checking the feed for 10 articles (my default) and most or all of them will be duplicates. That's 8-9 extra seconds. If this check is for multiple feeds on this run, say 4 feeds, then this is adding 30-40 seconds, which again is no big deal but still helps with timeouts.
Performance aside, the full text extract is an external script called by CyberSEO, so having less calls to a 3rd party script would definitely improve the stability of the product.
I'm not sure if it is the same for user-defined PHP code. Would also be great to check for duplicates before determining whether the code should run.
Login to see the quote
Anyway, its just a thought I had. Of course your code may be dependent on the full text extract for the duplicate check, in which case this suggestion wouldn't be applicable.
The Full-Text RSS script gets galled before custom PHP script, which needs an access to the extracted article in order to allow you to modify it. Your custom PHP script may modify not just the article itself, but also it's title and even it's GUID which is necessary in some cases.
Thus only after the PHP script has execution, the plugin can do a duplicate check based on the post title and it's GUID which can be modified after the full text extraction.
I think I can add a check for the PHP code contents and and if it's empty I can do a duplication check before the Full-Text RSS script, but I need to check the code first to be sure it won't hurt any other processes.
2:59 pm
December 17, 2022
5:35 pm
December 17, 2022
Most Users Ever Online: 541
Currently Online:
9 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: 2853
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1640
Posts: 8352
Newest Members:
wanmarkets, torontomark48, info.ckmedianetwork, contact.mybeautystar, samuelbodde, john.prushAdministrators: CyberSEO: 3947