ioanas
Forum Replies Created
-
Thank you for your assistance regarding these inquiries!
It has been helpful.Oh, I see.
As a clarification on how I understand the plugin’s settings and their effect, the limit placed on WP Admin -> RSS Aggregator -> Settings -> Limit feed items stored per feed, respectively on each feed source, when it takes effect, if this is how the plugin currently works?
I thought that this limit is used to keep only the latest X imported items for each feed. By setting this limit, I could store feeds items for the last, let’s say, 4 days.Considering that this is how the plugin works and that you mentioned customisation of this default behaviour, I’d really like to be able to tell apart the imported items per day when fetching. How can I accomplish this, when the manual / scheduled fetch is running?
I’ve checked for the presence of previously imported items. There are none in the Trash section.
While following this idea, that items might be in Trash, I noticed that the scheduled fetching acts as if there are already imported items when the day changes.
I’m importing feeds on a daily basis, currently set once at every 2 hours. After the 1st import for today, I’m OK with the plugin skipping the items.However, tomorrow morning, when the scheduled fetch is running and the feed source has new content, the items are seen as already imported and the fetch skips them, although there are no items imported for today.
What the plugin detects as existing items and lists in WP Admin -> RSS Aggregator -> Feed Items, and what I can query on the database, are the imported items for the previous day.I’ve set the feeds to a limit 4 times greater than the actual number of items I need to be stored for each feed, but it seems this has nothing to do with this behaviour for the scheduled fetching.
Also, with yesterday’s items imported, the manual fetch also does not import items for today.
How can I overcome this issue for fetching items for today, when there are imported ones for the previous day(s)?
I’m insisting on this because it’s one of the last steps in the implementation I’m working on.Thank you for your feedback, it’s very helpful!
For the moment, is exactly what I needed.An extra question, do you have any idea why this is happening?
In WP Admin -> RSS Aggregator -> Tools -> Logs tab -> Debug tab, I get messages like “Item X already exists in the database”, then it’s skipped from importing, on the scheduled fetching.
But in WP Admin -> RSS Aggregator -> Feed Items, I don’t see that item, I can’t find it in database ( either by WP Query, either by manually querying the posts / postmeta tables ).
And this is happening for all the scheduled fetching, not to the manual fetching.Thank you for your feedback!
As part of integrating the feeds data, I need to automatically check when the feeds have successfully finished importing and then continue the integration.
Checking this on RSS Aggregator > Feed Sources is good for a manual approach, but I need to make this programmatically, from a function in WP theme’s function.php file.
More exactly, I need to bind one of my functions to WP RSS Aggregator importing functionality and when the feeds have successfully finished importing, then create a new page. I already have done this part, creating a new page, but I need to bind it to WP RSS feeds successfully importing data, either by manually fetch or by scheduled fetch.
To what WP RSS Aggregator action / filter can I hook on to achieve this?
- This reply was modified 5 years, 1 month ago by ioanas.