Support » Plugin: FeedWordPress » Limiting number of feed items per day

  • Resolved eloiterman


    I would like to limit the number of feed entrees into post to be limited to the last two entries each day or at least be able to set the number of items imported to two per day.

    Does this feature exist, if not how might I implement this?

Viewing 1 replies (of 1 total)
  • Plugin Author C. Johnson


    Hi there, thanks for your question. This feature is not currently built in to the FeedWordPress core code.

    You could implement a feature like this, but it would take some PHP coding to create an add-on that customizes FeedWordPress’s behavior.

    There already is an experimental add-on that I wrote for FeedWordPress several years ago which may allow you to do something like what you’re looking to do. However, as a warning, (1) the code is old and hasn’t been tested with recent versions of WordPress or FeedWordPress; so proceed with caution and keep backups of everything; (2) the problems that the add-on was attempting to solve are potentially a bit different from the problem that you are trying to solve, so the match may not be perfect. But, here it is: (to install, use the green “Clone or Download” button, and choose “Download ZIP”; then upload the contents of that ZIP file to your wp-content/plugins directory, and activate the add-on from the WordPress interface under Plugins > Installed Plugins). It will create a new settings panel under Syndication > Feeds & Updates, which should allow you to exercise a bit more control over rate-limiting the incoming posts from the feed.

    If you’re relatively comfortable with PHP coding and the module doesn’t do quite what you want, then hopefully the techniques used in the code should help you to get an idea of what you would need to customize in order to get the more precise behavior you’re looking for. Or, if that’s not something you’re familiar or comfortable with, drop me a line through and we can talk over whether it would be possible to get the feature implemented for you.

Viewing 1 replies (of 1 total)
  • The topic ‘Limiting number of feed items per day’ is closed to new replies.