• Resolved abkabk

    (@abkabk)


    Here is how you can reproduce the issue;

    1. In Settings, set ‘Limit feed items stored by age’ = 3 days.

    2. Add a feed source. For ease of testing, choose a feed source that updates infrequently, once a day or so. Assuming the feed source publishes one article a day, the feed shortcode will import 3 items.

    3. Now change the ‘Limit feed items stored by age’ = 20 days.

    4. Go to Feed Sources and click update.

    5. The shortcode for this feed should now show items since last 20 days. However, it still shows only 3 items and does not show older items.

    Note 1: The ‘Limit’ setting in feed source is set to ‘Default’ (global setting).

    Note 2: Tested using ‘List’ template.

    To confirm this bug;

    1. Delete the previously added feed source.

    2. Add the same feed source again as a new feed source.

    3. Now it imports items since last 20 days.

    In other words, the changes to ‘Limit feed items stored by age’ setting takes effect only for new feeds (added after the setting change), and has no effect on existing feeds.

    • This topic was modified 4 years, 11 months ago by abkabk.
    • This topic was modified 4 years, 11 months ago by abkabk.
    • This topic was modified 4 years, 11 months ago by abkabk.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Miguel Muscat

    (@mekku)

    Hi @abkabk

    Thanks for the detailed report – it really helps!

    In step 4 you said you updated the feed source. Was that done through the “Edit Feed Source” page by clicking the “Update” button or from the list page and clicking the “Fetch items” link that appears when you hover your mouse over the feed source?

    Thread Starter abkabk

    (@abkabk)

    Hi Miguel @mekku

    In step 4, I went to;

    Feed Sources page > Hovered over a feed source > clicked on ‘edit’ link displayed below the feed source name > clicked ‘Update’ button

    Additional Information:

    After changing the global setting ‘Limit feed items stored by age’ from 3 days to 20 days, the ‘Feed Preview’ on individual feed source does show older items as specified in global setting.

    However, the shortcode with ‘Feed ID” placed on page doesn’t render the older items.

    But when you delete the feed source and add the same feed source again (it generates a new feed id), the shortcode with new ‘Feed ID’ renders items as specified in global setting.

    Plugin Author Miguel Muscat

    (@mekku)

    Thanks for clarifying @abkabk.

    The plugin will only bring in the remaining 17 items on the next fetch. Updating the feed source by editing it and clicking “Update” is not guaranteed to fetch the items. It simply saves its settings. Specifically, if the feed source does not use the global update interval, it will not fetch when it’s updated.

    To trigger a fetch, you can hover over the feed source in the Feed Sources list page and click on “Fetch items” (or “Fetch posts” if you’re using the Feed to Post addon).

    Thread Starter abkabk

    (@abkabk)

    Thanks Miguel @mekku. That solution is not working.

    I somehow missed something so obvious. Here is what seems to be happening…

    In global settings, when you set ‘Limit feed items stored by age’ = 3 days, this setting automatically propagates to the individual feed source pages, which can be seen under ‘Feed Processing’ settings.

    Here you can see ‘Delete feed items older than: 3 days

    Now when you change the global setting ‘Limit feed items stored by age’ = 20 days, this new setting / data is not propagating to the individual feed source pages.

    Individual feed source pages still show ‘Delete feed items older than: 3 days

    When you manually change this to 20 days (on feed source page) and update the feed source, the shortcode successfully renders older items as specified in settings.

    ‘Delete feed items older than’ field is not fetching the updated data from ‘Limit feed items stored by age’ global settings as default value.

    On semantics, to avoid possible confusion, since ‘Delete feed items older than’ field is exactly same as ‘Limit feed items stored by age’, both these fields should have same name IMHO.

    Plugin Author Miguel Muscat

    (@mekku)

    You’re right @abkabk! This should not be happening, so it looks like a bug that’s causing feed sources without their own limit to get the global option. Thanks for the reporting this.

    We’ll make sure to fix this behavior for the next version and improve the option names for more clarity.

    Plugin Author Mark Zahra

    (@markzahra)

    @abkabk can you please confirm whether the latest update has fixed this for you?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘BUG: Changes to ‘Limit feed items stored by age’ Not Working’ is closed to new replies.